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

vuSimpleFBR< SIZE, TYPE > Class Template Reference

#include <vuSimpleFBR.h>

Inheritance diagram for vuSimpleFBR< SIZE, TYPE >:

Inheritance graph
[legend]
Collaboration diagram for vuSimpleFBR< SIZE, TYPE >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 vuSimpleFBR ()
 Constructor.
 ~vuSimpleFBR ()
 Destructor.
virtual const char * _titleString ()
bool init (const char *DataFile)
virtual void addRight (wxSizer *sizer)
 This method adds controls to the bottom of the window.
virtual vuCameragetCamera ()
 This function must return a pointer to the camera that is taking the picture of the scene.
virtual vuImagegetCurrentImage ()
 This function must return a pointer to the current vuImage buffer that the method can write to or read from.
virtual void DrawFromImage ()
 This function must take the data vuImage buffer from the last call to getCurrent Image and draw that on the screen.
virtual void DrawAgain ()
 This function must rerender the scene completely.

Protected Types

enum  {
  idPREPROCESS, idFILTER, idFILTERHINT, idFOURIERFILTER,
  idSLICEFILTERKIND, idSLICEFILTER, idSLICEFILTERSIZE, idLOWPASS,
  idRENDERMETHOD, idSNAP2VIEW, idIMAGESCALE, idIMAGEBIAS,
  idFITSCALE, idSHOWSUBWINDOW, idINTERACT_RECONST, idCHANNELS,
  idRESET, idFILL, idSAVE
}

Protected Member Functions

bool glInit ()
 Initializes open gl for the utility.
void glRender ()
 The method calls the render() method.
void glResize ()
 Resizes the gl viewport and renders the volume.
void onMouse (wxMouseEvent &ev)
 Handles mouse commands from the user.
void onKeyboard (wxKeyEvent &event)
 Keyboard handler.
vu1getVolume ()
 returns a pointer to m_Data
void OnChoiceFilter (wxCommandEvent &event)
 Filter Choice callback.
void OnChoiceFourierFilter (wxCommandEvent &event)
 Fourier Filter Choice callback.
void OnButtonPreprocess (wxCommandEvent &event)
 Preprocess Button callback.
void OnButtonReset (wxCommandEvent &event)
 Interactive Preprocessing Reset callback.
void OnButtonFill (wxCommandEvent &event)
 Interactive Preprocessing Fill callback.
void OnButtonSnap2View (wxCommandEvent &event)
 Snap2View Button callback.
void OnButtonShowSubWindow (wxCommandEvent &event)
 Show subwindow callback.
void OnChoiceRenderMethod (wxCommandEvent &event)
 render method choice callback
void OnSliderImageScale (wxScrollEvent &event)
 image scale slider callback
void OnButtonFitScale (wxCommandEvent &event)
 fit scale and bias callback
void OnButtonSave (wxCommandEvent &event)
 save to file callback
void OnCheckboxInteractiveReconst (wxCommandEvent &event)
 interactive reconstruction checkbox callback
void OnCheckboxChannels (wxCommandEvent &event)
 channel checkbox list callback

Protected Attributes

vu1611_2< SIZE, TYPE > * m_Data
 The lightfield volume owned by the utility.
vuFixelMap< SIZE, float > * m_Image
vuSphericInteractive< SIZE,
TYPE > * 
m_Interactive
vuFBRSubViewer< SIZE, TYPE > * m_FBRsubViewer
vuTorstensFourierFilterm_FourierFilter
vuSliceFilterm_SliceFilter
boolm_AlreadyVisisted

Private Member Functions

vuSphVwFlt_Fourier< SIZE,
TYPE > * 
getFourierViewFilter ()
void _updateFourierFilter ()
bool _updateViewFilter (bool isPreprocess)
bool _updateSliceFilter ()
void _filterHintTextUpdate ()
void _resetInteractivePreprocessing ()
void _addViewWithIndex (dword idx)
void _addChannelControls (wxFlexGridSizer *sizer)
void _interactiveReconstruction ()
void _renderImage ()
void _displayImage ()

Private Attributes

wxTextCtrl * m_TEXTfilterHint
 Filter Choice.
wxChoice * m_CHOICEfilter
wxChoice * m_CHOICEfourierFilter
wxChoice * m_CHOICEsliceFilter
wxChoice * m_CHOICEsliceFilterKind
wxChoice * m_CHOICEsliceFilterSize
wxChoice * m_CHOICElowPass
wxChoice * m_CHOICErenderMethod
wxCheckBox * m_CHECKBOXinteractiveReconst
wxCheckBox ** m_CHECKBOXchannels
wxButton * m_BUTTONfitScale
wxButton * m_BUTTONpreprocess
wxButton * m_BUTTONreset
wxButton * m_BUTTONfill
wxButton * m_BUTTONsave
wxSlider * m_SLIDERimageScale
wxBoxSizer * m_SIZERpreprocess
wxBoxSizer * m_SIZERhint

template<int SIZE, class TYPE>
class vuSimpleFBR< SIZE, TYPE >


Member Enumeration Documentation

template<int SIZE, class TYPE>
anonymous enum [protected]
 

Enumeration values:
idPREPROCESS 
idFILTER 
idFILTERHINT 
idFOURIERFILTER 
idSLICEFILTERKIND 
idSLICEFILTER 
idSLICEFILTERSIZE 
idLOWPASS 
idRENDERMETHOD 
idSNAP2VIEW 
idIMAGESCALE 
idIMAGEBIAS 
idFITSCALE 
idSHOWSUBWINDOW 
idINTERACT_RECONST 
idCHANNELS 
idRESET 
idFILL 
idSAVE 

Definition at line 18 of file vuSimpleFBR.h.


Constructor & Destructor Documentation

template<int S, class T>
vuSimpleFBR< S, T >::vuSimpleFBR  ) 
 

Constructor.

Definition at line 11 of file vuSimpleFBR.cpp.

