TraFuDialog Class Reference

Derived class to customize Transfer Function dialog. More...

#include <trafu_dialog.h>

Collaboration diagram for TraFuDialog:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 TraFuDialog (wxWindow *parent, TraFuData *data, const HistogramData *histogramdata)
 Constructor.

Public Attributes

TraFuDatam_data
 Pointer to central Transfer Function data storage.

Protected Member Functions

Event handlers
void OnSaveTF (wxCommandEvent &event)
void OnLoadTF (wxCommandEvent &event)
void OnTFReset (wxCommandEvent &event)
void OnTraFuChanged (const wxTransferFunctionEvent &event)

Private Member Functions

void UpdateVolumeCanvas ()


Detailed Description

Derived class to customize Transfer Function dialog.

Definition at line 8 of file trafu_dialog.h.


Constructor & Destructor Documentation

TraFuDialog::TraFuDialog ( wxWindow *  parent,
TraFuData data,
const HistogramData histogramdata 
) [inline]

Constructor.

Definition at line 13 of file trafu_dialog.h.


Member Function Documentation

void TraFuDialog::OnSaveTF ( wxCommandEvent &  event  )  [protected]

Definition at line 24 of file trafu_dialog.cpp.

References m_data, TraFuData::save_file(), and ShowError().

void TraFuDialog::OnLoadTF ( wxCommandEvent &  event  )  [protected]

Definition at line 43 of file trafu_dialog.cpp.

References TraFuData::load_file(), m_data, and ShowError().

void TraFuDialog::OnTFReset ( wxCommandEvent &  event  )  [protected]

Definition at line 63 of file trafu_dialog.cpp.

References TraFuData::Init(), m_data, and UpdateVolumeCanvas().

void TraFuDialog::OnTraFuChanged ( const wxTransferFunctionEvent event  )  [protected]

Definition at line 70 of file trafu_dialog.cpp.

References UpdateVolumeCanvas().

void TraFuDialog::UpdateVolumeCanvas (  )  [private]

Definition at line 75 of file trafu_dialog.cpp.

References FlowVisFrame::OnTraFuChanged().

Referenced by OnTFReset(), and OnTraFuChanged().


Member Data Documentation

Pointer to central Transfer Function data storage.

Definition at line 22 of file trafu_dialog.h.

Referenced by OnLoadTF(), OnSaveTF(), and OnTFReset().


The documentation for this class was generated from the following files:

Generated on Wed Jan 21 16:22:24 2009 for FlowVis by  doxygen 1.5.6