Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members

mitkCUDAAugmentedSurfaceVRScene Class Reference

mitkCUDAAugmentedSurfaceVRScene - a 3D scene to display isosurfaces from volume datasets. Accelerated with the CUDA interface. More...

#include <mitkCUDAAugmentedSurfaceVRScene.h>

Inherits mitkVis2Scene3D.

Inheritance diagram for mitkCUDAAugmentedSurfaceVRScene:

Inheritance graph
[legend]
Collaboration diagram for mitkCUDAAugmentedSurfaceVRScene:

Collaboration graph
[legend]
List of all members.

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)
void SetIsovalue (float isovalue)
float GetIsovalue ()
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 SetDensityFactor (float densityFactor)
float GetDensityFactor ()
mitkRGBATransferFunction1DGetTransferFunction ()
void SetTransferFunction (mitkRGBATransferFunction1D *tf)
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 BeginAddPeelingWidget ()
int GetCurrentWidgetLayerNumber ()
void SetCurrentWidgetLayerNumber (int number)
void RemoveCurrentPeelingWidget ()
void SetCroppingBounds (const float CroppingBounds[6])
void GetCroppingBounds (float CroppingBounds[6])

Detailed Description

mitkCUDAAugmentedSurfaceVRScene - a 3D scene to display isosurfaces from volume datasets. Accelerated with the CUDA interface.

mitkCUDAAugmentedSurfaceVRScene is a 3D scene to display isosurfaces from volume datasets. Accelerated with the CUDA interface. Comparing to mitkCUDAIsosurfaceVRScene, this isosurface has more abundunt color. mitkCUDAAugmentedSurfaceVRScene needs a container subclasses from mitkSceneContainer. You can use mitkGLWindow for the container, or implement your own container.


Member Function Documentation

void mitkCUDAAugmentedSurfaceVRScene::BeginAddPeelingWidget  ) 
 

Add a peeling widget into the scene

float mitkCUDAAugmentedSurfaceVRScene::GetAmbient  ) 
 

Get the ambient factor of the material of the isosurface

Returns:
Return The ambient factor of the material of the isosurface

void mitkCUDAAugmentedSurfaceVRScene::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.

void mitkCUDAAugmentedSurfaceVRScene::GetCroppingBounds float  CroppingBounds[6]  ) 
 

Get the cropping boundary

Parameters:
CroppingBounds,: the cropping boundary

int mitkCUDAAugmentedSurfaceVRScene::GetCurrentWidgetLayerNumber  ) 
 

See how many layers does the current peeling widget peel.

float mitkCUDAAugmentedSurfaceVRScene::GetDensityFactor  ) 
 

Get the density factor used in the coloring of the isosurface

Returns:
Return The density factor used in the coloring of the isosurface

float mitkCUDAAugmentedSurfaceVRScene::GetDiffuse  ) 
 

Get the diffuse factor of the material of the isosurface

Returns:
Return The diffuse factor of the material of the isosurface

float mitkCUDAAugmentedSurfaceVRScene::GetIsovalue  ) 
 

Get the isovalue of the isosurface to be displayed.

Returns:
Return the isovalue.

void mitkCUDAAugmentedSurfaceVRScene::GetLightDirection float &  x,
float &  y,
float &  z
 

Return the light direction

Parameters:
x Return the x component of the light direction.
y Return the y component of the light direction.
z Return the z component of the light direction.

float mitkCUDAAugmentedSurfaceVRScene::GetSpecular  ) 
 

Get the specular factor of the material of the isosurface

Returns:
Return The specular factor of the material of the isosurface

float mitkCUDAAugmentedSurfaceVRScene::GetSpecularPower  ) 
 

Get the specular power of the material of the isosurface

Returns:
Return The specular power of the material of the isosurface

mitkRGBATransferFunction1D* mitkCUDAAugmentedSurfaceVRScene::GetTransferFunction  ) 
 

Get the transfer function

Returns:
Return the transfer function.

virtual void mitkCUDAAugmentedSurfaceVRScene::OnMouseDown int  mouseButton,
bool  ctrlDown,
bool  shiftDown,
int  xPos,
int  yPos
[virtual]
 

The Interface for handling the mouse pressed event pass by the container

Reimplemented from mitkVis2Scene3D.

virtual void mitkCUDAAugmentedSurfaceVRScene::OnMouseMove bool  ctrlDown,
bool  shiftDown,
int  xPos,
int  yPos
[virtual]
 

The Interface for handling the mouse moved event pass by the container

Reimplemented from mitkVis2Scene3D.

virtual void mitkCUDAAugmentedSurfaceVRScene::OnMouseUp int  mouseButton,
bool  ctrlDown,
bool  shiftDown,
int  xPos,
int  yPos
[virtual]
 

The Interface for handling the mouse released event pass by the container

Reimplemented from mitkVis2Scene3D.

void mitkCUDAAugmentedSurfaceVRScene::RemoveCurrentPeelingWidget  ) 
 

Remove the current peeling widget

virtual void mitkCUDAAugmentedSurfaceVRScene::RenderGL  )  [virtual]
 

The Interface for handling the render event pass by the container

Reimplemented from mitkVis2Scene3D.

void mitkCUDAAugmentedSurfaceVRScene::RotateLightDirection bool  turnOn  ) 
 

Turn this on to enter the light rotation interaction mode.

Parameters:
Whether turn the light rotation mode on.

void mitkCUDAAugmentedSurfaceVRScene::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 mitkCUDAAugmentedSurfaceVRScene::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.

void mitkCUDAAugmentedSurfaceVRScene::SetCroppingBounds const float  CroppingBounds[6]  ) 
 

Set the cropping boundary

Parameters:
CroppingBounds,: the cropping boundary

void mitkCUDAAugmentedSurfaceVRScene::SetCurrentWidgetLayerNumber int  number  ) 
 

Set how many layers does the current peeling widget peel.

void mitkCUDAAugmentedSurfaceVRScene::SetData mitkICVolume data  ) 
 

Set the data object to be rendered

Parameters:
data The data object to be rendered.

void mitkCUDAAugmentedSurfaceVRScene::SetDataModified  ) 
 

Tell the scene the data is modified when any modification is done to the data object

void mitkCUDAAugmentedSurfaceVRScene::SetDensityFactor float  densityFactor  ) 
 

Set the density factor used in the coloring of the isosurface

Parameters:
densityFactor The density factor used in the coloring of the isosurface

void mitkCUDAAugmentedSurfaceVRScene::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 mitkCUDAAugmentedSurfaceVRScene::SetIsovalue float  isovalue  ) 
 

Set the isovalue of the isosurface to be displayed.

Parameters:
isovalue The isovalue.

void mitkCUDAAugmentedSurfaceVRScene::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 mitkCUDAAugmentedSurfaceVRScene::SetLightDirection float  x,
float  y,
float  z
 

Set the light direction

Parameters:
x Specify the x component of the light direction.
y Specify the y component of the light direction.
z Specify the z component of the light direction.

void mitkCUDAAugmentedSurfaceVRScene::SetLightIntensity float  intensity  ) 
 

Set the light's intensity

Parameters:
intensity Light's intensity

void mitkCUDAAugmentedSurfaceVRScene::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 mitkCUDAAugmentedSurfaceVRScene::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 mitkCUDAAugmentedSurfaceVRScene::SetTransferFunction mitkRGBATransferFunction1D tf  ) 
 

Set the transfer function

Parameters:
tf The transfer function.


The documentation for this class was generated from the following file:
Generated on Tue Feb 25 15:01:42 2014 for MITK (Medical Imaging ToolKit) by  doxygen 1.4.3