References vuSimpleFBR< SIZE, TYPE >::m_BUTTONfill, vuSimpleFBR< SIZE, TYPE >::m_BUTTONfitScale, vuSimpleFBR< SIZE, TYPE >::m_BUTTONpreprocess, vuSimpleFBR< SIZE, TYPE >::m_BUTTONreset, vuSimpleFBR< SIZE, TYPE >::m_BUTTONsave, vuSimpleFBR< SIZE, TYPE >::m_CHECKBOXchannels, vuSimpleFBR< SIZE, TYPE >::m_CHECKBOXinteractiveReconst, vuSimpleFBR< SIZE, TYPE >::m_CHOICEfilter, vuSimpleFBR< SIZE, TYPE >::m_CHOICEfourierFilter, vuSimpleFBR< SIZE, TYPE >::m_CHOICElowPass, vuSimpleFBR< SIZE, TYPE >::m_CHOICErenderMethod, vuSimpleFBR< SIZE, TYPE >::m_CHOICEsliceFilter, vuSimpleFBR< SIZE, TYPE >::m_CHOICEsliceFilterKind, vuSimpleFBR< SIZE, TYPE >::m_CHOICEsliceFilterSize, vuSimpleFBR< SIZE, TYPE >::m_Data, vuSimpleFBR< SIZE, TYPE >::m_FBRsubViewer, vuSimpleFBR< SIZE, TYPE >::m_FourierFilter, vuSimpleFBR< SIZE, TYPE >::m_Image, vuSimpleFBR< SIZE, TYPE >::m_Interactive, vuSimpleFBR< SIZE, TYPE >::m_SIZERhint, vuSimpleFBR< SIZE, TYPE >::m_SIZERpreprocess, vuSimpleFBR< SIZE, TYPE >::m_SliceFilter, vuSimpleFBR< SIZE, TYPE >::m_SLIDERimageScale, and vuSimpleFBR< SIZE, TYPE >::m_TEXTfilterHint.

template<int S, class T>
vuSimpleFBR< S, T >::~vuSimpleFBR  ) 
 

Destructor.

Definition at line 42 of file vuSimpleFBR.cpp.

References CHECKNDELETE, vuSimpleFBR< SIZE, TYPE >::m_BUTTONfill, vuSimpleFBR< SIZE, TYPE >::m_BUTTONfitScale, vuSimpleFBR< SIZE, TYPE >::m_BUTTONpreprocess, vuSimpleFBR< SIZE, TYPE >::m_BUTTONreset, vuSimpleFBR< SIZE, TYPE >::m_BUTTONsave, vuSimpleFBR< SIZE, TYPE >::m_CHECKBOXchannels, vuSimpleFBR< SIZE, TYPE >::m_CHECKBOXinteractiveReconst, vuSimpleFBR< SIZE, TYPE >::m_CHOICEfilter, vuSimpleFBR< SIZE, TYPE >::m_CHOICEfourierFilter, vuSimpleFBR< SIZE, TYPE >::m_CHOICElowPass, vuSimpleFBR< SIZE, TYPE >::m_CHOICErenderMethod, vuSimpleFBR< SIZE, TYPE >::m_CHOICEsliceFilter, vuSimpleFBR< SIZE, TYPE >::m_CHOICEsliceFilterKind, vuSimpleFBR< SIZE, TYPE >::m_CHOICEsliceFilterSize, vuSimpleFBR< SIZE, TYPE >::m_Data, vuSimpleFBR< SIZE, TYPE >::m_FBRsubViewer, vuSimpleFBR< SIZE, TYPE >::m_FourierFilter, vuSimpleFBR< SIZE, TYPE >::m_Image, vuSimpleFBR< SIZE, TYPE >::m_Interactive, vuSimpleFBR< SIZE, TYPE >::m_SIZERhint, vuSimpleFBR< SIZE, TYPE >::m_SIZERpreprocess, vuSimpleFBR< SIZE, TYPE >::m_SliceFilter, vuSimpleFBR< SIZE, TYPE >::m_SLIDERimageScale, and vuSimpleFBR< SIZE, TYPE >::m_TEXTfilterHint.


Member Function Documentation

template<int S, class T>
void vuSimpleFBR< S, T >::_addChannelControls wxFlexGridSizer *  sizer  )  [private]
 

Definition at line 950 of file vuSimpleFBR.cpp.

References dword, vuSimpleFBR< SIZE, TYPE >::idCHANNELS, and vuSimpleFBR< SIZE, TYPE >::m_CHECKBOXchannels.

Referenced by vuSimpleFBR< SIZE, TYPE >::addRight().

template<int S, class T>
void vuSimpleFBR< S, T >::_addViewWithIndex dword  idx  )  [private]
 

Definition at line 927 of file vuSimpleFBR.cpp.

References vuSphericViewFilter< SIZE, TYPE >::getNumberOfViews(), vuSimpleFBR< SIZE, TYPE >::m_Data, and vuSimpleFBR< SIZE, TYPE >::m_Interactive.

Referenced by vuSimpleFBR< SIZE, TYPE >::OnButtonFill().

Here is the call graph for this function:

template<int S, class T>
void vuSimpleFBR< S, T >::_displayImage  )  [private]
 

Definition at line 1036 of file vuSimpleFBR.cpp.

References CHECKNDELETE, vuFixelMap< SIZE, TYPE >::copyMapToChannel(), vuFixelMap< SIZE, TYPE >::getChannel(), vuFixelMap< SIZE, TYPE >::getHeight(), vuFixelMap< SIZE, TYPE >::getWidth(), vuFixelMap< SIZE, TYPE >::glRender(), vuSimpleFBR< SIZE, TYPE >::m_CHECKBOXchannels, vuSimpleFBR< SIZE, TYPE >::m_Image, and vuSimpleFBR< SIZE, TYPE >::m_SLIDERimageScale.

Referenced by vuSimpleFBR< SIZE, TYPE >::glRender().

Here is the call graph for this function:

template<int S, class T>
void vuSimpleFBR< S, T >::_filterHintTextUpdate  )  [private]
 

Definition at line 878 of file vuSimpleFBR.cpp.

References vuSimpleFBR< SIZE, TYPE >::m_CHOICEfilter, vuSimpleFBR< SIZE, TYPE >::m_SIZERhint, and vuSimpleFBR< SIZE, TYPE >::m_TEXTfilterHint.

Referenced by vuSimpleFBR< SIZE, TYPE >::addRight(), and vuSimpleFBR< SIZE, TYPE >::OnChoiceFilter().

