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

mitkVolumeRendererRayCasting Class Reference

mitkVolumeRendererRayCasting - a concrete volume renderer for rendering a volume More...

#include <mitkVolumeRendererRayCasting.h>

Inherits mitkVolumeRenderer.

Inheritance diagram for mitkVolumeRendererRayCasting:

Inheritance graph
[legend]
Collaboration diagram for mitkVolumeRendererRayCasting:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void PrintSelf (ostream &os)
virtual int Render (mitkScene *scene, mitkVolumeModel *vol)
void SetSampleDistance (float fVal)
float GetSampleDistance ()
void SetVolumeRayCastFunction (mitkVolumeRayCastFunction *oVal)
mitkVolumeRayCastFunctionGetVolumeRayCastFunction ()
void SetGradientEstimator (mitkEncodedGradientEstimator *gradest)
mitkEncodedGradientEstimatorGetGradientEstimator ()
mitkEncodedGradientShaderGetEncodedGradientShader ()
float GetImageSampleDistanceMinValue ()
float GetImageSampleDistanceMaxValue ()
void SetImageSampleDistance (float fVal)
float GetImageSampleDistance ()
float GetMinimumImageSampleDistanceMinValue ()
float GetMinimumImageSampleDistanceMaxValue ()
float GetMaximumImageSampleDistanceMinValue ()
float GetMaximumImageSampleDistanceMaxValue ()
void SetMinimumImageSampleDistance (float fVal)
void SetMaximumImageSampleDistance (float fVal)
float GetMinimumImageSampleDistance ()
float GetMaximumImageSampleDistance ()
void SetAutoAdjustSampleDistances (int val)
int GetAutoAdjustSampleDistances ()
void AutoAdjustSampleDistancesOn ()
void AutoAdjustSampleDistancesOff ()
void SetIntermixIntersectingGeometry (int fVal)
int GetIntermixIntersectingGeometry ()
void IntermixIntersectingGeometryOn ()
void IntermixIntersectingGeometryOff ()
virtual float GetGradientMagnitudeScale ()
virtual float GetGradientMagnitudeBias ()

Detailed Description

mitkVolumeRendererRayCasting - a concrete volume renderer for rendering a volume

mitkVolumeRendererRayCasting is a concrete volume renderer for rendering a volume. Some codes are borrowed from VTK, and please see the copyright at end.


Member Function Documentation

void mitkVolumeRendererRayCasting::AutoAdjustSampleDistancesOff  )  [inline]
 

Set sample distances auto-adjusting off.

void mitkVolumeRendererRayCasting::AutoAdjustSampleDistancesOn  )  [inline]
 

Set sample distances auto-adjusting on.

int mitkVolumeRendererRayCasting::GetAutoAdjustSampleDistances  )  [inline]
 

Get whether to auto-adjust the sample distances.

Returns:
Return a value which indicates whether to auto-adjust the sample distances (1 means true, 0 means false).

mitkEncodedGradientShader* mitkVolumeRendererRayCasting::GetEncodedGradientShader  )  [inline]
 

Get the gradient shader

Returns:
Return the gradient shader

mitkEncodedGradientEstimator* mitkVolumeRendererRayCasting::GetGradientEstimator  )  [inline]
 

Get the gradient estimator used to estimate normals

Returns:
Return the gradient estimator used to estimate normals.

virtual float mitkVolumeRendererRayCasting::GetGradientMagnitudeBias  )  [virtual]
 

Get gradient magnitude bias.

Returns:
Return the gradient magnitude bias.

Reimplemented from mitkVolumeRenderer.

virtual float mitkVolumeRendererRayCasting::GetGradientMagnitudeScale  )  [virtual]
 

Get gradient magnitude scale.

Returns:
Return the gradient magnitude scale.

Reimplemented from mitkVolumeRenderer.

float mitkVolumeRendererRayCasting::GetImageSampleDistance  )  [inline]
 

Get the sample distance in the image plane.

Returns:
Return the sample distance in the image plane.

float mitkVolumeRendererRayCasting::GetImageSampleDistanceMaxValue  )  [inline]
 

Get the maximum value of the sample distance in the image plane.

Returns:
Return the maximum value of the sample distance in the image plane.

float mitkVolumeRendererRayCasting::GetImageSampleDistanceMinValue  )  [inline]
 

Get the minimum value of the sample distance in the image plane.

Returns:
Return the minimum value of the sample distance in the image plane.

int mitkVolumeRendererRayCasting::GetIntermixIntersectingGeometry  )  [inline]
 

