#include <mitkCUDASegmentedVRScene.h>
Inherits mitkVis2Scene3D.
Inheritance diagram for mitkCUDASegmentedVRScene:
Public Member Functions | |
virtual void | RenderGL () |
void | SetData (mitkICVolume *data) |
void | SetMaskVolume (mitkICVolume *data) |
mitkICVolume * | GetMaskVolume () |
void | SetDataModified () |
void | SetMaskModified () |
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 | SetShade (bool shade) |
bool | GetShade () |
void | ShadeOn () |
void | ShadeOff () |
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 | SetIllustrativeShading (int illustrative) |
bool | GetIllustrativeShading () |
void | SetCroppingBounds (const float CroppingBounds[6]) |
void | GetCroppingBounds (float CroppingBounds[6]) |
mitkCUDASegmentedVRScene is a 3D scene for shaded semi-transparent rendering from segmented volume datasets. Accelerated with the CUDA interface. mitkCUDASegmentedVRScene 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
|
|
Get the illustrative shading status
|
|
Return the light direction
|
|
Get the mask of the segmentation of the dataset
|
|
Get the shading 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
|
|
Turn on or turn off illustrative shading.
|
|
Set the color of the light source
|
|
Set the light direction
|
|
Set the light's intensity
|
|
Tell the scene the mask is modified when any modification is done to the mask |
|
Set the mask of the segmentation of the dataset
|
|
Turn on or turn off shading.
|
|
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
|
|
Turn off shading. |
|
Turn on shading. |