template<int S, class T>
void vuSimpleFBR< S, T >::_interactiveReconstruction  )  [private]
 

Definition at line 980 of file vuSimpleFBR.cpp.

References vuSimpleFBR< SIZE, TYPE >::getFourierViewFilter(), vuSphVwFlt_Fourier< SIZE, TYPE >::isPreparedForInteractive(), and vuSimpleFBR< SIZE, TYPE >::m_Interactive.

Referenced by vuSimpleFBR< SIZE, TYPE >::glRender().

Here is the call graph for this function:

template<int S, class T>
void vuSimpleFBR< S, T >::_renderImage  )  [private]
 

Definition at line 999 of file vuSimpleFBR.cpp.

References vuSimpleFBR< SIZE, TYPE >::getFourierViewFilter(), vuGLCanvas::getHeight(), vuGLCanvas::getWidth(), vuFixelMap< SIZE, TYPE >::glResize(), vuSimpleFBR< SIZE, TYPE >::m_CHOICErenderMethod, vuSimpleFBR< SIZE, TYPE >::m_Data, vuSimpleFBR< SIZE, TYPE >::m_Image, and vuSimpleFBR< SIZE, TYPE >::m_Interactive.

Referenced by vuSimpleFBR< SIZE, TYPE >::glRender().

Here is the call graph for this function:

template<int S, class T>
void vuSimpleFBR< S, T >::_resetInteractivePreprocessing  )  [private]
 

Definition at line 911 of file vuSimpleFBR.cpp.

References vuSimpleFBR< SIZE, TYPE >::_updateFourierFilter(), vuSimpleFBR< SIZE, TYPE >::_updateSliceFilter(), vuSimpleFBR< SIZE, TYPE >::_updateViewFilter(), vuSimpleFBR< SIZE, TYPE >::getFourierViewFilter(), vuSimpleFBR< SIZE, TYPE >::m_Data, vuSimpleFBR< SIZE, TYPE >::m_Interactive, and vuSphVwFlt_Fourier< SIZE, TYPE >::prepareForInteractive().

Referenced by vuSimpleFBR< SIZE, TYPE >::OnButtonReset().

Here is the call graph for this function:

template<int S, class T>
const char * vuSimpleFBR< S, T >::_titleString  )  [virtual]
 

Definition at line 74 of file vuSimpleFBR.cpp.

Referenced by vuSimpleFBR< SIZE, TYPE >::init().

template<int S, class T>
void vuSimpleFBR< S, T >::_updateFourierFilter  )  [private]
 

Definition at line 805 of file vuSimpleFBR.cpp.

References CHECKNDELETE, vuTorstensFourierFilter::getFilter(), vuFilter::getFilterName(), vuSimpleFBR< SIZE, TYPE >::m_CHOICEfourierFilter, and vuSimpleFBR< SIZE, TYPE >::m_FourierFilter.

Referenced by vuSimpleFBR< SIZE, TYPE >::_resetInteractivePreprocessing(), vuSimpleFBR< SIZE, TYPE >::OnButtonPreprocess(), and vuSimpleFBR< SIZE, TYPE >::OnButtonShowSubWindow().

Here is the call graph for this function:

template<int S, class T>
bool vuSimpleFBR< S, T >::_updateSliceFilter  )  [private]
 

Definition at line 820 of file vuSimpleFBR.cpp.

References byte, vuString::c_str(), CHECKNDELETE, dword, vuSliceFilter::getFilter(), vuFilter::getFilterName(), vuSliceFilter::getKind(), vuSliceFilter::getLowPassFactor(), vuSliceFilter::getWidth(), vuSimpleFBR< SIZE, TYPE >::m_CHOICElowPass, vuSimpleFBR< SIZE, TYPE >::m_CHOICEsliceFilter, vuSimpleFBR< SIZE, TYPE >::m_CHOICEsliceFilterKind, vuSimpleFBR< SIZE, TYPE >::m_CHOICEsliceFilterSize, vuSimpleFBR< SIZE, TYPE >::m_SliceFilter, vuSliceFilter::setKind(), vuSliceFilter::setLowPassFactor(), vuSliceFilter::setWidth(), and size.

Referenced by vuSimpleFBR< SIZE, TYPE >::_resetInteractivePreprocessing(), and vuSimpleFBR< SIZE, TYPE >::OnButtonPreprocess().

Here is the call graph for this function:

template<int S, class T>
bool vuSimpleFBR< S, T >::_updateViewFilter bool  isPreprocess  )  [private]
 

Definition at line 754 of file vuSimpleFBR.cpp.

References dword, vuSphLfFlt_FitAngle< SIZE, TYPE >::getAngle(), vuSphericFilterFactory< SIZE, TYPE >::getFilter(), vuFilter::getFilterName(), vuSimpleFBR< SIZE, TYPE >::getFourierViewFilter(), vuGLCanvas::getHeight(), vuSphLfFlt_Nearest< SIZE, TYPE >::getNumberOfViews(), vuGLCanvas::getWidth(), vuSphericViewFilter< SIZE, TYPE >::glResize(), vuSimpleFBR< SIZE, TYPE >::m_CHOICEfilter, vuSimpleFBR< SIZE, TYPE >::m_Data, vuSimpleFBR< SIZE, TYPE >::m_FourierFilter, vuSimpleFBR< SIZE, TYPE >::m_SliceFilter, vuSimpleFBR< SIZE, TYPE >::m_TEXTfilterHint, vuSphLfFlt_FitAngle< SIZE, TYPE >::setAngle(), vuSphVwFlt_Fourier< SIZE, TYPE >::setFourierFilter(), vuSphLfFlt_Nearest< SIZE, TYPE >::setNumberOfViews(), and vuSphVwFlt_Fourier< SIZE, TYPE >::setSliceFilter().

Referenced by vuSimpleFBR< SIZE, TYPE >::_resetInteractivePreprocessing(), and vuSimpleFBR< SIZE, TYPE >::OnButtonPreprocess().

Here is the call graph for this function:

template<int S, class T>
void vuSimpleFBR< S, T >::addRight wxSizer *  sizer  )  [virtual]
 

This method adds controls to the bottom of the window.

Reimplemented from vuBasicUtility.

