22 #ifndef vtkBitArrayIterator_h
23 #define vtkBitArrayIterator_h
26 #include "vtkCommonCoreModule.h"
Abstract superclass for all arrays.
Abstract superclass to iterate over elements in an vtkAbstractArray.
Iterator for vtkBitArray.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetValue(vtkIdType id, int value)
Sets the value at the index.
int GetDataType() const override
Get the data type from the underlying array.
vtkIdType GetNumberOfTuples()
Must be called only after Initialize.
vtkAbstractArray * GetArray()
Get the array.
int GetValue(vtkIdType id)
Must be called only after Initialize.
int GetNumberOfComponents()
Must be called only after Initialize.
void Initialize(vtkAbstractArray *array) override
Set the array this iterator will iterate over.
void SetArray(vtkBitArray *b)
static vtkBitArrayIterator * New()
int * GetTuple(vtkIdType id)
Must be called only after Initialize.
~vtkBitArrayIterator() override
int GetDataTypeSize() const
Get the data type size from the underlying array.
vtkIdType GetNumberOfValues()
Must be called only after Initialize.
int ValueType
Data type of a value.
dynamic, self-adjusting array of bits
a simple class to control print indentation