Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

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
Created by:
  • Moreland, Kenneth
CVS contributions (if > 5%):
  • Moreland, Kenneth (100%)
CVS logs (CVSweb):
  • .cxx (/Rendering/vtkUnstructuredGridVolumeRayCastIterator.cxx)
  • .h (/Rendering/vtkUnstructuredGridVolumeRayCastIterator.h)

Definition at line 51 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

int IsTypeOf (const char *type)
vtkUnstructuredGridVolumeRayCastIteratorSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkUnstructuredGridVolumeRayCastIterator ()
 ~vtkUnstructuredGridVolumeRayCastIterator ()

Protected Attributes

double Bounds [2]
vtkIdType MaxNumberOfIntersections


Member Typedef Documentation

typedef vtkObject vtkUnstructuredGridVolumeRayCastIterator::Superclass
 

Reimplemented from vtkObject.

Definition at line 54 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.

int vtkUnstructuredGridVolumeRayCastIterator::IsTypeOf const char *  type  )  [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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkObject.

virtual int vtkUnstructuredGridVolumeRayCastIterator::IsA const char *  type  )  [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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkObject.

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

double vtkUnstructuredGridVolumeRayCastIterator::Bounds[2] [protected]
 

Definition at line 95 of file vtkUnstructuredGridVolumeRayCastIterator.h.

vtkIdType vtkUnstructuredGridVolumeRayCastIterator::MaxNumberOfIntersections [protected]
 

Definition at line 97 of file vtkUnstructuredGridVolumeRayCastIterator.h.


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