Definition at line 136 of file vuSimpleFBR.cpp.

References vuSimpleFBR< SIZE, TYPE >::_addChannelControls(), vuSimpleFBR< SIZE, TYPE >::_filterHintTextUpdate(), dword, vuTorstensFourierFilter::getFilterNames(), vuSliceFilter::getFilterNames(), vuString::hasPrefix(), vuSimpleFBR< SIZE, TYPE >::idFILL, vuSimpleFBR< SIZE, TYPE >::idFILTER, vuSimpleFBR< SIZE, TYPE >::idFILTERHINT, vuSimpleFBR< SIZE, TYPE >::idFITSCALE, vuSimpleFBR< SIZE, TYPE >::idFOURIERFILTER, vuSimpleFBR< SIZE, TYPE >::idIMAGESCALE, vuSimpleFBR< SIZE, TYPE >::idINTERACT_RECONST, vuSimpleFBR< SIZE, TYPE >::idLOWPASS, vuSimpleFBR< SIZE, TYPE >::idPREPROCESS, vuSimpleFBR< SIZE, TYPE >::idRENDERMETHOD, vuSimpleFBR< SIZE, TYPE >::idRESET, vuSimpleFBR< SIZE, TYPE >::idSAVE, vuSimpleFBR< SIZE, TYPE >::idSHOWSUBWINDOW, vuSimpleFBR< SIZE, TYPE >::idSLICEFILTER, vuSimpleFBR< SIZE, TYPE >::idSLICEFILTERKIND, vuSimpleFBR< SIZE, TYPE >::idSLICEFILTERSIZE, vuSimpleFBR< SIZE, TYPE >::idSNAP2VIEW, vuSimpleFBR< SIZE, TYPE >::m_BUTTONfill, vuSimpleFBR< SIZE, TYPE >::m_BUTTONfitScale, vuSimpleFBR< SIZE, TYPE >::m_BUTTONpreprocess, vuSimpleFBR< SIZE, TYPE >::m_BUTTONreset, vuSimpleFBR< SIZE, TYPE >::m_BUTTONsave, vuSimpleFBR< SIZE, TYPE >::m_CHECKBOXinteractiveReconst, vuSimpleFBR< SIZE, TYPE >::m_CHOICEfilter, vuSimpleFBR< SIZE, TYPE >::m_CHOICEfourierFilter, vuSimpleFBR< SIZE, TYPE >::m_CHOICElowPass, vuSimpleFBR< SIZE, TYPE >::m_CHOICErenderMethod, vuSimpleFBR< SIZE, TYPE >::m_CHOICEsliceFilter, vuSimpleFBR< SIZE, TYPE >::m_CHOICEsliceFilterKind, vuSimpleFBR< SIZE, TYPE >::m_CHOICEsliceFilterSize, vuSimpleFBR< SIZE, TYPE >::m_SIZERhint, vuSimpleFBR< SIZE, TYPE >::m_SIZERpreprocess, vuSimpleFBR< SIZE, TYPE >::m_SLIDERimageScale, vuSimpleFBR< SIZE, TYPE >::m_TEXTfilterHint, and NULL.

Here is the call graph for this function:

template<int S, class T>
void vuSimpleFBR< S, T >::DrawAgain  )  [virtual]
 

This function must rerender the scene completely.

This is so that the key frame animator can set the camera, and then force a redraw by the method.

Implements vuBasicUtility.

Definition at line 739 of file vuSimpleFBR.cpp.

template<int S, class T>
void vuSimpleFBR< S, T >::DrawFromImage  )  [virtual]
 

This function must take the data vuImage buffer from the last call to getCurrent Image and draw that on the screen.

This is so that prerendered video animation can be displayed by the key frame animator by simply setting the vuImage returned by getCurrentImage and then calling this function.

Implements vuBasicUtility.

Definition at line 733 of file vuSimpleFBR.cpp.

References vuGLCanvas::redraw().

Here is the call graph for this function:

template<int S, class T>
vuCamera * vuSimpleFBR< S, T >::getCamera  )  [virtual]
 

This function must return a pointer to the camera that is taking the picture of the scene.

This is so that the key frame animator can read the camera when it needs to take a snapshot and change the camera when it wants the method to rerender the scene from a predetermined camera position.

Implements vuBasicUtility.

Definition at line 720 of file vuSimpleFBR.cpp.

References vuSimpleFBR< SIZE, TYPE >::m_Data.

template<int S, class T>
vuImage * vuSimpleFBR< S, T >::getCurrentImage  )  [virtual]
 

This function must return a pointer to the current vuImage buffer that the method can write to or read from.

This is how the key framer will update the screen.

Implements vuBasicUtility.

Definition at line 726 of file vuSimpleFBR.cpp.

template<int S, class T>
vuSphVwFlt_Fourier< S, T > * vuSimpleFBR< S, T >::getFourierViewFilter  )  [private]
 

Definition at line 748 of file vuSimpleFBR.cpp.

References vuSimpleFBR< SIZE, TYPE >::m_Data.

Referenced by vuSimpleFBR< SIZE, TYPE >::_interactiveReconstruction(), vuSimpleFBR< SIZE, TYPE >::_renderImage(), vuSimpleFBR< SIZE, TYPE >::_resetInteractivePreprocessing(), vuSimpleFBR< SIZE, TYPE >::_updateViewFilter(), vuSimpleFBR< SIZE, TYPE >::OnButtonSave(), vuSimpleFBR< SIZE, TYPE >::OnCheckboxInteractiveReconst(), and vuSimpleFBR< SIZE, TYPE >::OnChoiceFourierFilter().

template<int S, class T>
vu1 * vuSimpleFBR< S, T >::getVolume  )  [protected, virtual]
 

returns a pointer to m_Data

Reimplemented from vuBasicUtility.

Definition at line 455 of file vuSimpleFBR.cpp.

template<int S, class T>
bool vuSimpleFBR< S, T >::glInit  )  [protected, virtual]
 

Initializes open gl for the utility.

The method calls the initgl() method so it can do the proper initialization.

Reimplemented from vuBasicUtility.

Definition at line 416 of file vuSimpleFBR.cpp.

References vuGLCanvas::getHeight(), vuGLCanvas::getWidth(), and vuSimpleFBR< SIZE, TYPE >::m_Data.

