FlowVisFrame Class Reference

Main GUI Frame. More...

#include <flowvis_frame.h>

Collaboration diagram for FlowVisFrame:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 FlowVisFrame (wxWindow *parent)
 Common Constructor.
void OnTraFuChanged ()
 Transfers the currently specified transfer function to the canvas.

Protected Member Functions

Event handlers for wxWidgets events
void OnExit (wxCommandEvent &event)
void OnOpen (wxCommandEvent &event)
void OnBGOpenTraFu (wxCommandEvent &event)
void OnBGComboChange (wxCommandEvent &event)
void OnChangeNrArrows (wxSpinEvent &event)
void OnArrowOpenTraFu (wxCommandEvent &event)
void OnPlotSettingsChange (wxCommandEvent &event)
void OnSLPlotSettingsChange (wxCommandEvent &event)
void OnAbout (wxCommandEvent &event)
void OnSLColorChange (wxColourPickerEvent &event)
void OnGlyphDensitChanged (wxScrollEvent &event)
void OnApplyCalcSettings (wxCommandEvent &event)
void OnSave (wxCommandEvent &event)

Private Member Functions

void SyncUI ()
 Syncroize the user Interface with the current settings and state.
void TransferSLPlotSettings ()
 Inform the canvas about the current Streamline Plot Settings.
void TransferCalcSettings ()
 Inform the canvas about the current Streamline Calculation Settings.

Private Attributes

FlowVisCanvasm_flowcanvas
 OpenGL Canvas for visualization.
std::auto_ptr< FlowVisDatam_data
 Pointer to the data that is to be visualized.
std::vector< TraFuDatam_trafu_datas
 Vector of all existing transfer functions.
int m_current_set
bool m_arrows_enabled


Detailed Description

Main GUI Frame.

Definition at line 9 of file flowvis_frame.h.


Constructor & Destructor Documentation

FlowVisFrame::FlowVisFrame ( wxWindow *  parent  ) 

Common Constructor.

Definition at line 38 of file flowvis_frame.cpp.

References m_flowcanvas, SyncUI(), TransferCalcSettings(), and TransferSLPlotSettings().


Member Function Documentation

void FlowVisFrame::OnTraFuChanged (  ) 

Transfers the currently specified transfer function to the canvas.

Definition at line 155 of file flowvis_frame.cpp.

References m_current_set, m_flowcanvas, m_trafu_datas, and FlowVisCanvas::UpdateTransferFunction().

Referenced by OnBGComboChange(), OnOpen(), and TraFuDialog::UpdateVolumeCanvas().

void FlowVisFrame::OnExit ( wxCommandEvent &  event  )  [protected]

Definition at line 62 of file flowvis_frame.cpp.

void FlowVisFrame::OnOpen ( wxCommandEvent &  event  )  [protected]

void FlowVisFrame::OnBGOpenTraFu ( wxCommandEvent &  event  )  [protected]

Definition at line 134 of file flowvis_frame.cpp.

References m_current_set, and m_trafu_datas.

void FlowVisFrame::OnBGComboChange ( wxCommandEvent &  event  )  [protected]

void FlowVisFrame::OnChangeNrArrows ( wxSpinEvent &  event  )  [protected]

Definition at line 161 of file flowvis_frame.cpp.

References m_flowcanvas, and FlowVisCanvas::SetArrows().

void FlowVisFrame::OnArrowOpenTraFu ( wxCommandEvent &  event  )  [protected]

Definition at line 166 of file flowvis_frame.cpp.

void FlowVisFrame::OnPlotSettingsChange ( wxCommandEvent &  event  )  [protected]

void FlowVisFrame::OnSLPlotSettingsChange ( wxCommandEvent &  event  )  [protected]

Definition at line 198 of file flowvis_frame.cpp.

References m_flowcanvas, and TransferSLPlotSettings().

void FlowVisFrame::OnAbout ( wxCommandEvent &  event  )  [protected]

Definition at line 176 of file flowvis_frame.cpp.

void FlowVisFrame::OnSLColorChange ( wxColourPickerEvent &  event  )  [protected]

Definition at line 192 of file flowvis_frame.cpp.

References m_flowcanvas, and TransferSLPlotSettings().

void FlowVisFrame::OnGlyphDensitChanged ( wxScrollEvent &  event  )  [protected]

Definition at line 186 of file flowvis_frame.cpp.

References m_flowcanvas, and TransferSLPlotSettings().

void FlowVisFrame::OnApplyCalcSettings ( wxCommandEvent &  event  )  [protected]

void FlowVisFrame::OnSave ( wxCommandEvent &  event  )  [protected]

Definition at line 276 of file flowvis_frame.cpp.

References m_flowcanvas, and FlowVisCanvas::RenderToFile().

void FlowVisFrame::SyncUI (  )  [private]

Syncroize the user Interface with the current settings and state.

Definition at line 100 of file flowvis_frame.cpp.

References m_current_set, m_data, and m_trafu_datas.

Referenced by FlowVisFrame(), and OnOpen().

void FlowVisFrame::TransferSLPlotSettings (  )  [private]

void FlowVisFrame::TransferCalcSettings (  )  [private]

Inform the canvas about the current Streamline Calculation Settings.

Definition at line 220 of file flowvis_frame.cpp.

References m_flowcanvas, FlowVisCanvas::SetDsep(), FlowVisCanvas::SetDtest(), FlowVisCanvas::SetIntegType(), FlowVisCanvas::SetMaxIter(), and FlowVisCanvas::SetStepSize().

Referenced by FlowVisFrame(), and OnApplyCalcSettings().


Member Data Documentation

std::auto_ptr<FlowVisData> FlowVisFrame::m_data [private]

Pointer to the data that is to be visualized.

Definition at line 49 of file flowvis_frame.h.

Referenced by OnOpen(), and SyncUI().

std::vector<TraFuData> FlowVisFrame::m_trafu_datas [private]

Vector of all existing transfer functions.

Definition at line 52 of file flowvis_frame.h.

Referenced by OnBGOpenTraFu(), OnOpen(), OnTraFuChanged(), and SyncUI().

Definition at line 54 of file flowvis_frame.h.

Referenced by OnBGComboChange(), OnBGOpenTraFu(), OnTraFuChanged(), and SyncUI().

Definition at line 55 of file flowvis_frame.h.


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