Get the intermix intersecting geometry value

Returns:
Return the intermix intersecting geometry value

float mitkVolumeRendererRayCasting::GetMaximumImageSampleDistance  )  [inline]
 

Get the maximum sample distance in the image plane.

Returns:
Return the maximum sample distance in the image plane.

float mitkVolumeRendererRayCasting::GetMaximumImageSampleDistanceMaxValue  )  [inline]
 

Get the maximum value of the maximum sample distance in the image plane.

Returns:
Return the maximum value of the maximum sample distance in the image plane.

float mitkVolumeRendererRayCasting::GetMaximumImageSampleDistanceMinValue  )  [inline]
 

Get the minimum value of the maximum sample distance in the image plane.

Returns:
Return the minimum value of the maximum sample distance in the image plane.

float mitkVolumeRendererRayCasting::GetMinimumImageSampleDistance  )  [inline]
 

Get the minimum sample distance in the image plane.

Returns:
Return the minimum sample distance in the image plane.

float mitkVolumeRendererRayCasting::GetMinimumImageSampleDistanceMaxValue  )  [inline]
 

Get the maximum value of the minimum sample distance in the image plane.

Returns:
Return the maximum value of the minimum sample distance in the image plane.

float mitkVolumeRendererRayCasting::GetMinimumImageSampleDistanceMinValue  )  [inline]
 

Get the minimum value of the minimum sample distance in the image plane.

Returns:
Return the minimum value of the minimum sample distance in the image plane.

float mitkVolumeRendererRayCasting::GetSampleDistance  )  [inline]
 

Get the sample distance in the ray direction.

Returns:
Return the sample distance.

mitkVolumeRayCastFunction* mitkVolumeRendererRayCasting::GetVolumeRayCastFunction  )  [inline]
 

Get the volume ray cast function.

Returns:
Return the volume ray cast function.

void mitkVolumeRendererRayCasting::IntermixIntersectingGeometryOff  )  [inline]
 

Set IntermixIntersectingGeometry to off

void mitkVolumeRendererRayCasting::IntermixIntersectingGeometryOn  )  [inline]
 

Set IntermixIntersectingGeometry to on

virtual void mitkVolumeRendererRayCasting::PrintSelf ostream &  os  )  [virtual]
 

Print the necessary information about this object for the debugging purpose.

Parameters:
os The specified ostream to output information.

Reimplemented from mitkVolumeRenderer.

virtual int mitkVolumeRendererRayCasting::Render mitkScene scene,
mitkVolumeModel vol
[virtual]
 

Internal method. Don't call it directly.

Implements mitkVolumeRenderer.

void mitkVolumeRendererRayCasting::SetAutoAdjustSampleDistances int  val  )  [inline]
 

Set whether to auto-adjust the sample distances.

Parameters:
val indicate whether to auto-adjust the sample distances (>=1 means true, <=0 means false)

void mitkVolumeRendererRayCasting::SetGradientEstimator mitkEncodedGradientEstimator gradest  ) 
 

Set the gradient estimator used to estimate normals

Parameters:
gradest Represent the gradient estimator used to estimate normals

void mitkVolumeRendererRayCasting::SetImageSampleDistance float  fVal  )  [inline]
 

Set the sample distance in the image plane.

Parameters:
fVal Specify the sample distance in the image plane.

void mitkVolumeRendererRayCasting::SetIntermixIntersectingGeometry int  fVal  )  [inline]
 

If IntermixIntersectingGeometry is turned on, the zbuffer will be captured and used to limit the traversal of the rays.

Parameters:
fVal Represent the intermix intersecting geometry value

void mitkVolumeRendererRayCasting::SetMaximumImageSampleDistance float  fVal  )  [inline]
 

Set the maximum value of the sample distance in the image plane.

Parameters:
fVal the maximum value of the sample distance in the image plane.

void mitkVolumeRendererRayCasting::SetMinimumImageSampleDistance float  fVal  )  [inline]
 

Set the minimum value of the sample distance in the image plane.

Parameters:
fVal the minimum value of the sample distance in the image plane

void mitkVolumeRendererRayCasting::SetSampleDistance float  fVal  )  [inline]
 

Set the sample distance in the ray direction.

Parameters:
fVal Specify the sample distance.

void mitkVolumeRendererRayCasting::SetVolumeRayCastFunction mitkVolumeRayCastFunction oVal  )  [inline]
 

Set the volume ray cast function. This is used to process values found along the ray to compute a final pixel value.

Parameters:
oVal Represent the volume ray cast function


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