#include <mitkFullVRScene.h>
Inherits mitkVis2Scene3D.
Inheritance diagram for mitkFullVRScene:
Public Member Functions | |
virtual void | RenderGL () |
void | SetData (mitkICVolume *data) |
void | SetDataModified () |
void | SetCoherentData (mitkCoherentVolume *CVolume) |
void | SetCoherentDataModified () |
void | SetBackGroundColor (float r, float g, float b) |
void | GetBackGroundColor (float &r, float &g, float &b) |
mitkRGBATransferFunction1D * | GetTransferFunction () |
void | SetTransferFunction (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]) |
mitkFullVRScene is a 3D scene for shaded semi-transparent rendering from volume datasets. Optimized for multicore CPU. mitkFullVRScene needs a container subclasses from mitkSceneContainer. You can use mitkGLWindow for the container, or implement your own container. Two kinds of data source are supported, ICVolume and CohrerentVolume.
|
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 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 data object(CoherentVolume) to be rendered.
|
|
Tell the scene the data is modified when any modification is done to the data object |
|
Set the cropping boundary
|
|
Set the data object(ICVolume) 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
|
|
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. |