VTK
|
Implementation of vtkCellIterator using vtkDataSet API. More...
#include <vtkDataSetCellIterator.h>
Public Types | |
typedef vtkCellIterator | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkDataSetCellIterator * | NewInstance () const |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
bool | IsDoneWithTraversal () |
vtkIdType | GetCellId () |
Static Public Member Functions | |
static vtkDataSetCellIterator * | New () |
static int | IsTypeOf (const char *type) |
static vtkDataSetCellIterator * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkDataSetCellIterator () | |
~vtkDataSetCellIterator () | |
void | ResetToFirstCell () |
void | IncrementToNextCell () |
void | FetchCellType () |
void | FetchPointIds () |
void | FetchPoints () |
void | SetDataSet (vtkDataSet *ds) |
Protected Attributes | |
vtkSmartPointer< vtkDataSet > | DataSet |
vtkIdType | CellId |
Friends | |
class | vtkDataSet |
Implementation of vtkCellIterator using vtkDataSet API.
Definition at line 32 of file vtkDataSetCellIterator.h.
Reimplemented from vtkObject.
Definition at line 36 of file vtkDataSetCellIterator.h.
vtkDataSetCellIterator::vtkDataSetCellIterator | ( | ) | [protected] |
vtkDataSetCellIterator::~vtkDataSetCellIterator | ( | ) | [protected] |
static vtkDataSetCellIterator* vtkDataSetCellIterator::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
static int vtkDataSetCellIterator::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 vtkDataSetCellIterator::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 vtkDataSetCellIterator* vtkDataSetCellIterator::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkObject.
virtual vtkObjectBase* vtkDataSetCellIterator::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkObject.
Reimplemented from vtkObject.
virtual void vtkDataSetCellIterator::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 vtkCellIterator.
bool vtkDataSetCellIterator::IsDoneWithTraversal | ( | ) | [virtual] |
Returns false while the iterator is valid. Always safe to call.
Implements vtkCellIterator.
vtkIdType vtkDataSetCellIterator::GetCellId | ( | ) | [virtual] |
Get the id of the current cell.
Implements vtkCellIterator.
void vtkDataSetCellIterator::ResetToFirstCell | ( | ) | [protected, virtual] |
Update internal state to point to the first cell.
Implements vtkCellIterator.
void vtkDataSetCellIterator::IncrementToNextCell | ( | ) | [protected, virtual] |
Update internal state to point to the next cell.
Implements vtkCellIterator.
void vtkDataSetCellIterator::FetchCellType | ( | ) | [protected, virtual] |
Lookup the cell type in the data set and store it in this->CellType.
Implements vtkCellIterator.
void vtkDataSetCellIterator::FetchPointIds | ( | ) | [protected, virtual] |
Lookup the cell point ids in the data set and store them in this->PointIds.
Implements vtkCellIterator.
void vtkDataSetCellIterator::FetchPoints | ( | ) | [protected, virtual] |
Lookup the cell points in the data set and store them in this->Points.
Implements vtkCellIterator.
void vtkDataSetCellIterator::SetDataSet | ( | vtkDataSet * | ds | ) | [protected] |
friend class vtkDataSet [friend] |
Definition at line 52 of file vtkDataSetCellIterator.h.
vtkSmartPointer<vtkDataSet> vtkDataSetCellIterator::DataSet [protected] |
Definition at line 55 of file vtkDataSetCellIterator.h.
vtkIdType vtkDataSetCellIterator::CellId [protected] |
Definition at line 56 of file vtkDataSetCellIterator.h.