#include <MyEditRegionsDialog.h>
Public Types | |
enum | { IDD = IDD_EDITREGIONSDIALOG } |
Public Methods | |
void | SetDefaultProp (RegProp &prop) |
Sets default region properties. | |
void | SetRegProp (int index, RegProp &prop) |
Sets region properties for region with specified index. | |
void | GetRegProp (int index, RegProp &prop) |
Returns region properties for region with specified index. | |
void | SetMaterial (int index, CStreamlineMaterial material) |
Sets region material for region with specified index. | |
CStreamlineMaterial | GetMaterial (int index) |
Returns region material for region with specified index. | |
void | SetRegionPos (int index, float pos) |
Sets region start position for region with specified index. | |
float | GetRegionPos (int index) |
Returns region start position for region with specified index. | |
int | GetRes (int index) |
Returns resolution of region with specified index. | |
void | SetRes (int index, int res) |
Sets resolution of region with specified index. | |
MyEditRegionsDialog (CWnd *pParent=NULL) | |
Static Public Methods | |
int | MapValue2PropNr (RegProp *prop, int maxIndex, float value, float minValue, float maxValue) |
Maps scalar value to region index. | |
Public Attributes | |
MyRegPropDialog | m_RegPropDialog [DEF_REGIONS_NUM] |
Region properties dialogs. | |
MyHisto1Dialog | m_Histo1Dialog |
Histogram dialog. | |
RegProp | m_DefaultProp |
int | m_Region2 |
int | m_Region3 |
int | m_Region4 |
int | m_Region5 |
int | m_Region1 |
Protected Methods | |
virtual void | DoDataExchange (CDataExchange *pDX) |
afx_msg void | OnPaint () |
virtual BOOL | OnInitDialog () |
afx_msg void | OnReleasedcaptureRegion1slider (NMHDR *pNMHDR, LRESULT *pResult) |
afx_msg void | OnReleasedcaptureRegion2slider (NMHDR *pNMHDR, LRESULT *pResult) |
afx_msg void | OnReleasedcaptureRegion3slider (NMHDR *pNMHDR, LRESULT *pResult) |
afx_msg void | OnReleasedcaptureRegion4slider (NMHDR *pNMHDR, LRESULT *pResult) |
afx_msg void | OnReleasedcaptureRegion5slider (NMHDR *pNMHDR, LRESULT *pResult) |
afx_msg void | OnHistoButton () |
afx_msg void | OnPropReg1Button () |
afx_msg void | OnPropReg2Button () |
afx_msg void | OnPropReg3Button () |
afx_msg void | OnPropReg4Button () |
afx_msg void | OnPropReg5Button () |