TFDialog Class Reference

#include <TFDialog.h>

List of all members.

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]
XYViewxy_view_
XZViewxz_view_
YZViewyz_view_
VolumeLoadervolume_loader_
Volumevol_
bool used_for_slices

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
virtual BOOL OnInitDialog ()


Member Enumeration Documentation

anonymous enum

Enumerator:
IDD 


Constructor & Destructor Documentation

TFDialog::TFDialog ( CWnd *  pParent = NULL  ) 

TFDialog::~TFDialog (  )  [virtual]


Member Function Documentation

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

Parameters:
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]


Member Data Documentation

COLORREF TFDialog::color

CColorButton TFDialog::color_del

CColorDialog TFDialog::color_dlg_

CColorButton TFDialog::color_next

CColorButton TFDialog::color_pre

CColorButton TFDialog::color_prev

COLORREF TFDialog::def_color[TFWIDTH]

float TFDialog::histogram_[TFWIDTH]

Float_Color TFDialog::theColor

bool TFDialog::used_for_slices

Volume* TFDialog::vol_

VolumeLoader* TFDialog::volume_loader_

XYView* TFDialog::xy_view_

XZView* TFDialog::xz_view_

YZView* TFDialog::yz_view_


The documentation for this class was generated from the following files:
Generated on Wed Dec 6 11:27:27 2006 by  doxygen 1.4.7