Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

vuSimpleFVRDialog Class Reference

A sub viewer. More...

#include <vuSimpleFVRDialog.h>

Inheritance diagram for vuSimpleFVRDialog:

Inheritance graph
[legend]
Collaboration diagram for vuSimpleFVRDialog:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 vuSimpleFVRDialog (wxWindow *parent)
 ~vuSimpleFVRDialog ()
void setFourierVolume (vuFourierVolume1 *volume)
 Sets the fourier volume which will be compared to the FVR.
void setFourierFilter (vuFourierFilter *filter)
 Sets the fourier filter.
void setCamera (vuCamera *camera)
 Sets the camera.
bool Show (bool flag=true)

Protected Member Functions

vuBasicSubViewerCanvasgetCanvas ()
 returns an instance of vuSimpleFVRCanvas
void addLeftRight (wxSizer *sizer, wxWindow *control)
void OnButtonLoadFile (wxCommandEvent &event)
 load file button callback
void OnButtonCloseFile (wxCommandEvent &event)
 close file button callback
void OnChoiceMethod (wxCommandEvent &event)
 render method choice callback
void OnClose (wxCloseEvent &event)
 windows close callback
void OnButtonEqualSize (wxCommandEvent &event)
 equal size button callback
void OnSize (wxSizeEvent &event)
 window resizing callback
void OnButtonFitScaleAndBias (wxCommandEvent &event)
 fit scale and bias button callback
void OnCheckboxAutoScaleAndBias (wxCommandEvent &event)
 auto scale and bias checkbox callback
void OnSliderImageScale (wxScrollEvent &event)
 image scale callback

Protected Attributes

vuSimpleFVRCanvasm_Canvas
 wxWindows GUI
wxChoice * m_CHOICEmethod
wxButton * m_BUTTONcloseFile
wxCheckBox * m_CHECKBOXautoScaleAndBias
wxButton * m_BUTTONfitScaleAndBias
wxSlider * m_SLIDERimageScale
wxSlider * m_SLIDERimageBias
vu1112119m_FVR
 the simple FVR
vuFourierFilterm_FourierFilter
vuCameram_Camera

Detailed Description

A sub viewer.

Definition at line 17 of file vuSimpleFVRDialog.h.


Constructor & Destructor Documentation

vuSimpleFVRDialog::vuSimpleFVRDialog wxWindow *  parent  ) 
 

Definition at line 42 of file vuSimpleFVRDialog.cpp.

References idCANVAS.

vuSimpleFVRDialog::~vuSimpleFVRDialog  ) 
 

Definition at line 52 of file vuSimpleFVRDialog.cpp.

References CHECKNDELETE, m_BUTTONcloseFile, m_BUTTONfitScaleAndBias, m_Camera, m_Canvas, m_CHECKBOXautoScaleAndBias, m_FourierFilter, m_FVR, m_SLIDERimageBias, m_SLIDERimageScale, NULL, and vuSimpleFVRCanvas::setFVR().

Here is the call graph for this function:


Member Function Documentation

void vuSimpleFVRDialog::addLeftRight wxSizer *  sizer,
wxWindow *  control
[protected, virtual]
 

adds all UI control elements that should appear to the left or to the right of the canvas (subclass responsibility)

Implements vuBasicSubViewer.

Definition at line 73 of file vuSimpleFVRDialog.cpp.

References idAUTOSCALEANDBIAS, idCLOSE, idEQUALSIZE, idFITSCALEANDBIAS, idIMAGEBIAS, idIMAGESCALE, idLOAD, idMETHOD, m_BUTTONcloseFile, m_BUTTONfitScaleAndBias, m_CHECKBOXautoScaleAndBias, m_CHOICEmethod, m_SLIDERimageBias, m_SLIDERimageScale, and NULL.

vuBasicSubViewerCanvas * vuSimpleFVRDialog::getCanvas  )  [protected, virtual]
 

returns an instance of vuSimpleFVRCanvas

Implements vuBasicSubViewer.