Here is the call graph for this function:

template<int S, class T>
void vuSimpleFBR< S, T >::glRender  )  [protected, virtual]
 

The method calls the render() method.

Reimplemented from vuBasicUtility.

Definition at line 425 of file vuSimpleFBR.cpp.

References vuSimpleFBR< SIZE, TYPE >::_displayImage(), vuSimpleFBR< SIZE, TYPE >::_interactiveReconstruction(), vuSimpleFBR< SIZE, TYPE >::_renderImage(), and vuSimpleFBR< SIZE, TYPE >::m_FBRsubViewer.

Here is the call graph for this function:

template<int S, class T>
void vuSimpleFBR< S, T >::glResize  )  [protected, virtual]
 

Resizes the gl viewport and renders the volume.

Reimplemented from vuBasicUtility.

Definition at line 438 of file vuSimpleFBR.cpp.

References vuGLCanvas::getHeight(), vuGLCanvas::getWidth(), and vuSimpleFBR< SIZE, TYPE >::m_Data.

Here is the call graph for this function:

template<int S, class T>
bool vuSimpleFBR< S, T >::init const char *  DataFile  )  [virtual]
 

Initializes the utility window. A object is created and the volume data is read. The window appears when finished.

Reimplemented from vuBasicUtility.

Reimplemented in vuSimpleFBR1B, and vuSimpleFBR3B.

Definition at line 81 of file vuSimpleFBR.cpp.

References vuSimpleFBR< SIZE, TYPE >::_titleString(), vuString::c_str(), vuSimpleFBR< SIZE, TYPE >::m_Data, vuSimpleFBR< SIZE, TYPE >::m_FBRsubViewer, and vuSimpleFBR< SIZE, TYPE >::m_Interactive.

Referenced by vuSimpleFBR3B::init(), and vuSimpleFBR1B::init().

Here is the call graph for this function:

template<int S, class T>
void vuSimpleFBR< S, T >::OnButtonFill wxCommandEvent &  event  )  [protected]
 

Interactive Preprocessing Fill callback.

Definition at line 496 of file vuSimpleFBR.cpp.

References vuSimpleFBR< SIZE, TYPE >::_addViewWithIndex(), dword, vuSphericViewFilter< SIZE, TYPE >::getIndexOfView(), vuSphericViewFilter< SIZE, TYPE >::getNumberOfViews(), vuSphericViewFilter< SIZE, TYPE >::getView(), vuSimpleFBR< SIZE, TYPE >::m_Data, vuSimpleFBR< SIZE, TYPE >::m_Interactive, and vuGLCanvas::redraw().

Here is the call graph for this function:

template<int S, class T>
void vuSimpleFBR< S, T >::OnButtonFitScale wxCommandEvent &  event  )  [protected]
 

fit scale and bias callback

Definition at line 622 of file vuSimpleFBR.cpp.

References vuFixelMap< SIZE, TYPE >::getMinAndMaxValue(), vuSimpleFBR< SIZE, TYPE >::m_Image, vuSimpleFBR< SIZE, TYPE >::m_SLIDERimageScale, and vuGLCanvas::redraw().

Here is the call graph for this function:

template<int S, class T>
void vuSimpleFBR< S, T >::OnButtonPreprocess wxCommandEvent &  event  )  [protected]
 

Preprocess Button callback.

Definition at line 465 of file vuSimpleFBR.cpp.

References vuSimpleFBR< SIZE, TYPE >::_updateFourierFilter(), vuSimpleFBR< SIZE, TYPE >::_updateSliceFilter(), vuSimpleFBR< SIZE, TYPE >::_updateViewFilter(), vuSimpleFBR< SIZE, TYPE >::m_Data, and vuGLCanvas::redraw().

Here is the call graph for this function:

template<int S, class T>
void vuSimpleFBR< S, T >::OnButtonReset wxCommandEvent &  event  )  [protected]
 

Interactive Preprocessing Reset callback.

Definition at line 485 of file vuSimpleFBR.cpp.

References vuSimpleFBR< SIZE, TYPE >::_resetInteractivePreprocessing(), vuSimpleFBR< SIZE, TYPE >::m_BUTTONreset, vuSimpleFBR< SIZE, TYPE >::m_Data, and vuGLCanvas::redraw().

Here is the call graph for this function:

template<int S, class T>
void vuSimpleFBR< S, T >::OnButtonSave wxCommandEvent &  event  )  [protected]
 

save to file callback

Definition at line 651 of file vuSimpleFBR.cpp.

References CHECKNDELETE, vuSimpleFBR< SIZE, TYPE >::getFourierViewFilter(), and vuGLCanvas::redraw().

Here is the call graph for this function:

template<int S, class T>
void vuSimpleFBR< S, T >::OnButtonShowSubWindow wxCommandEvent &  event  )  [protected]
 

Show subwindow callback.

Definition at line 644 of file vuSimpleFBR.cpp.

References vuSimpleFBR< SIZE, TYPE >::_updateFourierFilter(), and vuSimpleFBR< SIZE, TYPE >::m_FBRsubViewer.

Here is the call graph for this function:

template<int S, class T>
void vuSimpleFBR< S, T >::OnButtonSnap2View wxCommandEvent &  event  )  [protected]
 

Snap2View Button callback.

Definition at line 557 of file vuSimpleFBR.cpp.

References vuFourierVolume< SIZE >::calcViewVectors(), CHECKNDELETE, vuVector::dot, dword, vuCamera::getLookAtVector(), vuSphericView< SIZE, TYPE >::getLookFrom(), vuSphericFilter< SIZE, TYPE >::getNearestViews(), vuSphericViewFilter< SIZE, TYPE >::getNumberOfViews(), vuCamera::getRightVector(), vuCamera::getUpVector(), vuSphericViewFilter< SIZE, TYPE >::getViews(), vuCamera::init(), vuSimpleFBR< SIZE, TYPE >::m_Data, vuVector::makeUnit(), vuGLCanvas::redraw(), vuCamera::setLookAtVector(), vuCamera::setRightVector(), and vuCamera::setUpVector().

Here is the call graph for this function:

