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

mitkCUDAValueBasedStateVRScene Class Reference

mitkCUDADeltaAccStateVRScene - a 3D scene for volume rendering with value based ray feature analysis. Accelerated with the CUDA interface. More...

#include <mitkCUDAValueBasedStateVRScene.h>

Inherits mitkVis2Scene3D.

Inheritance diagram for mitkCUDAValueBasedStateVRScene:

Inheritance graph
[legend]
Collaboration diagram for mitkCUDAValueBasedStateVRScene:

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 SetMaxLayer (int maxLayer)
int GetMaxLayer ()
void SetStateController (int id, int less_more, float value)
void GetStateController (int id, int &less_more, float &value)
void SetThicknessThreshold (float thincknessThresh)
float GetThicknessThreshold ()
mitkRGBATransferFunction1DGetTransferFunction (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 SetLayerShadingMode (int layer, ShadingMode mode)
void SetCroppingBounds (const float CroppingBounds[6])
void GetCroppingBounds (float CroppingBounds[6])
void SetBackwardsTest (bool test)
bool GetBackwardsTest ()

Detailed Description

mitkCUDADeltaAccStateVRScene - a 3D scene for volume rendering with value based ray feature analysis. Accelerated with the CUDA interface.

mitkCUDADeltaAccStateVRScene is a 3D scene for volume rendering with value based ray feature analysis. Accelerated with the CUDA interface.


Member Function Documentation

float mitkCUDAValueBasedStateVRScene::GetAmbient  ) 
 

Get the ambient factor of the material of the isosurface

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

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

bool mitkCUDAValueBasedStateVRScene::GetBackwardsTest  )  [inline]
 

Get the backwards test status

Returns:
: the backwards test status

void mitkCUDAValueBasedStateVRScene::GetCroppingBounds float  CroppingBounds[6]  ) 
 

Get the cropping boundary

Parameters:
CroppingBounds,: the cropping boundary

float mitkCUDAValueBasedStateVRScene::GetDiffuse  ) 
 

Get the diffuse factor of the material of the isosurface

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

bool mitkCUDAValueBasedStateVRScene::GetIllustrativeShading  ) 
 

Get the illustrative shading status

Returns:
: Return the illustrative shading status.

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

int mitkCUDAValueBasedStateVRScene::GetMaxLayer  ) 
 

Get the maximum layer number

Returns:
: the maximum layer number

bool mitkCUDAValueBasedStateVRScene::GetShade  ) 
 

Get the shading status

Returns:
Return the shading status.

float mitkCUDAValueBasedStateVRScene::GetSpecular  ) 
 

Get the specular factor of the material of the isosurface

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

float mitkCUDAValueBasedStateVRScene::GetSpecularPower  ) 
 

Get the specular power of the material of the isosurface

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

void mitkCUDAValueBasedStateVRScene::GetStateController int  id,
int &  less_more,
float &  value
 

Get the ith state controller

Parameters:
id,: layer id
less_more,: direction of inequality
value,: threshold value

float mitkCUDAValueBasedStateVRScene::GetStdSampleDistance  ) 
 

Get the standard sample distance where the opacity of each step equals to the alpha channel of the transfered value.

Returns:
Return the standard sample distance

float mitkCUDAValueBasedStateVRScene::GetThicknessThreshold  ) 
 

Get the thickness threshold value

Returns:
: the thickness threshold value

mitkRGBATransferFunction1D* mitkCUDAValueBasedStateVRScene::GetTransferFunction int  index  ) 
 

Get the transfer function

Returns:
Return the transfer function.

virtual void mitkCUDAValueBasedStateVRScene::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 mitkCUDAValueBasedStateVRScene::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 mitkCUDAValueBasedStateVRScene::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.

virtual void mitkCUDAValueBasedStateVRScene::RenderGL  )  [virtual]
 

The Interface for handling the render event pass by the container

Reimplemented from mitkVis2Scene3D.

void mitkCUDAValueBasedStateVRScene::RotateLightDirection bool  turnOn  ) 
 

Turn this on to enter the light rotation interaction mode.

Parameters:
Whether turn the light rotation mode on.

void mitkCUDAValueBasedStateVRScene::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 mitkCUDAValueBasedStateVRScene::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 mitkCUDAValueBasedStateVRScene::SetBackwardsTest bool  test  )  [inline]
 

Set the backwards test status

Parameters:
test,: the backwards test status

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

Set the cropping boundary

Parameters:
CroppingBounds,: the cropping boundary

void mitkCUDAValueBasedStateVRScene::SetData mitkICVolume data  ) 
 

Set the data object to be rendered

Parameters:
data The data object to be rendered.

void mitkCUDAValueBasedStateVRScene::SetDataModified  ) 
 

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

void mitkCUDAValueBasedStateVRScene::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 mitkCUDAValueBasedStateVRScene::SetIllustrativeShading int  illustrative  ) 
 

Turn on or turn off illustrative shading.

Parameters:
shade,: The illustrative shading status.

void mitkCUDAValueBasedStateVRScene::SetLayerShadingMode int  layer,
ShadingMode  mode
 

Set shading mode of a layer

Parameters:
layer,: the id of the layer
mode,: the shading mode

void mitkCUDAValueBasedStateVRScene::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 mitkCUDAValueBasedStateVRScene::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 mitkCUDAValueBasedStateVRScene::SetLightIntensity float  intensity  ) 
 

Set the light's intensity

Parameters:
intensity Light's intensity

void mitkCUDAValueBasedStateVRScene::SetMaxLayer int  maxLayer  ) 
 

Set the maximum layer number

Parameters:
maxLayer,: the maximum layer number

void mitkCUDAValueBasedStateVRScene::SetShade bool  shade  ) 
 

Turn on or turn off shading.

Parameters:
shade The shading status.

void mitkCUDAValueBasedStateVRScene::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 mitkCUDAValueBasedStateVRScene::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 mitkCUDAValueBasedStateVRScene::SetStateController int  id,
int  less_more,
float  value
 

Set the ith state controller

Parameters:
id,: layer id
less_more,: direction of inequality
value,: threshold value

void mitkCUDAValueBasedStateVRScene::SetStdSampleDistance float  stdSampleDistance  ) 
 

Set the standard sample distance where the opacity of each step equals to the alpha channel of the transfered value.

Parameters:
stdSampleDistance The standard sample distance

void mitkCUDAValueBasedStateVRScene::SetThicknessThreshold float  thincknessThresh  ) 
 

Set the thickness threshold value

Parameters:
thincknessThresh,: the thickness threshold value

void mitkCUDAValueBasedStateVRScene::SetTransferFunction int  index,
mitkRGBATransferFunction1D tf
 

Set the transfer function

Parameters:
tf The transfer function.

void mitkCUDAValueBasedStateVRScene::ShadeOff  ) 
 

Turn off shading.

void mitkCUDAValueBasedStateVRScene::ShadeOn  ) 
 

Turn on shading.


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