June 3rd, 2013, 07:40 AM
How to draw a 2D array of data in MFC
I have a circle of data that is represented as:
vector<vector <unsigned char> >* data;
The first dimension of this vector is the angle of the data so there are 360 angles, and the second dimension is the bins of the data in which there are 512 bins per angle. Each bin has a value from 0 to 15 to determine the intensity of the bin. So basically, when this is all display, there will be a circle of data, with varying colors of intensity at each bin.
What is the best approach to doing this in MFC? Can anyone provide sample code on how they would draw this on the screen?
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!