#include <MyHisto1Dialog.h>
Public Methods | |
void | DrawContTransfHisto () |
Draws histogram for continuous transfer function scalar representation. | |
void | DrawRegHisto () |
Draws histogram for scalar regions representation. | |
void | SetHistoData (CHistoData *histoData) |
Sets histogram data. | |
MyHisto1Dialog (CWnd *pParent=NULL) | |
Standard constructor. | |
Static Public Methods | |
void | MapValue2Color_3 (GLubyte *rgba, GLubyte *minRGBA, GLubyte *middleRGBA, GLubyte *maxRGBA, float value, float minValue, float middlePos, float maxValue) |
Maps scalar value to color of transfer function with three defining points. | |
void | MapValue2Color (GLubyte *rgba, GLubyte *minRGBA, GLubyte *maxRGBA, float value, float minValue, float maxValue) |
Maps scalar value to color of transfer function with two defining points. | |
Public Attributes | |
CHistoData * | m_HistoData |
Histogram data. | |
ContTransfProp | m_ContProp [DEF_CONTTRANSFVALUES_NUM] |
Continuous transfer function properties. | |
bool | m_IsRegions |
Flag which indicates that scalar region are used. | |
int | m_BarColors [DEF_REGIONS_NUM+1] |
Color of histogram bars in scalar regions representation. | |
float | m_Pos [DEF_REGIONS_NUM+1] |
Region position values in scalar regions representation. | |
float | m_InterPos |
Intermediate properties position in continuous transfer function. | |
Protected Methods | |
virtual void | DoDataExchange (CDataExchange *pDX) |
afx_msg void | OnPaint () |