Definition at line 68 of file vuSimpleFVRDialog.cpp.

void vuSimpleFVRDialog::OnButtonCloseFile wxCommandEvent &  event  )  [protected]
 

close file button callback

Definition at line 277 of file vuSimpleFVRDialog.cpp.

References CHECKNDELETE, m_BUTTONcloseFile, m_Canvas, m_FVR, NULL, vuGLCanvas::redraw(), vuSimpleFVRCanvas::setFVR(), and WINDOW_TITLE.

Here is the call graph for this function:

void vuSimpleFVRDialog::OnButtonEqualSize wxCommandEvent &  event  )  [protected]
 

equal size button callback

Definition at line 286 of file vuSimpleFVRDialog.cpp.

References vuBasicSubViewer::makeCanvasSizeEqual().

Here is the call graph for this function:

void vuSimpleFVRDialog::OnButtonFitScaleAndBias wxCommandEvent &  event  )  [protected]
 

fit scale and bias button callback

Definition at line 298 of file vuSimpleFVRDialog.cpp.

References m_Canvas, and vuGLCanvas::redraw().

Here is the call graph for this function:

void vuSimpleFVRDialog::OnButtonLoadFile wxCommandEvent &  event  )  [protected]
 

load file button callback

Definition at line 220 of file vuSimpleFVRDialog.cpp.

References vuString::c_str(), CHECKNDELETE, vuGLCanvas::getHeight(), vuString::getLastPathComponent(), vuGLCanvas::getWidth(), vuFourierVolume< SIZE >::getXSize(), vuFourierVolume< SIZE >::getYSize(), vuFourierVolume< SIZE >::getZSize(), vu1112119::glResize(), m_BUTTONcloseFile, m_Camera, m_Canvas, m_FourierFilter, m_FVR, NULL, vuFourierVolume< SIZE >::readFourierFromFile(), vuGLCanvas::redraw(), vu1112119::setCamera(), vuFourierVolume< SIZE >::setFilter(), vuSimpleFVRCanvas::setFVR(), and vuFourierVolume< SIZE >::setWrap().

Here is the call graph for this function:

void vuSimpleFVRDialog::OnCheckboxAutoScaleAndBias wxCommandEvent &  event  )  [protected]
 

auto scale and bias checkbox callback

Definition at line 304 of file vuSimpleFVRDialog.cpp.

References m_BUTTONfitScaleAndBias, m_Canvas, m_CHECKBOXautoScaleAndBias, m_SLIDERimageBias, m_SLIDERimageScale, and vuGLCanvas::redraw().

Here is the call graph for this function:

void vuSimpleFVRDialog::OnChoiceMethod wxCommandEvent &  event  )  [protected]
 

render method choice callback

Definition at line 292 of file vuSimpleFVRDialog.cpp.

References m_Canvas, m_CHOICEmethod, vuGLCanvas::redraw(), and vuSimpleFVRCanvas::setRenderMethod().

Here is the call graph for this function:

void vuSimpleFVRDialog::OnClose wxCloseEvent &  event  )  [protected]
 

windows close callback

void vuSimpleFVRDialog::OnSize wxSizeEvent &  event  )  [protected]
 

window resizing callback

void vuSimpleFVRDialog::OnSliderImageScale wxScrollEvent &  event  )  [protected]
 

image scale callback

Definition at line 319 of file vuSimpleFVRDialog.cpp.

References m_Canvas, m_SLIDERimageScale, vuGLCanvas::redraw(), and vuSimpleFVRCanvas::setImageScale().

Here is the call graph for this function:

void vuSimpleFVRDialog::setCamera vuCamera camera  ) 
 

Sets the camera.

Definition at line 203 of file vuSimpleFVRDialog.cpp.

References m_Camera, m_FVR, and vu1112119::setCamera().

Here is the call graph for this function:

void vuSimpleFVRDialog::setFourierFilter vuFourierFilter filter  ) 
 

Sets the fourier filter.

Definition at line 197 of file vuSimpleFVRDialog.cpp.