template<int S, class T>
void vuSimpleFBR< S, T >::OnCheckboxChannels wxCommandEvent &  event  )  [protected]
 

channel checkbox list callback

Definition at line 707 of file vuSimpleFBR.cpp.

References vuGLCanvas::redraw().

Here is the call graph for this function:

template<int S, class T>
void vuSimpleFBR< S, T >::OnCheckboxInteractiveReconst wxCommandEvent &  event  )  [protected]
 

interactive reconstruction checkbox callback

Definition at line 679 of file vuSimpleFBR.cpp.

References vuSimpleFBR< SIZE, TYPE >::getFourierViewFilter(), vuSimpleFBR< SIZE, TYPE >::m_BUTTONfill, vuSimpleFBR< SIZE, TYPE >::m_BUTTONpreprocess, vuSimpleFBR< SIZE, TYPE >::m_BUTTONreset, vuSimpleFBR< SIZE, TYPE >::m_CHECKBOXinteractiveReconst, vuSimpleFBR< SIZE, TYPE >::m_SIZERpreprocess, and vuGLCanvas::redraw().

Here is the call graph for this function:

template<int S, class T>
void vuSimpleFBR< S, T >::OnChoiceFilter wxCommandEvent &  event  )  [protected]
 

Filter Choice callback.

Definition at line 528 of file vuSimpleFBR.cpp.

References vuSimpleFBR< SIZE, TYPE >::_filterHintTextUpdate().

Here is the call graph for this function:

template<int S, class T>
void vuSimpleFBR< S, T >::OnChoiceFourierFilter wxCommandEvent &  event  )  [protected]
 

Fourier Filter Choice callback.

Definition at line 534 of file vuSimpleFBR.cpp.

References CHECKNDELETE, vuTorstensFourierFilter::getFilter(), vuFilter::getFilterName(), vuSimpleFBR< SIZE, TYPE >::getFourierViewFilter(), vuSimpleFBR< SIZE, TYPE >::m_CHOICEfourierFilter, vuSimpleFBR< SIZE, TYPE >::m_Data, vuSimpleFBR< SIZE, TYPE >::m_FourierFilter, and vuGLCanvas::redraw().

Here is the call graph for this function:

template<int S, class T>
void vuSimpleFBR< S, T >::OnChoiceRenderMethod wxCommandEvent &  event  )  [protected]
 

render method choice callback

Definition at line 515 of file vuSimpleFBR.cpp.

References vuSimpleFBR< SIZE, TYPE >::m_CHOICErenderMethod, vuSimpleFBR< SIZE, TYPE >::m_Data, vuSimpleFBR< SIZE, TYPE >::m_SLIDERimageScale, and vuGLCanvas::redraw().

Here is the call graph for this function:

template<int S, class T>
void vuSimpleFBR< S, T >::onKeyboard wxKeyEvent &  event  )  [protected, virtual]
 

Keyboard handler.

Reimplemented from vuBasicUtility.

Definition at line 450 of file vuSimpleFBR.cpp.

template<int S, class T>
void vuSimpleFBR< S, T >::onMouse wxMouseEvent &  ev  )  [protected, virtual]
 

Handles mouse commands from the user.

Reimplemented from vuBasicUtility.

Definition at line 444 of file vuSimpleFBR.cpp.

template<int S, class T>
void vuSimpleFBR< S, T >::OnSliderImageScale wxScrollEvent &  event  )  [protected]
 

image scale slider callback

Definition at line 713 of file vuSimpleFBR.cpp.

References vuGLCanvas::redraw().

Here is the call graph for this function:


Member Data Documentation

template<int SIZE, class TYPE>
bool* vuSimpleFBR< SIZE, TYPE >::m_AlreadyVisisted [protected]
 

Definition at line 147 of file vuSimpleFBR.h.

template<int SIZE, class TYPE>
wxButton* vuSimpleFBR< SIZE, TYPE >::m_BUTTONfill [private]
 

Definition at line 165 of file vuSimpleFBR.h.

Referenced by vuSimpleFBR< SIZE, TYPE >::addRight(), vuSimpleFBR< SIZE, TYPE >::OnCheckboxInteractiveReconst(), vuSimpleFBR< SIZE, TYPE >::vuSimpleFBR(), and vuSimpleFBR< SIZE, TYPE >::~vuSimpleFBR().

template<int SIZE, class TYPE>
wxButton* vuSimpleFBR< SIZE, TYPE >::m_BUTTONfitScale [private]
 

Definition at line 162 of file vuSimpleFBR.h.

Referenced by vuSimpleFBR< SIZE, TYPE >::addRight(), vuSimpleFBR< SIZE, TYPE >::vuSimpleFBR(), and vuSimpleFBR< SIZE, TYPE >::~vuSimpleFBR().

template<int SIZE, class TYPE>
wxButton* vuSimpleFBR< SIZE, TYPE >::m_BUTTONpreprocess [private]
 

Definition at line 163 of file vuSimpleFBR.h.

Referenced by vuSimpleFBR< SIZE, TYPE >::addRight(), vuSimpleFBR< SIZE, TYPE >::OnCheckboxInteractiveReconst(), vuSimpleFBR< SIZE, TYPE >::vuSimpleFBR(), and vuSimpleFBR< SIZE, TYPE >::~vuSimpleFBR().

template<int SIZE, class TYPE>
wxButton* vuSimpleFBR< SIZE, TYPE >::m_BUTTONreset [private]
 

Definition at line 164 of file vuSimpleFBR.h.

Referenced by vuSimpleFBR< SIZE, TYPE >::addRight(), vuSimpleFBR< SIZE, TYPE >::OnButtonReset(), vuSimpleFBR< SIZE, TYPE >::OnCheckboxInteractiveReconst(), vuSimpleFBR< SIZE, TYPE >::vuSimpleFBR(), and vuSimpleFBR< SIZE, TYPE >::~vuSimpleFBR().

template<int SIZE, class TYPE>
wxButton* vuSimpleFBR< SIZE, TYPE >::m_BUTTONsave [private]
 

Definition at line 166 of file vuSimpleFBR.h.

Referenced by vuSimpleFBR< SIZE, TYPE >::addRight(), vuSimpleFBR< SIZE, TYPE >::vuSimpleFBR(), and vuSimpleFBR< SIZE, TYPE >::~vuSimpleFBR().

