#include <mitkGLSLFullVRScene.h>
Inherits mitkVis2Scene3D.
Inheritance diagram for mitkGLSLFullVRScene:
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 () |
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 | 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 | SetSampleDistance (float sd) |
float | GetSampleDistance () |
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) |
mitkGLSLFullVRScene is a 3D scene for shaded semi-transparent rendering from volume datasets. Accelerated with the GLSL interface. mitkGLSLFullVRScene 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 diffuse factor of the material of the isosurface
|
|
Get the sampling distance of ray traversal.
|
|
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 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 sampling distance of ray traversal.
|
|
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. |