VTK
|
An isosurface ray caster for volumes. More...
#include <vtkVolumeRayCastIsosurfaceFunction.h>
Public Types | |
typedef vtkVolumeRayCastFunction | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkVolumeRayCastIsosurfaceFunction * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
float | GetZeroOpacityThreshold (vtkVolume *vol) |
void | CastRay (vtkVolumeRayCastDynamicInfo *dynamicInfo, vtkVolumeRayCastStaticInfo *staticInfo) |
virtual void | SetIsoValue (double) |
virtual double | GetIsoValue () |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkVolumeRayCastIsosurfaceFunction * | SafeDownCast (vtkObjectBase *o) |
static vtkVolumeRayCastIsosurfaceFunction * | New () |
Public Attributes | |
double | IsoValue |
float | Color [3] |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkVolumeRayCastIsosurfaceFunction () | |
~vtkVolumeRayCastIsosurfaceFunction () | |
void | SpecificFunctionInitialize (vtkRenderer *ren, vtkVolume *vol, vtkVolumeRayCastStaticInfo *staticInfo, vtkVolumeRayCastMapper *mapper) |
An isosurface ray caster for volumes.
vtkVolumeRayCastIsosurfaceFunction is a volume ray cast function that intersects a ray with an analytic isosurface in a scalar field. The color and shading parameters are defined in the vtkVolumeProperty of the vtkVolume, as well as the interpolation type to use when locating the surface (either a nearest neighbor approach or a tri-linear interpolation approach)
Definition at line 41 of file vtkVolumeRayCastIsosurfaceFunction.h.
Reimplemented from vtkVolumeRayCastFunction.
Definition at line 44 of file vtkVolumeRayCastIsosurfaceFunction.h.
static int vtkVolumeRayCastIsosurfaceFunction::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 vtkVolumeRayCastFunction.
virtual int vtkVolumeRayCastIsosurfaceFunction::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 vtkVolumeRayCastFunction.
static vtkVolumeRayCastIsosurfaceFunction* vtkVolumeRayCastIsosurfaceFunction::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkVolumeRayCastFunction.
virtual vtkObjectBase* vtkVolumeRayCastIsosurfaceFunction::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkVolumeRayCastFunction.
Reimplemented from vtkVolumeRayCastFunction.
void vtkVolumeRayCastIsosurfaceFunction::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 vtkVolumeRayCastFunction.
static vtkVolumeRayCastIsosurfaceFunction* vtkVolumeRayCastIsosurfaceFunction::New | ( | ) | [static] |
Construct a new vtkVolumeRayCastIsosurfaceFunction
Reimplemented from vtkObject.
float vtkVolumeRayCastIsosurfaceFunction::GetZeroOpacityThreshold | ( | vtkVolume * | vol | ) | [virtual] |
Get the scalar value below which all scalar values have 0 opacity
Implements vtkVolumeRayCastFunction.
virtual void vtkVolumeRayCastIsosurfaceFunction::SetIsoValue | ( | double | ) | [virtual] |
Set/Get the value of IsoValue.
virtual double vtkVolumeRayCastIsosurfaceFunction::GetIsoValue | ( | ) | [virtual] |
Set/Get the value of IsoValue.
void vtkVolumeRayCastIsosurfaceFunction::CastRay | ( | vtkVolumeRayCastDynamicInfo * | dynamicInfo, |
vtkVolumeRayCastStaticInfo * | staticInfo | ||
) | [virtual] |
Implements vtkVolumeRayCastFunction.
void vtkVolumeRayCastIsosurfaceFunction::SpecificFunctionInitialize | ( | vtkRenderer * | ren, |
vtkVolume * | vol, | ||
vtkVolumeRayCastStaticInfo * | staticInfo, | ||
vtkVolumeRayCastMapper * | mapper | ||
) | [protected, virtual] |
This method gives the subclass a chance to do any special initialization that it may need to do
Implements vtkVolumeRayCastFunction.
This is the isovalue at which to view a surface
Definition at line 56 of file vtkVolumeRayCastIsosurfaceFunction.h.
These variables are filled in by SpecificFunctionInitialize
Definition at line 64 of file vtkVolumeRayCastIsosurfaceFunction.h.