#include <vuSimpleFBR.h>
Inheritance diagram for vuSimpleFBR< SIZE, TYPE >:
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 vuCamera * | getCamera () |
This function must return a pointer to the camera that is taking the picture of the scene. | |
virtual vuImage * | getCurrentImage () |
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. | |
vu1 * | getVolume () |
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 |
vuTorstensFourierFilter * | m_FourierFilter |
vuSliceFilter * | m_SliceFilter |
bool * | m_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 |
|
Definition at line 18 of file vuSimpleFBR.h. |
|
|
|
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(). |
|
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:
|
Here is the call graph for this function:
|
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(). |
|
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:
|
Here is the call graph for this function:
|
Here is the call graph for this function:
|
Definition at line 74 of file vuSimpleFBR.cpp. Referenced by vuSimpleFBR< SIZE, TYPE >::init(). |
|
Here is the call graph for this function:
|
Here is the call graph for this function:
|
Here is the call graph for this function:
|
Here is the call graph for this function:
|
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. |
|
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:
|
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. |
|
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. |
|
|
returns a pointer to m_Data
Reimplemented from vuBasicUtility. Definition at line 455 of file vuSimpleFBR.cpp. |
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
Here is the call graph for this function:
|
channel checkbox list callback
Definition at line 707 of file vuSimpleFBR.cpp. References vuGLCanvas::redraw(). |
Here is the call graph for this function:
|
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:
|
Filter Choice callback.
Definition at line 528 of file vuSimpleFBR.cpp. References vuSimpleFBR< SIZE, TYPE >::_filterHintTextUpdate(). |
Here is the call graph for this function:
|
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:
|
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:
|
Keyboard handler.
Reimplemented from vuBasicUtility. Definition at line 450 of file vuSimpleFBR.cpp. |
|
Handles mouse commands from the user.
Reimplemented from vuBasicUtility. Definition at line 444 of file vuSimpleFBR.cpp. |
|
image scale slider callback
Definition at line 713 of file vuSimpleFBR.cpp. References vuGLCanvas::redraw(). |
Here is the call graph for this function:
|
Definition at line 147 of file vuSimpleFBR.h. |
|
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(). |
|
Definition at line 162 of file vuSimpleFBR.h. Referenced by vuSimpleFBR< SIZE, TYPE >::addRight(), vuSimpleFBR< SIZE, TYPE >::vuSimpleFBR(), and vuSimpleFBR< SIZE, TYPE >::~vuSimpleFBR(). |
|
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(). |
|
|
Definition at line 166 of file vuSimpleFBR.h. Referenced by vuSimpleFBR< SIZE, TYPE >::addRight(), vuSimpleFBR< SIZE, TYPE >::vuSimpleFBR(), and vuSimpleFBR< SIZE, TYPE >::~vuSimpleFBR(). |
|
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(). |
|
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(). |
|
|
|
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(). |
|
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(). |
|
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(). |
|
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(). |
|
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(). |
|
|
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(). |
|
|
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(). |
|
|
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(). |
|
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(). |
|
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(). |
|
|
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(). |