vtkUnstructuredGridVolumeRayCastIterator Class Reference

#include <vtkUnstructuredGridVolumeRayCastIterator.h>

Inheritance diagram for vtkUnstructuredGridVolumeRayCastIterator:

Inheritance graph
[legend]
Collaboration diagram for vtkUnstructuredGridVolumeRayCastIterator:

Collaboration graph
[legend]

List of all members.


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 41 of file vtkUnstructuredGridVolumeRayCastIterator.h.


Public Types

typedef vtkObject Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
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 double * GetBounds ()
virtual void GetBounds (double &, double &)
virtual void GetBounds (double[2])

Static Public Member Functions

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

Protected Member Functions

 vtkUnstructuredGridVolumeRayCastIterator ()
 ~vtkUnstructuredGridVolumeRayCastIterator ()

Protected Attributes

double Bounds [2]
vtkIdType MaxNumberOfIntersections

Member Typedef Documentation

Reimplemented from vtkObject.

Definition at line 44 of file vtkUnstructuredGridVolumeRayCastIterator.h.


Constructor & Destructor Documentation

vtkUnstructuredGridVolumeRayCastIterator::vtkUnstructuredGridVolumeRayCastIterator (  )  [protected]

vtkUnstructuredGridVolumeRayCastIterator::~vtkUnstructuredGridVolumeRayCastIterator (  )  [protected]


Member Function Documentation

virtual const char* vtkUnstructuredGridVolumeRayCastIterator::GetClassName (  )  [virtual]

Reimplemented from vtkObject.

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.

static vtkUnstructuredGridVolumeRayCastIterator* vtkUnstructuredGridVolumeRayCastIterator::SafeDownCast ( vtkObject o  )  [static]

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

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

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

void vtkUnstructuredGridVolumeRayCastIterator::SetBounds ( double  [2]  ) 

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

virtual double* vtkUnstructuredGridVolumeRayCastIterator::GetBounds (  )  [virtual]

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

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

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

virtual void vtkUnstructuredGridVolumeRayCastIterator::SetMaxNumberOfIntersections ( vtkIdType   )  [virtual]

virtual vtkIdType vtkUnstructuredGridVolumeRayCastIterator::GetMaxNumberOfIntersections (  )  [virtual]


Member Data Documentation

Definition at line 85 of file vtkUnstructuredGridVolumeRayCastIterator.h.

Definition at line 87 of file vtkUnstructuredGridVolumeRayCastIterator.h.


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

Generated on Wed Aug 24 12:16:40 2011 for VTK by  doxygen 1.5.6