26 #ifndef vtkArrayIteratorTemplate_h
27 #define vtkArrayIteratorTemplate_h
30 #include "vtkCommonCoreModule.h"
120 #ifdef VTK_USE_EXTERN_TEMPLATE
121 #ifndef vtkArrayIteratorTemplateInstantiate_cxx
123 #pragma warning(push)
126 #pragma warning(disable : 4910)
Abstract superclass for all arrays.
Implementation template for a array iterator.
T ValueType
This is the data type for the value.
int GetNumberOfComponents() const
Must be called only after Initialize.
vtkIdType GetNumberOfTuples() const
Must be called only after Initialize.
void Initialize(vtkAbstractArray *array) override
Set the array this iterator will iterate over.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkArrayIteratorTemplate()
vtkAbstractArray * GetArray()
Get the array.
static vtkArrayIteratorTemplate< T > * New()
~vtkArrayIteratorTemplate() override
int GetDataType() const override
Get the data type from the underlying array.
T & GetValue(vtkIdType id)
Must be called only after Initialize.
void SetValue(vtkIdType id, T value)
Sets the value at the index.
T * GetTuple(vtkIdType id)
Must be called only after Initialize.
vtkIdType GetNumberOfValues() const
Must be called only after Initialize.
int GetDataTypeSize() const
Get the data type size from the underlying array.
vtkTemplateTypeMacro(vtkArrayIteratorTemplate< T >, vtkArrayIterator)
Abstract superclass to iterate over elements in an vtkAbstractArray.
a simple class to control print indentation
String class that stores Unicode text.
A atomic type representing the union of many types.
vtkInstantiateTemplateMacro(extern template class VTKCOMMONCORE_EXPORT vtkArrayIteratorTemplate)
#define VTK_DEPRECATED_IN_9_1_0(reason)