#include <mitkCUDAVersatileVRScene.h>
Inherits mitkVis2Scene3D.
Inheritance diagram for mitkCUDAVersatileVRScene:
Public Member Functions | |
virtual void | RenderGL () |
void | SetData (mitkICVolume *data) |
void | SetDataModified () |
void | SetBackGroundColor (float r, float g, float b) |
void | GetBackGroundColor (float &r, float &g, float &b) |
mitkRGBATransferFunction1D * | GetTransferFunction (int index) |
void | SetTransferFunction (int index, mitkRGBATransferFunction1D *tf) |
void | SetStdSampleDistance (float stdSampleDistance) |
float | GetStdSampleDistance () |
void | SetLightDirection (float x, float y, float z) |
void | GetLightDirection (float &x, float &y, float &z) |
void | SetLightIntensity (float intensity) |
void | SetLightColor (float r, float g, float b) |
void | SetAmbient (float value) |
float | GetAmbient () |
void | SetDiffuse (float value) |
float | GetDiffuse () |
void | SetSpecular (float value) |
float | GetSpecular () |
void | SetSpecularPower (float value) |
float | GetSpecularPower () |
void | RotateLightDirection (bool turnOn) |
virtual void | OnMouseDown (int mouseButton, bool ctrlDown, bool shiftDown, int xPos, int yPos) |
virtual void | OnMouseUp (int mouseButton, bool ctrlDown, bool shiftDown, int xPos, int yPos) |
virtual void | OnMouseMove (bool ctrlDown, bool shiftDown, int xPos, int yPos) |
void | SetCroppingBounds (const float CroppingBounds[6]) |
void | GetCroppingBounds (float CroppingBounds[6]) |
void | SetPreintegration (bool preInt) |
bool | GetPreintegration () |
mitkCUDAVersatileVRScene is a 3D scene for shaded semi-transparent rendering from volume datasets. Accelerated with the CUDA interface. mitkCUDAVersatileVRScene needs a container subclasses from mitkSceneContainer. You can use mitkGLWindow for the container, or implement your own container.
|
Get the ambient factor of the material of the isosurface
|
|
Return the background color of the scene
|
|
Get the cropping boundary
|
|
Get the diffuse factor of the material of the isosurface
|
|
Return the light direction
|
|
Get the preintegration status
|
|
Get the specular factor of the material of the isosurface
|
|
Get the specular power of the material of the isosurface
|
|
Get the standard sample distance where the opacity of each step equals to the alpha channel of the transfered value.
|
|
Get the transfer function
|
|
The Interface for handling the mouse pressed event pass by the container Reimplemented from mitkVis2Scene3D. |
|
The Interface for handling the mouse moved event pass by the container Reimplemented from mitkVis2Scene3D. |
|
The Interface for handling the mouse released event pass by the container Reimplemented from mitkVis2Scene3D. |
|
The Interface for handling the render event pass by the container Reimplemented from mitkVis2Scene3D. |
|
Turn this on to enter the light rotation interaction mode.
|
|
Set the ambient factor of the material of the isosurface
|
|
Set the background color of the scene
|
|
Set the cropping boundary
|
|
Set the data object to be rendered
|
|
Tell the scene the data is modified when any modification is done to the data object |
|
Set the diffuse factor of the material of the isosurface
|
|
Set the color of the light source
|
|
Set the light direction
|
|
Set the light's intensity
|
|
Set the preintegration status
|
|
Set the specular factor of the material of the isosurface
|
|
Set the specular power of the material of the isosurface
|
|
Set the standard sample distance where the opacity of each step equals to the alpha channel of the transfered value.
|
|
Set the transfer function
|