#include <TFDialog.h>
Public Types | |
IDD = IDD_DIALOG_TF | |
enum | { IDD = IDD_DIALOG_TF } |
Public Member Functions | |
TFDialog (CWnd *pParent=NULL) | |
virtual | ~TFDialog () |
void | isTFUsedForSlices (bool val) |
void | OnHScroll (UINT nSBCode, UINT nPos, CScrollBar *pScrollBar) |
void | drawHistogram () |
void | drawLine (HDC hdc, CRect aBox, int x, RGBAColor aColStart, RGBAColor aColEnd, bool isOpacity) |
afx_msg void | OnBnClickedButtonColor () |
afx_msg void | OnBnClickedButtonColorUpdate () |
afx_msg void | OnBnClickedOpacity () |
afx_msg void | OnBnClickedColorRemove () |
afx_msg void | OnBnClickedOpacityRemove () |
afx_msg void | OnEnChangeIntensityBox () |
afx_msg void | OnBnClickedButtonPrevIntensityMarker () |
afx_msg void | OnBnClickedButtonNextIntensityMarker () |
afx_msg void | OnBnClickedButtonDelIntensityMarker2 () |
Public Attributes | |
CColorDialog | color_dlg_ |
CColorButton | color_pre |
CColorButton | color_next |
CColorButton | color_prev |
CColorButton | color_del |
COLORREF | def_color [TFWIDTH] |
COLORREF | color |
Float_Color | theColor |
float | histogram_ [TFWIDTH] |
XYView * | xy_view_ |
XZView * | xz_view_ |
YZView * | yz_view_ |
VolumeLoader * | volume_loader_ |
Volume * | vol_ |
bool | used_for_slices |
Protected Member Functions | |
virtual void | DoDataExchange (CDataExchange *pDX) |
virtual BOOL | OnInitDialog () |
TFDialog::TFDialog | ( | CWnd * | pParent = NULL |
) |
TFDialog::~TFDialog | ( | ) | [virtual] |
void TFDialog::DoDataExchange | ( | CDataExchange * | pDX | ) | [protected, virtual] |
void TFDialog::drawHistogram | ( | ) |
draws the graph showing the color- and opacitytransfer
void TFDialog::drawLine | ( | HDC | hdc, | |
CRect | aBox, | |||
int | x, | |||
RGBAColor | aColStart, | |||
RGBAColor | aColEnd, | |||
bool | isOpacity | |||
) |
draws a vertical line at given positions
hdc | the drawing context | |
aBox | the box to draw in | |
x | the horizontal position of the line | |
aColStart | start the line from this color | |
aColEnd | end the line before this color | |
isOpacity | indicates that the line should be painted in gray |
void TFDialog::isTFUsedForSlices | ( | bool | val | ) |
void TFDialog::OnBnClickedButtonColor | ( | ) |
void TFDialog::OnBnClickedButtonColorUpdate | ( | ) |
void TFDialog::OnBnClickedButtonDelIntensityMarker2 | ( | ) |
resets the color transfer
void TFDialog::OnBnClickedButtonNextIntensityMarker | ( | ) |
sets the intensity position to the next marker
void TFDialog::OnBnClickedButtonPrevIntensityMarker | ( | ) |
sets the intensity position to the previous marker
void TFDialog::OnBnClickedColorRemove | ( | ) |
void TFDialog::OnBnClickedOpacity | ( | ) |
void TFDialog::OnBnClickedOpacityRemove | ( | ) |
void TFDialog::OnEnChangeIntensityBox | ( | ) |
void TFDialog::OnHScroll | ( | UINT | nSBCode, | |
UINT | nPos, | |||
CScrollBar * | pScrollBar | |||
) |
BOOL TFDialog::OnInitDialog | ( | ) | [protected, virtual] |
COLORREF TFDialog::color |
CColorDialog TFDialog::color_dlg_ |
COLORREF TFDialog::def_color[TFWIDTH] |
float TFDialog::histogram_[TFWIDTH] |