template<int SIZE, class TYPE>
wxCheckBox** vuSimpleFBR< SIZE, TYPE >::m_CHECKBOXchannels [private]
 

Definition at line 161 of file vuSimpleFBR.h.

Referenced by vuSimpleFBR< SIZE, TYPE >::_addChannelControls(), vuSimpleFBR< SIZE, TYPE >::_displayImage(), vuSimpleFBR< SIZE, TYPE >::vuSimpleFBR(), and vuSimpleFBR< SIZE, TYPE >::~vuSimpleFBR().

template<int SIZE, class TYPE>
wxCheckBox* vuSimpleFBR< SIZE, TYPE >::m_CHECKBOXinteractiveReconst [private]
 

Definition at line 160 of file vuSimpleFBR.h.

Referenced by vuSimpleFBR< SIZE, TYPE >::addRight(), vuSimpleFBR< SIZE, TYPE >::OnCheckboxInteractiveReconst(), vuSimpleFBR< SIZE, TYPE >::vuSimpleFBR(), and vuSimpleFBR< SIZE, TYPE >::~vuSimpleFBR().

template<int SIZE, class TYPE>
wxChoice* vuSimpleFBR< SIZE, TYPE >::m_CHOICEfilter [private]
 

Definition at line 153 of file vuSimpleFBR.h.

Referenced by vuSimpleFBR< SIZE, TYPE >::_filterHintTextUpdate(), vuSimpleFBR< SIZE, TYPE >::_updateViewFilter(), vuSimpleFBR< SIZE, TYPE >::addRight(), vuSimpleFBR< SIZE, TYPE >::vuSimpleFBR(), and vuSimpleFBR< SIZE, TYPE >::~vuSimpleFBR().

template<int SIZE, class TYPE>
wxChoice* vuSimpleFBR< SIZE, TYPE >::m_CHOICEfourierFilter [private]
 

Definition at line 154 of file vuSimpleFBR.h.

Referenced by vuSimpleFBR< SIZE, TYPE >::_updateFourierFilter(), vuSimpleFBR< SIZE, TYPE >::addRight(), vuSimpleFBR< SIZE, TYPE >::OnChoiceFourierFilter(), vuSimpleFBR< SIZE, TYPE >::vuSimpleFBR(), and vuSimpleFBR< SIZE, TYPE >::~vuSimpleFBR().

template<int SIZE, class TYPE>
wxChoice* vuSimpleFBR< SIZE, TYPE >::m_CHOICElowPass [private]
 

Definition at line 158 of file vuSimpleFBR.h.

Referenced by vuSimpleFBR< SIZE, TYPE >::_updateSliceFilter(), vuSimpleFBR< SIZE, TYPE >::addRight(), vuSimpleFBR< SIZE, TYPE >::vuSimpleFBR(), and vuSimpleFBR< SIZE, TYPE >::~vuSimpleFBR().

template<int SIZE, class TYPE>
wxChoice* vuSimpleFBR< SIZE, TYPE >::m_CHOICErenderMethod [private]
 

Definition at line 159 of file vuSimpleFBR.h.

Referenced by vuSimpleFBR< SIZE, TYPE >::_renderImage(), vuSimpleFBR< SIZE, TYPE >::addRight(), vuSimpleFBR< SIZE, TYPE >::OnChoiceRenderMethod(), vuSimpleFBR< SIZE, TYPE >::vuSimpleFBR(), and vuSimpleFBR< SIZE, TYPE >::~vuSimpleFBR().

template<int SIZE, class TYPE>
wxChoice* vuSimpleFBR< SIZE, TYPE >::m_CHOICEsliceFilter [private]
 

Definition at line 155 of file vuSimpleFBR.h.

Referenced by vuSimpleFBR< SIZE, TYPE >::_updateSliceFilter(), vuSimpleFBR< SIZE, TYPE >::addRight(), vuSimpleFBR< SIZE, TYPE >::vuSimpleFBR(), and vuSimpleFBR< SIZE, TYPE >::~vuSimpleFBR().

template<int SIZE, class TYPE>
wxChoice* vuSimpleFBR< SIZE, TYPE >::m_CHOICEsliceFilterKind [private]
 

Definition at line 156 of file vuSimpleFBR.h.

Referenced by vuSimpleFBR< SIZE, TYPE >::_updateSliceFilter(), vuSimpleFBR< SIZE, TYPE >::addRight(), vuSimpleFBR< SIZE, TYPE >::vuSimpleFBR(), and vuSimpleFBR< SIZE, TYPE >::~vuSimpleFBR().

template<int SIZE, class TYPE>
wxChoice* vuSimpleFBR< SIZE, TYPE >::m_CHOICEsliceFilterSize [private]
 

Definition at line 157 of file vuSimpleFBR.h.

Referenced by vuSimpleFBR< SIZE, TYPE >::_updateSliceFilter(), vuSimpleFBR< SIZE, TYPE >::addRight(), vuSimpleFBR< SIZE, TYPE >::vuSimpleFBR(), and vuSimpleFBR< SIZE, TYPE >::~vuSimpleFBR().

template<int SIZE, class TYPE>
vu1611_2<SIZE,TYPE>* vuSimpleFBR< SIZE, TYPE >::m_Data [protected]
 

The lightfield volume owned by the utility.

Definition at line 139 of file vuSimpleFBR.h.

Referenced by vuSimpleFBR< SIZE, TYPE >::_addViewWithIndex(), vuSimpleFBR< SIZE, TYPE >::_renderImage(), vuSimpleFBR< SIZE, TYPE >::_resetInteractivePreprocessing(), vuSimpleFBR< SIZE, TYPE >::_updateViewFilter(), vuSimpleFBR< SIZE, TYPE >::getCamera(), vuSimpleFBR< SIZE, TYPE >::getFourierViewFilter(), vuSimpleFBR< SIZE, TYPE >::glInit(), vuSimpleFBR< SIZE, TYPE >::glResize(), vuSimpleFBR< SIZE, TYPE >::init(), vuSimpleFBR< SIZE, TYPE >::OnButtonFill(), vuSimpleFBR< SIZE, TYPE >::OnButtonPreprocess(), vuSimpleFBR< SIZE, TYPE >::OnButtonReset(), vuSimpleFBR< SIZE, TYPE >::OnButtonSnap2View(), vuSimpleFBR< SIZE, TYPE >::OnChoiceFourierFilter(), vuSimpleFBR< SIZE, TYPE >::OnChoiceRenderMethod(), vuSimpleFBR< SIZE, TYPE >::vuSimpleFBR(), and vuSimpleFBR< SIZE, TYPE >::~vuSimpleFBR().

