Main Page   Class Hierarchy   Compound List   File List   Compound Members  

MyHisto1Dialog Class Reference

Histogram dialog used for setting scalar representation. More...

#include <MyHisto1Dialog.h>

List of all members.

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

CHistoDatam_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 ()


Detailed Description

Histogram dialog used for setting scalar representation.


The documentation for this class was generated from the following files:
Generated on Fri Aug 9 10:12:40 2002 by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002