References m_FourierFilter, m_FVR, and vuFourierVolume< SIZE >::setFilter().

Here is the call graph for this function:

void vuSimpleFVRDialog::setFourierVolume vuFourierVolume1 volume  ) 
 

Sets the fourier volume which will be compared to the FVR.

Definition at line 192 of file vuSimpleFVRDialog.cpp.

References m_Canvas, vuSimpleFVRCanvas::setFourierVolume(), and vuFourierVolume1.

Here is the call graph for this function:

bool vuSimpleFVRDialog::Show bool  flag = true  ) 
 

Definition at line 209 of file vuSimpleFVRDialog.cpp.

References m_Canvas, m_FVR, NULL, and vuSimpleFVRCanvas::setFVR().

Here is the call graph for this function:


Member Data Documentation

wxButton* vuSimpleFVRDialog::m_BUTTONcloseFile [protected]
 

Definition at line 70 of file vuSimpleFVRDialog.h.

Referenced by addLeftRight(), OnButtonCloseFile(), OnButtonLoadFile(), and ~vuSimpleFVRDialog().

wxButton* vuSimpleFVRDialog::m_BUTTONfitScaleAndBias [protected]
 

Definition at line 73 of file vuSimpleFVRDialog.h.

Referenced by addLeftRight(), OnCheckboxAutoScaleAndBias(), and ~vuSimpleFVRDialog().

vuCamera* vuSimpleFVRDialog::m_Camera [protected]
 

Definition at line 81 of file vuSimpleFVRDialog.h.

Referenced by OnButtonLoadFile(), setCamera(), and ~vuSimpleFVRDialog().

vuSimpleFVRCanvas* vuSimpleFVRDialog::m_Canvas [protected]
 

wxWindows GUI

Definition at line 68 of file vuSimpleFVRDialog.h.

Referenced by OnButtonCloseFile(), OnButtonFitScaleAndBias(), OnButtonLoadFile(), OnCheckboxAutoScaleAndBias(), OnChoiceMethod(), OnSliderImageScale(), setFourierVolume(), Show(), and ~vuSimpleFVRDialog().

wxCheckBox* vuSimpleFVRDialog::m_CHECKBOXautoScaleAndBias [protected]
 

Definition at line 72 of file vuSimpleFVRDialog.h.

Referenced by addLeftRight(), OnCheckboxAutoScaleAndBias(), and ~vuSimpleFVRDialog().

wxChoice* vuSimpleFVRDialog::m_CHOICEmethod [protected]
 

Definition at line 69 of file vuSimpleFVRDialog.h.

Referenced by addLeftRight(), and OnChoiceMethod().

vuFourierFilter* vuSimpleFVRDialog::m_FourierFilter [protected]
 

Definition at line 80 of file vuSimpleFVRDialog.h.

Referenced by OnButtonLoadFile(), setFourierFilter(), and ~vuSimpleFVRDialog().

vu1112119* vuSimpleFVRDialog::m_FVR [protected]
 

the simple FVR

Definition at line 78 of file vuSimpleFVRDialog.h.

Referenced by OnButtonCloseFile(), OnButtonLoadFile(), setCamera(), setFourierFilter(), Show(), and ~vuSimpleFVRDialog().

wxSlider* vuSimpleFVRDialog::m_SLIDERimageBias [protected]
 

Definition at line 75 of file vuSimpleFVRDialog.h.

Referenced by addLeftRight(), OnCheckboxAutoScaleAndBias(), and ~vuSimpleFVRDialog().

wxSlider* vuSimpleFVRDialog::m_SLIDERimageScale [protected]
 

Definition at line 74 of file vuSimpleFVRDialog.h.

Referenced by addLeftRight(), OnCheckboxAutoScaleAndBias(), OnSliderImageScale(), and ~vuSimpleFVRDialog().


The documentation for this class was generated from the following files:
Generated on Wed Dec 15 21:22:02 2004 for vuVolume by  doxygen 1.3.9.1