template<int SIZE, class TYPE>
vuFBRSubViewer<SIZE,TYPE>* vuSimpleFBR< SIZE, TYPE >::m_FBRsubViewer [protected]
 

Definition at line 142 of file vuSimpleFBR.h.

Referenced by vuSimpleFBR< SIZE, TYPE >::glRender(), vuSimpleFBR< SIZE, TYPE >::init(), vuSimpleFBR< SIZE, TYPE >::OnButtonShowSubWindow(), vuSimpleFBR< SIZE, TYPE >::vuSimpleFBR(), and vuSimpleFBR< SIZE, TYPE >::~vuSimpleFBR().

template<int SIZE, class TYPE>
vuTorstensFourierFilter* vuSimpleFBR< SIZE, TYPE >::m_FourierFilter [protected]
 

Definition at line 144 of file vuSimpleFBR.h.

Referenced by vuSimpleFBR< SIZE, TYPE >::_updateFourierFilter(), vuSimpleFBR< SIZE, TYPE >::_updateViewFilter(), vuSimpleFBR< SIZE, TYPE >::OnChoiceFourierFilter(), vuSimpleFBR< SIZE, TYPE >::vuSimpleFBR(), and vuSimpleFBR< SIZE, TYPE >::~vuSimpleFBR().

template<int SIZE, class TYPE>
vuFixelMap<SIZE,float>* vuSimpleFBR< SIZE, TYPE >::m_Image [protected]
 

Definition at line 140 of file vuSimpleFBR.h.

Referenced by vuSimpleFBR< SIZE, TYPE >::_displayImage(), vuSimpleFBR< SIZE, TYPE >::_renderImage(), vuSimpleFBR< SIZE, TYPE >::OnButtonFitScale(), vuSimpleFBR< SIZE, TYPE >::vuSimpleFBR(), and vuSimpleFBR< SIZE, TYPE >::~vuSimpleFBR().

template<int SIZE, class TYPE>
vuSphericInteractive<SIZE,TYPE>* vuSimpleFBR< SIZE, TYPE >::m_Interactive [protected]
 

Definition at line 141 of file vuSimpleFBR.h.

Referenced by vuSimpleFBR< SIZE, TYPE >::_addViewWithIndex(), vuSimpleFBR< SIZE, TYPE >::_interactiveReconstruction(), vuSimpleFBR< SIZE, TYPE >::_renderImage(), vuSimpleFBR< SIZE, TYPE >::_resetInteractivePreprocessing(), vuSimpleFBR< SIZE, TYPE >::init(), vuSimpleFBR< SIZE, TYPE >::OnButtonFill(), vuSimpleFBR< SIZE, TYPE >::vuSimpleFBR(), and vuSimpleFBR< SIZE, TYPE >::~vuSimpleFBR().

template<int SIZE, class TYPE>
wxBoxSizer* vuSimpleFBR< SIZE, TYPE >::m_SIZERhint [private]
 

Definition at line 169 of file vuSimpleFBR.h.

Referenced by vuSimpleFBR< SIZE, TYPE >::_filterHintTextUpdate(), vuSimpleFBR< SIZE, TYPE >::addRight(), vuSimpleFBR< SIZE, TYPE >::vuSimpleFBR(), and vuSimpleFBR< SIZE, TYPE >::~vuSimpleFBR().

template<int SIZE, class TYPE>
wxBoxSizer* vuSimpleFBR< SIZE, TYPE >::m_SIZERpreprocess [private]
 

Definition at line 168 of file vuSimpleFBR.h.

Referenced by vuSimpleFBR< SIZE, TYPE >::addRight(), vuSimpleFBR< SIZE, TYPE >::OnCheckboxInteractiveReconst(), vuSimpleFBR< SIZE, TYPE >::vuSimpleFBR(), and vuSimpleFBR< SIZE, TYPE >::~vuSimpleFBR().

template<int SIZE, class TYPE>
vuSliceFilter* vuSimpleFBR< SIZE, TYPE >::m_SliceFilter [protected]
 

Definition at line 145 of file vuSimpleFBR.h.

Referenced by vuSimpleFBR< SIZE, TYPE >::_updateSliceFilter(), vuSimpleFBR< SIZE, TYPE >::_updateViewFilter(), vuSimpleFBR< SIZE, TYPE >::vuSimpleFBR(), and vuSimpleFBR< SIZE, TYPE >::~vuSimpleFBR().

template<int SIZE, class TYPE>
wxSlider* vuSimpleFBR< SIZE, TYPE >::m_SLIDERimageScale [private]
 

Definition at line 167 of file vuSimpleFBR.h.

Referenced by vuSimpleFBR< SIZE, TYPE >::_displayImage(), vuSimpleFBR< SIZE, TYPE >::addRight(), vuSimpleFBR< SIZE, TYPE >::OnButtonFitScale(), vuSimpleFBR< SIZE, TYPE >::OnChoiceRenderMethod(), vuSimpleFBR< SIZE, TYPE >::vuSimpleFBR(), and vuSimpleFBR< SIZE, TYPE >::~vuSimpleFBR().

template<int SIZE, class TYPE>
wxTextCtrl* vuSimpleFBR< SIZE, TYPE >::m_TEXTfilterHint [private]
 

Filter Choice.

Definition at line 152 of file vuSimpleFBR.h.

Referenced by vuSimpleFBR< SIZE, TYPE >::_filterHintTextUpdate(), vuSimpleFBR< SIZE, TYPE >::_updateViewFilter(), vuSimpleFBR< SIZE, TYPE >::addRight(), vuSimpleFBR< SIZE, TYPE >::vuSimpleFBR(), and vuSimpleFBR< SIZE, TYPE >::~vuSimpleFBR().


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