mitkTargetMeasurementScene Class Reference
mitkTargetMeasurementScene - a 3D scene to display a target region from a volume data, long/short axis are detected.
More...
#include <mitkTargetMeasurementScene.h>
Inherits mitkVis2Scene3D.
Inheritance diagram for mitkTargetMeasurementScene:
[legend]Collaboration diagram for mitkTargetMeasurementScene:
[legend]List of all members.
|
Public Member Functions |
virtual void | RenderGL () |
void | SetData (mitkICVolume *data, mitkICVolume *mask) |
void | SetDataModified () |
void | SetBackGroundColor (float r, float g, float b) |
void | GetBackGroundColor (float &r, float &g, float &b) |
void | SetSurfaceColor (float r, float g, float b) |
void | GetSurfaceColor (float &r, float &g, float &b) |
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 () |
Detailed Description
mitkTargetMeasurementScene - a 3D scene to display a target region from a volume data, long/short axis are detected.
mitkTargetMeasurementScene is a 3D scene to display a target region from a volume data, long/short axis are detected.
Member Function Documentation
float mitkTargetMeasurementScene::GetAmbient |
( |
|
) |
|
|
|
Get the ambient factor of the material of the isosurface - Returns:
- Return The ambient factor of the material of the isosurface
|
void mitkTargetMeasurementScene::GetBackGroundColor |
( |
float & |
r, |
|
|
float & |
g, |
|
|
float & |
b |
|
) |
|
|
|
Return the background color of the scene - Parameters:
-
| r | Return the red component of the background color. |
| g | Return the green component of the background color. |
| b | Return the blue component of the background color. |
|
float mitkTargetMeasurementScene::GetDiffuse |
( |
|
) |
|
|
|
Get the diffuse factor of the material of the isosurface - Returns:
- Return The diffuse factor of the material of the isosurface
|
float mitkTargetMeasurementScene::GetSpecular |
( |
|
) |
|
|
|
Get the specular factor of the material of the isosurface - Returns:
- Return The specular factor of the material of the isosurface
|
float mitkTargetMeasurementScene::GetSpecularPower |
( |
|
) |
|
|
|
Get the specular power of the material of the isosurface - Returns:
- Return The specular power of the material of the isosurface
|
void mitkTargetMeasurementScene::GetSurfaceColor |
( |
float & |
r, |
|
|
float & |
g, |
|
|
float & |
b |
|
) |
|
|
|
Get the color of the isosurface to be displayed - Parameters:
-
| r | Return the red component of the surface color. |
| g | Return the green component of the surface color. |
| b | Return the blue component of the surface color. |
|
virtual void mitkTargetMeasurementScene::RenderGL |
( |
|
) |
[virtual] |
|
|
The Interface for handling the render event pass by the container
Reimplemented from mitkVis2Scene3D. |
void mitkTargetMeasurementScene::SetAmbient |
( |
float |
value |
) |
|
|
|
Set the ambient factor of the material of the isosurface - Parameters:
-
| value | The ambient factor of the material of the isosurface |
|
void mitkTargetMeasurementScene::SetBackGroundColor |
( |
float |
r, |
|
|
float |
g, |
|
|
float |
b |
|
) |
|
|
|
Set the background color of the scene - Parameters:
-
| r | Specify the red component of the background color. |
| g | Specify the green component of the background color. |
| b | Specify the blue component of the background color. |
|
|
Set the data object(ICVolume) to be rendered. - Parameters:
-
| data | The data object to be rendered. |
|
void mitkTargetMeasurementScene::SetDataModified |
( |
|
) |
|
|
|
Tell the scene the data is modified when any modification is done to the data object |
void mitkTargetMeasurementScene::SetDiffuse |
( |
float |
value |
) |
|
|
|
Set the diffuse factor of the material of the isosurface - Parameters:
-
| value | The diffuse factor of the material of the isosurface |
|
void mitkTargetMeasurementScene::SetLightColor |
( |
float |
r, |
|
|
float |
g, |
|
|
float |
b |
|
) |
|
|
|
Set the color of the light source - Parameters:
-
| r | Specify the red component of the light source color. |
| g | Specify the green component of the light source color. |
| b | Specify the blue component of the light source color. |
|
void mitkTargetMeasurementScene::SetLightIntensity |
( |
float |
intensity |
) |
|
|
|
Set the light's intensity - Parameters:
-
| intensity | Light's intensity |
|
void mitkTargetMeasurementScene::SetSpecular |
( |
float |
value |
) |
|
|
|
Set the specular factor of the material of the isosurface - Parameters:
-
| value | The specular factor of the material of the isosurface |
|
void mitkTargetMeasurementScene::SetSpecularPower |
( |
float |
value |
) |
|
|
|
Set the specular power of the material of the isosurface - Parameters:
-
| value | The specular power of the material of the isosurface |
|
void mitkTargetMeasurementScene::SetSurfaceColor |
( |
float |
r, |
|
|
float |
g, |
|
|
float |
b |
|
) |
|
|
|
Set the color of the isosurface to be displayed - Parameters:
-
| r | Specify the red component of the surface color. |
| g | Specify the green component of the surface color. |
| b | Specify the blue component of the surface color. |
|
The documentation for this class was generated from the following file:
Generated on Tue Feb 25 15:06:23 2014 for MITK (Medical Imaging ToolKit) by
1.4.3