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

mitkVolumeRendererRayCastingLoD Class Reference

mitkVolumeRendererRayCastingLoD - a concrete volume renderer with LoD function for rendering a volume More...

#include <mitkVolumeRendererRayCastingLoD.h>

Inherits mitkVolumeRenderer.

Inheritance diagram for mitkVolumeRendererRayCastingLoD:

Inheritance graph
[legend]
Collaboration diagram for mitkVolumeRendererRayCastingLoD:

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

mitkVolumeRendererRayCastingLoD - a concrete volume renderer with LoD function for rendering a volume

mitkVolumeRendererRayCastingLoD is a concrete volume renderer with LoD function for rendering a volume. It provides two levels of details: Rough and Refined. The implementation of ray casting algorithm is the same as mitkVolumeRendererRayCasting.


Member Function Documentation

void mitkVolumeRendererRayCastingLoD::AutoAdjustSampleDistancesOff  )  [inline]
 

Set sample distances auto-adjusting off.

void mitkVolumeRendererRayCastingLoD::AutoAdjustSampleDistancesOn  )  [inline]
 

Set sample distances auto-adjusting on.

int mitkVolumeRendererRayCastingLoD::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* mitkVolumeRendererRayCastingLoD::GetEncodedGradientShader  )  [inline]
 

Get the gradient shader

Returns:
Return the gradient shader

mitkEncodedGradientEstimator* mitkVolumeRendererRayCastingLoD::GetGradientEstimator  )  [inline]
 

Get the gradient estimator used to estimate normals

Returns:
Return the gradient estimator used to estimate normals

virtual float mitkVolumeRendererRayCastingLoD::GetGradientMagnitudeBias  )  [virtual]
 

Get gradient magnitude bias.

Returns:
Return the gradient magnitude bias.

Reimplemented from mitkVolumeRenderer.

virtual float mitkVolumeRendererRayCastingLoD::GetGradientMagnitudeScale  )  [virtual]
 

Get gradient magnitude scale.

Returns:
Return the gradient magnitude scale.

Reimplemented from mitkVolumeRenderer.

float mitkVolumeRendererRayCastingLoD::GetImageSampleDistance  )  [inline]
 

Get the sample distance in the image plane.

Returns:
Return the sample distance in the image plane.

float mitkVolumeRendererRayCastingLoD::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 mitkVolumeRendererRayCastingLoD::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 mitkVolumeRendererRayCastingLoD::GetIntermixIntersectingGeometry  )  [inline]
 

Get the intermix intersecting geometry value

Returns:
Return the intermix intersecting geometry value

float mitkVolumeRendererRayCastingLoD::GetMaximumImageSampleDistance  )  [inline]
 

Get the maximum sample distance in the image plane.

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

float mitkVolumeRendererRayCastingLoD::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 mitkVolumeRendererRayCastingLoD::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 mitkVolumeRendererRayCastingLoD::GetMinimumImageSampleDistance  )  [inline]
 

Get the minimum sample distance in the image plane.

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

float mitkVolumeRendererRayCastingLoD::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 mitkVolumeRendererRayCastingLoD::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 mitkVolumeRendererRayCastingLoD::GetSampleDistance  )  [inline]
 

Get the sample distance in the ray direction.

Returns:
Return the sample distance

mitkVolumeRayCastFunction* mitkVolumeRendererRayCastingLoD::GetVolumeRayCastFunction  )  [inline]
 

Get the volume ray cast function.

Returns:
Return the volume ray cast function

void mitkVolumeRendererRayCastingLoD::IntermixIntersectingGeometryOff  )  [inline]
 

Set IntermixIntersectingGeometry to off

void mitkVolumeRendererRayCastingLoD::IntermixIntersectingGeometryOn  )  [inline]
 

Set IntermixIntersectingGeometry to on

virtual void mitkVolumeRendererRayCastingLoD::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 mitkVolumeRendererRayCastingLoD::Render mitkScene scene,
mitkVolumeModel vol
[virtual]
 

Internal method. Don't call it directly.

Implements mitkVolumeRenderer.

void mitkVolumeRendererRayCastingLoD::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 mitkVolumeRendererRayCastingLoD::SetGradientEstimator mitkEncodedGradientEstimator gradest  ) 
 

Set the gradient estimator used to estimate normals

Parameters:
gradest Represent the gradient estimator used to estimate normals

void mitkVolumeRendererRayCastingLoD::SetImageSampleDistance float  fVal  )  [inline]
 

Set the sample distance in the image plane.

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

void mitkVolumeRendererRayCastingLoD::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 mitkVolumeRendererRayCastingLoD::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 mitkVolumeRendererRayCastingLoD::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 mitkVolumeRendererRayCastingLoD::SetSampleDistance float  fVal  )  [inline]
 

Set the sample distance in the ray direction.

Parameters:
fVal Specify the sample distance

void mitkVolumeRendererRayCastingLoD::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:26 2014 for MITK (Medical Imaging ToolKit) by  doxygen 1.4.3