#include <vuSphericRevolver.h>
Inheritance diagram for vuSphericRevolver< SIZE, TYPE >:
Public Member Functions | |
vuSphericRevolver () | |
Constructor. | |
~vuSphericRevolver () | |
Destructor. | |
virtual const char * | _titleString () |
bool | init (const char *DataFile) |
virtual void | addBottom (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 | { idNUMBEROFVIEWS, idIMAGESCALE, idIMAGESCALE2ONE } |
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. | |
wxString | helpText () |
This callback defines the help text for the HelpPanel. -ms-. | |
vu1 * | getVolume () |
returns a pointer to m_Data | |
void | OnChoiceNumberOfViews (wxCommandEvent &event) |
'Choose number of views' - callback | |
void | OnScaleImage (wxScrollEvent &event) |
event handler for image scaler. | |
void | OnScaleImage2One (wxScrollEvent &event) |
event handler for scale image to one button | |
Protected Attributes | |
vu1611_2< SIZE, TYPE > * | m_Data |
The lightfield volume owned by the utility. | |
Private Member Functions | |
void | _updateScaleAndRefresh (int scale) |
Private Attributes | |
wxChoice * | m_CHOICEnumberOfViews |
wxSlider * | m_ImageScale |
Definition at line 11 of file vuSphericRevolver.h.
|
Definition at line 14 of file vuSphericRevolver.h. |
|
Constructor.
Definition at line 6 of file vuSphericRevolver.cpp. References vuSphericRevolver< SIZE, TYPE >::m_Data. |
|
Destructor.
Definition at line 12 of file vuSphericRevolver.cpp. References CHECKNDELETE, and vuSphericRevolver< SIZE, TYPE >::m_Data. |
|
Definition at line 18 of file vuSphericRevolver.cpp. Referenced by vuSphericRevolver< SIZE, TYPE >::init(). |
|
Definition at line 296 of file vuSphericRevolver.cpp. References vuSphericRevolver< SIZE, TYPE >::m_ImageScale, and vuGLCanvas::redraw(). Referenced by vuSphericRevolver< SIZE, TYPE >::onKeyboard(). |
Here is the call graph for this function:
|
This method adds controls to the bottom of the window.
Reimplemented from vuBasicUtility. Definition at line 75 of file vuSphericRevolver.cpp. References vuSphericRevolver< SIZE, TYPE >::idIMAGESCALE, vuSphericRevolver< SIZE, TYPE >::idIMAGESCALE2ONE, vuSphericRevolver< SIZE, TYPE >::idNUMBEROFVIEWS, vuSphericRevolver< SIZE, TYPE >::m_CHOICEnumberOfViews, vuSphericRevolver< SIZE, TYPE >::m_ImageScale, and NULL. |
|
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 287 of file vuSphericRevolver.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 281 of file vuSphericRevolver.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 269 of file vuSphericRevolver.cpp. References vuSphericRevolver< 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 275 of file vuSphericRevolver.cpp. |
|
returns a pointer to m_Data
Reimplemented from vuBasicUtility. Definition at line 225 of file vuSphericRevolver.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 120 of file vuSphericRevolver.cpp. References vuGLCanvas::getHeight(), vuGLCanvas::getWidth(), and vuSphericRevolver< SIZE, TYPE >::m_Data. |
Here is the call graph for this function:
|
The method calls the render() method.
Reimplemented from vuBasicUtility. Definition at line 130 of file vuSphericRevolver.cpp. References dword, vuSphericViewFilter< SIZE, TYPE >::getView(), vuFixelMap< SIZE, TYPE >::glRender(), vuSphericRevolver< SIZE, TYPE >::m_Data, vuSphericRevolver< SIZE, TYPE >::m_ImageScale, and vuFixelMap< SIZE, TYPE >::scaleAndBias(). |
Here is the call graph for this function:
|
Resizes the gl viewport and renders the volume.
Reimplemented from vuBasicUtility. Definition at line 166 of file vuSphericRevolver.cpp. References vuGLCanvas::getHeight(), vuGLCanvas::getWidth(), vuFixelMap< SIZE, TYPE >::glResize(), and vuSphericRevolver< SIZE, TYPE >::m_Data. |
Here is the call graph for this function:
|
This callback defines the help text for the HelpPanel. -ms-.
Reimplemented from vuBasicUtility. Definition at line 198 of file vuSphericRevolver.cpp. |
|
Initializes the utility window. A object is created and the volume data is read. The window appears when finished. Reimplemented from vuBasicUtility. Reimplemented in vuSphericRevolver1B, vuSphericRevolver1F, vuSphericRevolver2F, vuSphericRevolver3B, and vuSphericRevolver3F. Definition at line 24 of file vuSphericRevolver.cpp. References vuSphericRevolver< SIZE, TYPE >::_titleString(), vuString::c_str(), and vuSphericRevolver< SIZE, TYPE >::m_Data. Referenced by vuSphericRevolver3F::init(), vuSphericRevolver3B::init(), vuSphericRevolver2F::init(), vuSphericRevolver1F::init(), and vuSphericRevolver1B::init(). |
Here is the call graph for this function:
|
'Choose number of views' - callback
Definition at line 235 of file vuSphericRevolver.cpp. References dword, vuSphericRevolver< SIZE, TYPE >::m_CHOICEnumberOfViews, vuSphericRevolver< SIZE, TYPE >::m_Data, vuGLCanvas::redraw(), and vuSphLfFlt_Nearest< SIZE, TYPE >::setNumberOfViews(). |
Here is the call graph for this function:
|
Keyboard handler.
Reimplemented from vuBasicUtility. Definition at line 178 of file vuSphericRevolver.cpp. References vuSphericRevolver< SIZE, TYPE >::_updateScaleAndRefresh(), and vuSphericRevolver< SIZE, TYPE >::m_ImageScale. |
Here is the call graph for this function:
|
Handles mouse commands from the user.
Reimplemented from vuBasicUtility. Definition at line 172 of file vuSphericRevolver.cpp. |
|
event handler for image scaler.
Definition at line 252 of file vuSphericRevolver.cpp. References vuGLCanvas::redraw(). |
Here is the call graph for this function:
|
event handler for scale image to one button
Definition at line 259 of file vuSphericRevolver.cpp. References vuGLCanvas::redraw(). |
Here is the call graph for this function:
|
Definition at line 85 of file vuSphericRevolver.h. Referenced by vuSphericRevolver< SIZE, TYPE >::addBottom(), and vuSphericRevolver< SIZE, TYPE >::OnChoiceNumberOfViews(). |
|
The lightfield volume owned by the utility.
Definition at line 81 of file vuSphericRevolver.h. Referenced by vuSphericRevolver< SIZE, TYPE >::getCamera(), vuSphericRevolver< SIZE, TYPE >::glInit(), vuSphericRevolver< SIZE, TYPE >::glRender(), vuSphericRevolver< SIZE, TYPE >::glResize(), vuSphericRevolver< SIZE, TYPE >::init(), vuSphericRevolver< SIZE, TYPE >::OnChoiceNumberOfViews(), vuSphericRevolver< SIZE, TYPE >::vuSphericRevolver(), and vuSphericRevolver< SIZE, TYPE >::~vuSphericRevolver(). |
|
Definition at line 86 of file vuSphericRevolver.h. Referenced by vuSphericRevolver< SIZE, TYPE >::_updateScaleAndRefresh(), vuSphericRevolver< SIZE, TYPE >::addBottom(), vuSphericRevolver< SIZE, TYPE >::glRender(), and vuSphericRevolver< SIZE, TYPE >::onKeyboard(). |