Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members   Related Pages  

vtkVolumeRayCastMapper Class Reference

Abstract class for ray casting mappers. More...

#include <vtkVolumeRayCastMapper.h>

Inheritance diagram for vtkVolumeRayCastMapper:

Inheritance graph
[legend]
Collaboration diagram for vtkVolumeRayCastMapper:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent index)
virtual void SetSampleDistance (float)
virtual float GetSampleDistance ()
virtual void SetRayBounder (vtkRayBounder *)
virtual vtkRayBounderGetRayBounder ()
virtual void SetVolumeRayCastFunction (vtkVolumeRayCastFunction *)
virtual vtkVolumeRayCastFunctionGetVolumeRayCastFunction ()
void SetGradientEstimator (vtkEncodedGradientEstimator *gradest)
virtual vtkEncodedGradientEstimatorGetGradientEstimator ()
virtual vtkEncodedGradientShaderGetGradientShader ()
void Render (vtkRenderer *, vtkVolume *)
void InitializeRender (vtkRenderer *ren, vtkVolume *vol, VTKRayCastVolumeInfo *volumeInfo)
void ReleaseGraphicsResources (vtkWindow *)
float GetZeroOpacityThreshold (vtkVolume *vol)
void CastViewRay (VTKRayCastRayInfo *rayInfo, VTKRayCastVolumeInfo *volumeInfo)
int GetMapperType ()
virtual int IsARayCastMapper ()
virtual float GetGradientMagnitudeScale ()
virtual float GetGradientMagnitudeBias ()

Static Public Methods

vtkVolumeRayCastMapper * New ()
int IsTypeOf (const char *type)
vtkVolumeRayCastMapper * SafeDownCast (vtkObject *o)

Protected Methods

 vtkVolumeRayCastMapper ()
 ~vtkVolumeRayCastMapper ()
 vtkVolumeRayCastMapper (const vtkVolumeRayCastMapper &)
void operator= (const vtkVolumeRayCastMapper &)
int ClipRayAgainstVolume (VTKRayCastRayInfo *rayInfo, VTKRayCastVolumeInfo *volumeInfo, float bounds[6])
int ClipRayAgainstClippingPlanes (VTKRayCastRayInfo *rayInfo, VTKRayCastVolumeInfo *volumeInfo, vtkPlaneCollection *planes)
void GeneralImageInitialization (vtkRenderer *ren, vtkVolume *vol)
void UpdateShadingTables (vtkRenderer *ren, vtkVolume *vol)

Protected Attributes

vtkVolumeRayCastFunctionVolumeRayCastFunction
vtkEncodedGradientEstimatorGradientEstimator
vtkEncodedGradientShaderGradientShader
float SampleDistance
float WorldSampleDistance
int ScalarDataType
void * ScalarDataPointer
float * DepthRangeBufferPointer
vtkRayBounderRayBounder
float RayStart [3]
float RayEnd [3]
int RayPixel [2]
float RayColor [4]
float VolumeBounds [6]
float WorldToVolumeMatrix [16]
float VolumeToWorldMatrix [16]
float ViewToVolumeMatrix [16]

Detailed Description

Abstract class for ray casting mappers.

Date:
2000/12/10 20:08:59
Revision:
1.33

This is the abstract class for mappers that use volumetric ray casting

See also:
vtkVolumeMapper
Examples:
vtkVolumeRayCastMapper (examples)


Member Function Documentation

void vtkVolumeRayCastMapper::CastViewRay VTKRayCastRayInfo *    rayInfo,
VTKRayCastVolumeInfo *    volumeInfo
 

WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE

virtual const char* vtkVolumeRayCastMapper::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkVolumeMapper.

virtual float vtkVolumeRayCastMapper::GetGradientMagnitudeScale   [virtual]
 

WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Values needed by the volume

Reimplemented from vtkVolumeMapper.

virtual vtkEncodedGradientShader* vtkVolumeRayCastMapper::GetGradientShader   [virtual]
 

Get the gradient shader.

int vtkVolumeRayCastMapper::GetMapperType   [inline, virtual]
 

WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE

Implements vtkVolumeMapper.

float vtkVolumeRayCastMapper::GetZeroOpacityThreshold vtkVolume   vol
 

WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Return the scalar value below which all opacities are zero

void vtkVolumeRayCastMapper::InitializeRender vtkRenderer   ren,
vtkVolume   vol,
VTKRayCastVolumeInfo *    volumeInfo
 

WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE

virtual int vtkVolumeRayCastMapper::IsA const char *    type [virtual]
 

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkVolumeMapper.

virtual int vtkVolumeRayCastMapper::IsARayCastMapper   [inline, virtual]
 

WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE This is a ray cast mapper.

Reimplemented from vtkAbstractMapper3D.

int vtkVolumeRayCastMapper::IsTypeOf const char *    type [static]
 

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkVolumeMapper.

vtkVolumeRayCastMapper* vtkVolumeRayCastMapper::New   [static]
 

Instantiate object with no start, end, or progress methods.

Reimplemented from vtkProcessObject.

void vtkVolumeRayCastMapper::PrintSelf ostream &    os,
vtkIndent    index
[virtual]
 

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkVolumeMapper.

void vtkVolumeRayCastMapper::ReleaseGraphicsResources vtkWindow   [virtual]
 

WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being consumed by this mapper. The parameter window could be used to determine which graphic resources to release.

Reimplemented from vtkVolumeMapper.

void vtkVolumeRayCastMapper::Render vtkRenderer  ,
vtkVolume  
[inline, virtual]
 

WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Initialize rendering for this volume.

Implements vtkVolumeMapper.

vtkVolumeRayCastMapper* vtkVolumeRayCastMapper::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkVolumeMapper.

void vtkVolumeRayCastMapper::SetGradientEstimator vtkEncodedGradientEstimator   gradest
 

Set / Get the gradient estimator used to estimate normals

virtual void vtkVolumeRayCastMapper::SetRayBounder vtkRayBounder   [virtual]
 

Get / Set the ray bounder. This is used to clip the rays during ray casting.

virtual void vtkVolumeRayCastMapper::SetSampleDistance float    [virtual]
 

Set/Get the distance between samples. This variable is only used for sampling ray casting methods. Methods that compute a ray value by stepping cell-by-cell are not affected by this value. Note: this distance is in volume coordinates. This means that if you set the scale to 4 in the vtkVolume, you will NOT have 4 times as many samples.

virtual void vtkVolumeRayCastMapper::SetVolumeRayCastFunction vtkVolumeRayCastFunction   [virtual]
 

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


The documentation for this class was generated from the following file:
Generated on Tue Mar 19 13:34:39 2002 for VTK by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002