Iterator for vtkBitArray. This iterator iterates over a vtkBitArray. It uses the double interface to get/set bit values.
More...
#include <vtkBitArrayIterator.h>
Detailed Description
Iterator for vtkBitArray. This iterator iterates over a vtkBitArray. It uses the double interface to get/set bit values.
Definition at line 27 of file vtkBitArrayIterator.h.
Member Typedef Documentation
Constructor & Destructor Documentation
vtkBitArrayIterator::vtkBitArrayIterator |
( |
| ) |
|
|
protected |
vtkBitArrayIterator::~vtkBitArrayIterator |
( |
| ) |
|
|
protected |
Member Function Documentation
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
virtual const char* vtkBitArrayIterator::GetClassName |
( |
| ) |
|
|
virtual |
static int vtkBitArrayIterator::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 vtkArrayIterator.
virtual int vtkBitArrayIterator::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 vtkArrayIterator.
void vtkBitArrayIterator::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 vtkArrayIterator.
Set the array this iterator will iterate over. After Initialize() has been called, the iterator is valid so long as the Array has not been modified (except using the iterator itself). If the array is modified, the iterator must be re-intialized.
Implements vtkArrayIterator.
int* vtkBitArrayIterator::GetTuple |
( |
vtkIdType |
id | ) |
|
Must be called only after Initialize.
int vtkBitArrayIterator::GetValue |
( |
vtkIdType |
id | ) |
|
Must be called only after Initialize.
vtkIdType vtkBitArrayIterator::GetNumberOfTuples |
( |
| ) |
|
Must be called only after Initialize.
vtkIdType vtkBitArrayIterator::GetNumberOfValues |
( |
| ) |
|
Must be called only after Initialize.
int vtkBitArrayIterator::GetNumberOfComponents |
( |
| ) |
|
Must be called only after Initialize.
int vtkBitArrayIterator::GetDataType |
( |
| ) |
|
|
virtual |
int vtkBitArrayIterator::GetDataTypeSize |
( |
| ) |
|
Get the data type size from the underlying array.
void vtkBitArrayIterator::SetValue |
( |
vtkIdType |
id, |
|
|
int |
value |
|
) |
| |
Sets the value at the index. This does not verify if the index is valid. The caller must ensure that id is less than the maximum number of values.
Member Data Documentation
int* vtkBitArrayIterator::Tuple |
|
protected |
int vtkBitArrayIterator::TupleSize |
|
protected |
The documentation for this class was generated from the following file: