Go to the documentation of this file.
29 #ifndef vtkArrayIteratorTemplate_h
30 #define vtkArrayIteratorTemplate_h
32 #include "vtkCommonCoreModule.h"
45 void PrintSelf(ostream& os,
vtkIndent indent) override;
71 {
return this->Pointer[id]; }
80 this->Pointer[id] =
value;
96 int GetNumberOfComponents();
106 int GetDataTypeSize();
126 #ifdef VTK_USE_EXTERN_TEMPLATE
127 #ifndef vtkArrayIteratorTemplateInstantiate_cxx
129 #pragma warning (push)
132 #pragma warning (disable: 4910) // extern and dllexport incompatible
136 extern template class VTKCOMMONCORE_EXPORT
138 extern template class VTKCOMMONCORE_EXPORT
140 extern template class VTKCOMMONCORE_EXPORT
143 #pragma warning (pop)
146 #endif // VTK_USE_EXTERN_TEMPLATE
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Implementation template for a array iterator.
a simple class to control print indentation
void SetValue(vtkIdType id, T value)
Sets the value at the index.
T ValueType
This is the data type for the value.
virtual int GetDataType()=0
Get the data type from the underlying array.
Abstract superclass for all arrays.
#define vtkInstantiateTemplateMacro(decl)
A macro to instantiate a template over all numerical types.
T & GetValue(vtkIdType id)
Must be called only after Initialize.
Abstract superclass to iterate over elements in an vtkAbstractArray.