#include <MyContTransfDialog.h>
Public Types | |
enum | { IDD = IDD_CONTTRANSFDIALOG } |
Public Methods | |
void | GetContProp (int index, ContTransfProp &prop) |
Returns continuous streamline properties in min,inter or max-position. | |
void | SetContProp (int index, ContTransfProp &prop) |
Sets continuous streamline properties in min,inter or max-position. | |
void | SetOpacity (int index, GLubyte opacity) |
Sets continuous opacity in min,inter or max-position. | |
GLubyte | GetOpacity (int index) |
Returns continuous opacity in min,inter or max-position. | |
int | GetRes (int index) |
Returns continuous streamline resolution in min,inter or max-position. | |
void | SetRes (int index, int res) |
Sets continuous streamline resolution in min,inter or max-position. | |
void | GetRGBA (int index, GLubyte *rgba) |
Returns continuous streamline color in min, inter or max-position. | |
void | SetRGBA (int index, GLubyte *rgba) |
Sets continuous streamline color in min, inter or max-position. | |
void | SetInterPos (float interPos) |
Sets intermediate properties position. | |
float | GetInterPos () |
Returns intermediate properties position. | |
MyContTransfDialog (CWnd *pParent=NULL) | |
Standard constructor. | |
Static Public Methods | |
void | MapValue2Prop_3 (ContTransfProp &result, float value, ContTransfProp *props, float *pos) |
Maps scalar value to property of transfer function with two defining points. | |
void | MapValue2Prop (ContTransfProp &result, float value, ContTransfProp *props, float *pos) |
Maps scalar value to property of transfer function with two defining points. | |
Public Attributes | |
MyHisto1Dialog | m_Histo1Dialog |
Histogram dialog. | |
MyContTransfPropDialog | m_PropDialog [DEF_CONTTRANSFVALUES_NUM] |
Continuous streamline properties in min, inter and max-position. | |
int | m_MiddleValue |
int | m_InterPos |
Protected Methods | |
virtual void | DoDataExchange (CDataExchange *pDX) |
virtual BOOL | OnInitDialog () |
afx_msg void | OnPaint () |
afx_msg void | OnReleasedCaptureInterPosSlider (NMHDR *pNMHDR, LRESULT *pResult) |
afx_msg void | OnMinPosButton () |
afx_msg void | OnInterPosButton () |
afx_msg void | OnMaxPosButton () |
afx_msg void | OnHistoButton () |