Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound 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)
void FunctionInitialize (vtkRenderer *ren, vtkVolume *vol, VTKRayCastVolumeInfo *volumeInfo, vtkVolumeRayCastMapper *mapper)
virtual void CastRay (VTKRayCastRayInfo *rayInfo, VTKRayCastVolumeInfo *volumeInfo)=0
virtual float GetZeroOpacityThreshold (vtkVolume *vol)=0

Static Public Methods

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

Protected Methods

 vtkVolumeRayCastFunction ()
 ~vtkVolumeRayCastFunction ()
 vtkVolumeRayCastFunction (const vtkVolumeRayCastFunction &)
void operator= (const vtkVolumeRayCastFunction &)
virtual void SpecificFunctionInitialize (vtkRenderer *ren, vtkVolume *vol, VTKRayCastVolumeInfo *volumeInfo, vtkVolumeRayCastMapper *mapper)=0

Detailed Description

a superclass for ray casting functions.

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

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


Member Function Documentation

void vtkVolumeRayCastFunction::FunctionInitialize vtkRenderer   ren,
vtkVolume   vol,
VTKRayCastVolumeInfo *    volumeInfo,
vtkVolumeRayCastMapper   mapper
 

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 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.

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

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

Implemented in vtkVolumeRayCastCompositeFunction.

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.

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.

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.

virtual void vtkVolumeRayCastFunction::SpecificFunctionInitialize vtkRenderer   ren,
vtkVolume   vol,
VTKRayCastVolumeInfo *    volumeInfo,
vtkVolumeRayCastMapper   mapper
[protected, pure virtual]
 

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

Implemented in vtkVolumeRayCastCompositeFunction.


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