#include <vuSimpleFVRCanvas.h>
Inheritance diagram for vuSimpleFVRCanvas:


Public Member Functions | |
| vuSimpleFVRCanvas (vuBasicSubViewer *parent, wxWindowID id=-1) | |
| The constructor. | |
| ~vuSimpleFVRCanvas () | |
| The destructor. | |
| void | setFVR (vu1112119 *fvr) |
| sets the to displayed volume | |
| void | setFourierVolume (vuFourierVolume1 *volume) |
| void | setRenderMethod (dword method) |
| sets the rendering method | |
| 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 | |
| vu1112119 * | m_FVR |
| vuFourierVolume1 * | m_FourierVolume |
| dword | m_RenderMethod |
| vuFixelMap1F * | m_Image |
| vuFixelMap3F * | m_ImageRGB |
| float | m_ImageScale |
|
||||||||||||
|
The constructor.
Definition at line 9 of file vuSimpleFVRCanvas.cpp. References m_FourierVolume, m_FVR, m_Image, m_ImageRGB, m_ImageScale, and m_RenderMethod. |
|
|
The destructor.
Definition at line 22 of file vuSimpleFVRCanvas.cpp. References CHECKNDELETE, m_FourierVolume, m_FVR, m_Image, and m_ImageRGB. |
|
|
clear canvas
Definition at line 96 of file vuSimpleFVRCanvas.cpp. References byte, dword, vuGLCanvas::getHeight(), vuGLCanvas::getWidth(), GL_LUMINANCE, GL_UNSIGNED_BYTE, glDrawPixels(), and glPixelZoom(). Referenced by render(). |
Here is the call graph for this function:

|
||||||||||||
|
Definition at line 170 of file vuSimpleFVRCanvas.cpp. References dword, vuFixelMap< SIZE, TYPE >::getBuffer(), vuFixelMap< SIZE, TYPE >::getHeight(), vuFixelMap< SIZE, TYPE >::getWidth(), vuFixelMap1F, and vuFixelMap3F. Referenced by _renderImage(). |
Here is the call graph for this function:

|
Here is the call graph for this function:

|
Here is the call graph for this function:

|
||||||||||||
|
calculate the image difference
Definition at line 215 of file vuSimpleFVRCanvas.cpp. References linalg::abs(), dword, vuFixelMap< SIZE, TYPE >::getBuffer(), vuFixelMap< SIZE, TYPE >::getHeight(), vuFixelMap< SIZE, TYPE >::getWidth(), and vuFixelMap1F. Referenced by _renderImage(), and _renderImageOld(). |
Here is the call graph for this function:

|
|
Initializes openGL for the transfer function canvas.
Reimplemented from vuGLCanvas. Definition at line 58 of file vuSimpleFVRCanvas.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 88 of file vuSimpleFVRCanvas.cpp. |
|
|
Renders the transfer function.
Reimplemented from vuGLCanvas. Definition at line 76 of file vuSimpleFVRCanvas.cpp. References _clearCanvas(), and _renderImage(). |
Here is the call graph for this function:

|
|
Sets up the coordinates for the canvas.
Reimplemented from vuGLCanvas. Definition at line 68 of file vuSimpleFVRCanvas.cpp. |
|
|
Definition at line 37 of file vuSimpleFVRCanvas.cpp. References m_FourierVolume, and vuFourierVolume1. Referenced by vuSimpleFVRDialog::setFourierVolume(). |
|
|
sets the to displayed volume
Definition at line 32 of file vuSimpleFVRCanvas.cpp. References m_FVR. Referenced by vuSimpleFVRDialog::OnButtonCloseFile(), vuSimpleFVRDialog::OnButtonLoadFile(), vuSimpleFVRDialog::Show(), and vuSimpleFVRDialog::~vuSimpleFVRDialog(). |
|
|
set image scale
Definition at line 49 of file vuSimpleFVRCanvas.cpp. References m_ImageScale. Referenced by vuSimpleFVRDialog::OnSliderImageScale(). |
|
|
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 43 of file vuSimpleFVRCanvas.cpp. References m_RenderMethod. Referenced by vuSimpleFVRDialog::OnChoiceMethod(). |
|
|
Definition at line 66 of file vuSimpleFVRCanvas.h. Referenced by _renderImage(), _renderImageOld(), setFourierVolume(), vuSimpleFVRCanvas(), and ~vuSimpleFVRCanvas(). |
|
|
Definition at line 65 of file vuSimpleFVRCanvas.h. Referenced by _renderImage(), _renderImageOld(), setFVR(), vuSimpleFVRCanvas(), and ~vuSimpleFVRCanvas(). |
|
|
Definition at line 68 of file vuSimpleFVRCanvas.h. Referenced by _renderImage(), _renderImageOld(), vuSimpleFVRCanvas(), and ~vuSimpleFVRCanvas(). |
|
|
Definition at line 69 of file vuSimpleFVRCanvas.h. Referenced by _renderImage(), vuSimpleFVRCanvas(), and ~vuSimpleFVRCanvas(). |
|
|
Definition at line 70 of file vuSimpleFVRCanvas.h. Referenced by setImageScale(), and vuSimpleFVRCanvas(). |
|
|
Definition at line 67 of file vuSimpleFVRCanvas.h. Referenced by _renderImage(), _renderImageOld(), setRenderMethod(), and vuSimpleFVRCanvas(). |
1.3.9.1