#include <vuFBRSubCanvas.h>
Inheritance diagram for vuFBRSubCanvas< SIZE, TYPE >:
Public Member Functions | |
vuFBRSubCanvas (vuBasicSubViewer *parent, wxWindowID id=-1) | |
The constructor. | |
~vuFBRSubCanvas () | |
The destructor. | |
void | setRenderMethod (dword method) |
sets the rendering method | |
void | setInteractive (vuSphericInteractive< SIZE, TYPE > *interactive) |
void | setImageScale (float scale) |
set image scale | |
Protected Member Functions | |
bool | glInit () |
Initializes openGL for the transfer function canvas. | |
void | render () |
Renders the transfer function. | |
void | resize () |
Sets up the coordinates for the canvas. | |
void | _clearCanvas () |
clear canvas | |
void | _renderImage () |
render image | |
void | _copyDeltaImageToRGB (vuFixelMap1F *errorMap, vuFixelMap3F *rgbMap) |
void | _renderImageOld () |
bool | _substract (vuFixelMap1F *srcImg, vuFixelMap1F *destImg) |
calculate the image difference | |
void | postEvent (wxEventType ev) |
Helper function that posts the passed in event to the event handler. | |
Protected Attributes | |
vuSphericInteractive< SIZE, TYPE > * | m_Interactive |
dword | m_RenderMethod |
vuFixelMap1F * | m_Image |
vuFixelMap3F * | m_ImageRGB |
float | m_ImageScale |
Definition at line 15 of file vuFBRSubCanvas.h.
|
The constructor.
Definition at line 8 of file vuFBRSubCanvas.cpp. References vuFBRSubCanvas< SIZE, TYPE >::m_Image, vuFBRSubCanvas< SIZE, TYPE >::m_ImageRGB, vuFBRSubCanvas< SIZE, TYPE >::m_ImageScale, vuFBRSubCanvas< SIZE, TYPE >::m_Interactive, vuFBRSubCanvas< SIZE, TYPE >::m_RenderMethod, and vuFixelMap1F. |
|
The destructor.
Definition at line 24 of file vuFBRSubCanvas.cpp. References CHECKNDELETE, vuFBRSubCanvas< SIZE, TYPE >::m_Image, and vuFBRSubCanvas< SIZE, TYPE >::m_ImageRGB. |
|
clear canvas
|
|
|
|
render image
|
|
|
|
calculate the image difference
|
|
Initializes openGL for the transfer function canvas.
Reimplemented from vuGLCanvas. Definition at line 55 of file vuFBRSubCanvas.cpp. References glClearColor(). |
Here is the call graph for this function:
|
Helper function that posts the passed in event to the event handler.
Definition at line 93 of file vuFBRSubCanvas.cpp. |
|
Renders the transfer function.
Reimplemented from vuGLCanvas. Definition at line 79 of file vuFBRSubCanvas.cpp. References vuSphericView< SIZE, TYPE >::glRender(), and vuFBRSubCanvas< SIZE, TYPE >::m_Interactive. |
Here is the call graph for this function:
|
Sets up the coordinates for the canvas.
Reimplemented from vuGLCanvas. Definition at line 66 of file vuFBRSubCanvas.cpp. References vuGLCanvas::getHeight(), vuGLCanvas::getWidth(), vuSphericView< SIZE, TYPE >::glResize(), and vuFBRSubCanvas< SIZE, TYPE >::m_Interactive. |
Here is the call graph for this function:
|
set image scale
Definition at line 39 of file vuFBRSubCanvas.cpp. References vuFBRSubCanvas< SIZE, TYPE >::m_ImageScale. |
|
Definition at line 45 of file vuFBRSubCanvas.cpp. References vuFBRSubCanvas< SIZE, TYPE >::m_Interactive. |
|
sets the rendering method following methods are supported: 0 ... render image (default) 1 ... render image delta 2 ... render frequency amplitude 3 ... render frequency amplitude delta 4 ... render frequency phase 5 ... render frequency phase delta 6 ... render frequency real part 7 ... render frequency real part delta 8 ... render frequency imaginary part 9 ... render frequency imaginary part delta Definition at line 32 of file vuFBRSubCanvas.cpp. References vuFBRSubCanvas< SIZE, TYPE >::m_RenderMethod. |
|
Definition at line 71 of file vuFBRSubCanvas.h. Referenced by vuFBRSubCanvas< SIZE, TYPE >::vuFBRSubCanvas(), and vuFBRSubCanvas< SIZE, TYPE >::~vuFBRSubCanvas(). |
|
Definition at line 72 of file vuFBRSubCanvas.h. Referenced by vuFBRSubCanvas< SIZE, TYPE >::vuFBRSubCanvas(), and vuFBRSubCanvas< SIZE, TYPE >::~vuFBRSubCanvas(). |
|
Definition at line 73 of file vuFBRSubCanvas.h. Referenced by vuFBRSubCanvas< SIZE, TYPE >::setImageScale(), and vuFBRSubCanvas< SIZE, TYPE >::vuFBRSubCanvas(). |
|
Definition at line 68 of file vuFBRSubCanvas.h. Referenced by vuFBRSubCanvas< SIZE, TYPE >::render(), vuFBRSubCanvas< SIZE, TYPE >::resize(), vuFBRSubCanvas< SIZE, TYPE >::setInteractive(), and vuFBRSubCanvas< SIZE, TYPE >::vuFBRSubCanvas(). |
|
Definition at line 70 of file vuFBRSubCanvas.h. Referenced by vuFBRSubCanvas< SIZE, TYPE >::setRenderMethod(), and vuFBRSubCanvas< SIZE, TYPE >::vuFBRSubCanvas(). |