VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
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 Types

typedef vtkObject Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkVolumeRayCastFunctionNewInstance () const
virtual void PrintSelf (ostream &os, vtkIndent indent)
virtual void CastRay (vtkVolumeRayCastDynamicInfo *dynamicInfo, vtkVolumeRayCastStaticInfo *staticInfo)=0
virtual float GetZeroOpacityThreshold (vtkVolume *vol)=0
void FunctionInitialize (vtkRenderer *ren, vtkVolume *vol, vtkVolumeRayCastStaticInfo *staticInfo)

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkVolumeRayCastFunctionSafeDownCast (vtkObjectBase *o)

Protected Member Functions

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

Detailed Description

a superclass for ray casting functions

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 133 of file vtkVolumeRayCastFunction.h.


Member Typedef Documentation


Constructor & Destructor Documentation

Definition at line 160 of file vtkVolumeRayCastFunction.h.

Definition at line 161 of file vtkVolumeRayCastFunction.h.


Member Function Documentation

static int vtkVolumeRayCastFunction::IsTypeOf ( const char *  name) [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 vtkVolumeRayCastMIPFunction, vtkVolumeRayCastCompositeFunction, and vtkVolumeRayCastIsosurfaceFunction.

virtual int vtkVolumeRayCastFunction::IsA ( const char *  name) [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 vtkVolumeRayCastMIPFunction, vtkVolumeRayCastCompositeFunction, and vtkVolumeRayCastIsosurfaceFunction.

virtual vtkObjectBase* vtkVolumeRayCastFunction::NewInstanceInternal ( ) const [protected, virtual]
virtual void vtkVolumeRayCastFunction::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [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 vtkObject.

Reimplemented in vtkVolumeRayCastMIPFunction, vtkVolumeRayCastCompositeFunction, and vtkVolumeRayCastIsosurfaceFunction.

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.

virtual void vtkVolumeRayCastFunction::CastRay ( vtkVolumeRayCastDynamicInfo dynamicInfo,
vtkVolumeRayCastStaticInfo staticInfo 
) [pure virtual]

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

Implemented in vtkVolumeRayCastCompositeFunction, vtkVolumeRayCastMIPFunction, and vtkVolumeRayCastIsosurfaceFunction.

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

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

Implemented in vtkVolumeRayCastMIPFunction, vtkVolumeRayCastIsosurfaceFunction, and vtkVolumeRayCastCompositeFunction.


The documentation for this class was generated from the following file: