VTK
|
a superclass for ray casting functions More...
#include <vtkVolumeRayCastFunction.h>
Public Types | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkVolumeRayCastFunction * | NewInstance () 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 vtkVolumeRayCastFunction * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkVolumeRayCastFunction () | |
~vtkVolumeRayCastFunction () | |
virtual void | SpecificFunctionInitialize (vtkRenderer *ren, vtkVolume *vol, vtkVolumeRayCastStaticInfo *staticInfo, vtkVolumeRayCastMapper *mapper)=0 |
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.
Definition at line 133 of file vtkVolumeRayCastFunction.h.
Reimplemented from vtkObject.
Reimplemented in vtkVolumeRayCastMIPFunction, vtkVolumeRayCastCompositeFunction, and vtkVolumeRayCastIsosurfaceFunction.
Definition at line 136 of file vtkVolumeRayCastFunction.h.
vtkVolumeRayCastFunction::vtkVolumeRayCastFunction | ( | ) | [inline, protected] |
Definition at line 160 of file vtkVolumeRayCastFunction.h.
vtkVolumeRayCastFunction::~vtkVolumeRayCastFunction | ( | ) | [inline, protected] |
Definition at line 161 of file vtkVolumeRayCastFunction.h.
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.
static vtkVolumeRayCastFunction* vtkVolumeRayCastFunction::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkObject.
Reimplemented in vtkVolumeRayCastMIPFunction, vtkVolumeRayCastCompositeFunction, and vtkVolumeRayCastIsosurfaceFunction.
virtual vtkObjectBase* vtkVolumeRayCastFunction::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkObject.
Reimplemented in vtkVolumeRayCastMIPFunction, vtkVolumeRayCastCompositeFunction, and vtkVolumeRayCastIsosurfaceFunction.
Reimplemented from vtkObject.
Reimplemented in vtkVolumeRayCastMIPFunction, vtkVolumeRayCastCompositeFunction, and vtkVolumeRayCastIsosurfaceFunction.
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.
void vtkVolumeRayCastFunction::FunctionInitialize | ( | vtkRenderer * | ren, |
vtkVolume * | vol, | ||
vtkVolumeRayCastStaticInfo * | 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.
virtual void vtkVolumeRayCastFunction::CastRay | ( | vtkVolumeRayCastDynamicInfo * | dynamicInfo, |
vtkVolumeRayCastStaticInfo * | staticInfo | ||
) | [pure virtual] |
Implemented in vtkVolumeRayCastMIPFunction, vtkVolumeRayCastIsosurfaceFunction, and 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, 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.