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

vtkVolumeRayCastFunction Class Reference

a superclass for ray casting functions. More...

#include <vtkVolumeRayCastFunction.h>

Inheritance diagram for vtkVolumeRayCastFunction:

Inheritance graph
[legend]
Collaboration diagram for vtkVolumeRayCastFunction:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
virtual void CastRay (VTKVRCDynamicInfo *dynamicInfo, VTKVRCStaticInfo *staticInfo)=0
virtual float GetZeroOpacityThreshold (vtkVolume *vol)=0
void FunctionInitialize (vtkRenderer *ren, vtkVolume *vol, VTKVRCStaticInfo *staticInfo)

Static Public Methods

int IsTypeOf (const char *type)
vtkVolumeRayCastFunction * SafeDownCast (vtkObject *o)

Protected Methods

 vtkVolumeRayCastFunction ()
 ~vtkVolumeRayCastFunction ()
virtual void SpecificFunctionInitialize (vtkRenderer *ren, vtkVolume *vol, VTKVRCStaticInfo *staticInfo, vtkVolumeRayCastMapper *mapper)=0

Detailed Description

a superclass for ray casting functions.

Date:
2001/11/13 14:17:33
Revision:
1.24

vtkVolumeRayCastFunction is a superclass for ray casting functions that can be used within a vtkVolumeRayCastMapper. This includes for example, vtkVolumeRayCastCompositeFunction, vtkVolumeRayCastMIPFunction, and vtkVolumeRayCastIsosurfaceFunction.

See also:
vtkVolumeRayCastCompositeFunction vtkVolumeRayCastMIPFunction vtkVolumeRayCastIsosurfaceFunction vtkVolumeRayCastMapper

Definition at line 170 of file vtkVolumeRayCastFunction.h.


Constructor & Destructor Documentation

vtkVolumeRayCastFunction::vtkVolumeRayCastFunction   [inline, protected]
 

Definition at line 195 of file vtkVolumeRayCastFunction.h.

vtkVolumeRayCastFunction::~vtkVolumeRayCastFunction   [inline, protected]
 

Definition at line 196 of file vtkVolumeRayCastFunction.h.


Member Function Documentation

virtual const char* vtkVolumeRayCastFunction::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 vtkObject.

Reimplemented in vtkVolumeRayCastCompositeFunction, vtkVolumeRayCastIsosurfaceFunction, and vtkVolumeRayCastMIPFunction.

int vtkVolumeRayCastFunction::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 vtkObject.

Reimplemented in vtkVolumeRayCastCompositeFunction, vtkVolumeRayCastIsosurfaceFunction, and vtkVolumeRayCastMIPFunction.

virtual int vtkVolumeRayCastFunction::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 vtkObject.

Reimplemented in vtkVolumeRayCastCompositeFunction, vtkVolumeRayCastIsosurfaceFunction, and vtkVolumeRayCastMIPFunction.

vtkVolumeRayCastFunction* vtkVolumeRayCastFunction::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 vtkObject.

Reimplemented in vtkVolumeRayCastCompositeFunction, vtkVolumeRayCastIsosurfaceFunction, and vtkVolumeRayCastMIPFunction.

void vtkVolumeRayCastFunction::FunctionInitialize vtkRenderer   ren,
vtkVolume   vol,
VTKVRCStaticInfo   staticInfo
 

Do the basic initialization. This includes saving the parameters passed in into local variables, as well as grabbing some useful info from the volume property and normal encoder. This initialize routine is called once per render. It also calls the SpecificFunctionInitialize of the subclass function. BTX

virtual void vtkVolumeRayCastFunction::CastRay VTKVRCDynamicInfo   dynamicInfo,
VTKVRCStaticInfo   staticInfo
[pure virtual]
 

Reimplemented in vtkVolumeRayCastCompositeFunction, vtkVolumeRayCastIsosurfaceFunction, and vtkVolumeRayCastMIPFunction.

virtual float vtkVolumeRayCastFunction::GetZeroOpacityThreshold vtkVolume   vol [pure virtual]
 

Get the value below which all scalar values are considered to have 0 opacity.

Reimplemented in vtkVolumeRayCastCompositeFunction, vtkVolumeRayCastIsosurfaceFunction, and vtkVolumeRayCastMIPFunction.

virtual void vtkVolumeRayCastFunction::SpecificFunctionInitialize vtkRenderer   ren,
vtkVolume   vol,
VTKVRCStaticInfo   staticInfo,
vtkVolumeRayCastMapper   mapper
[protected, pure virtual]
 

This method gives the subclass a chance to do any special initialization that it may need to do BTX

Reimplemented in vtkVolumeRayCastCompositeFunction, vtkVolumeRayCastIsosurfaceFunction, and vtkVolumeRayCastMIPFunction.


The documentation for this class was generated from the following file:
Generated on Thu Mar 28 14:45:44 2002 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001