VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkUnstructuredGridVolumeRayCastIterator Class Reference

#include <vtkUnstructuredGridVolumeRayCastIterator.h>

Inheritance diagram for vtkUnstructuredGridVolumeRayCastIterator:
Inheritance graph
[legend]
Collaboration diagram for vtkUnstructuredGridVolumeRayCastIterator:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkObject Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkUnstructuredGridVolumeRayCastIteratorNewInstance () const
virtual void PrintSelf (ostream &os, vtkIndent indent)
virtual void Initialize (int x, int y)=0
virtual void SetMaxNumberOfIntersections (vtkIdType)
virtual vtkIdType GetMaxNumberOfIntersections ()
virtual vtkIdType GetNextIntersections (vtkIdList *intersectedCells, vtkDoubleArray *intersectionLengths, vtkDataArray *scalars, vtkDataArray *nearIntersections, vtkDataArray *farIntersections)=0
virtual void SetBounds (double, double)
void SetBounds (double[2])
virtual doubleGetBounds ()
virtual void GetBounds (double &, double &)
virtual void GetBounds (double[2])

Static Public Member Functions

static int IsTypeOf (const char *type)
static
vtkUnstructuredGridVolumeRayCastIterator
SafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkUnstructuredGridVolumeRayCastIterator ()
 ~vtkUnstructuredGridVolumeRayCastIterator ()

Protected Attributes

double Bounds [2]
vtkIdType MaxNumberOfIntersections

Detailed Description

vtkUnstructuredGridVolumeRayCastIterator is a superclass for iterating over the intersections of a viewing ray with a group of unstructured cells. These iterators are created with a vtkUnstructuredGridVolumeRayCastFunction.

See also:
vtkUnstructuredGridVolumeRayCastFunction

Definition at line 42 of file vtkUnstructuredGridVolumeRayCastIterator.h.


Member Typedef Documentation

Reimplemented from vtkObject.

Definition at line 45 of file vtkUnstructuredGridVolumeRayCastIterator.h.


Constructor & Destructor Documentation


Member Function Documentation

static int vtkUnstructuredGridVolumeRayCastIterator::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.

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

Reimplemented from vtkObject.

Reimplemented from vtkObject.

virtual void vtkUnstructuredGridVolumeRayCastIterator::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.

virtual void vtkUnstructuredGridVolumeRayCastIterator::Initialize ( int  x,
int  y 
) [pure virtual]

Initializes the iteration to the start of the ray at the given screen coordinates.

virtual vtkIdType vtkUnstructuredGridVolumeRayCastIterator::GetNextIntersections ( vtkIdList intersectedCells,
vtkDoubleArray intersectionLengths,
vtkDataArray scalars,
vtkDataArray nearIntersections,
vtkDataArray farIntersections 
) [pure virtual]

Get the intersections of the next several cells. The cell ids are stored in intersectedCells and the length of each ray segment within the cell is stored in intersectionLengths. The point scalars scalars are interpolated and stored in nearIntersections and farIntersections. intersectedCells, intersectionLengths, or scalars may be NULL to suppress passing the associated information. The number of intersections actually encountered is returned. 0 is returned if and only if no more intersections are to be found.

Set/get the bounds of the cast ray (in viewing coordinates). By default the range is [0,1].

Set/get the bounds of the cast ray (in viewing coordinates). By default the range is [0,1].

Set/get the bounds of the cast ray (in viewing coordinates). By default the range is [0,1].

virtual void vtkUnstructuredGridVolumeRayCastIterator::GetBounds ( double ,
double  
) [virtual]

Set/get the bounds of the cast ray (in viewing coordinates). By default the range is [0,1].

Set/get the bounds of the cast ray (in viewing coordinates). By default the range is [0,1].


Member Data Documentation

Definition at line 86 of file vtkUnstructuredGridVolumeRayCastIterator.h.

Definition at line 88 of file vtkUnstructuredGridVolumeRayCastIterator.h.


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