28 #ifndef vtkArrayIteratorTemplate_h
29 #define vtkArrayIteratorTemplate_h
43 virtual const char* GetClassNameInternal()
const
44 {
return "vtkArrayIteratorTemplate"; }
47 void PrintSelf(ostream& os,
vtkIndent indent);
65 {
return this->Pointer[id]; }
74 this->Pointer[id] =
value;
85 int GetNumberOfComponents();
91 int GetDataTypeSize();
110 #define VTK_ARRAY_ITERATOR_TEMPLATE_INSTANTIATE(T) \
111 template class VTKCOMMONCORE_EXPORT vtkArrayIteratorTemplate< T >
113 #endif // !defined(vtkArrayIteratorTemplate_h)
118 #if defined(VTK_ARRAY_ITERATOR_TEMPLATE_TYPE)
119 # if defined(VTK_BUILD_SHARED_LIBS) && defined(_MSC_VER)
120 # pragma warning (push)
121 # pragma warning (disable: 4091) // warning C4091: 'extern ' :
123 # pragma warning (disable: 4231) // Compiler-specific extension warning.
127 # pragma warning (pop)
129 # undef VTK_ARRAY_ITERATOR_TEMPLATE_TYPE
Provides the equivalent of vtkTypeMacro for use with template classes.
Abstract superclass for all arrays.
#define VTKCOMMONCORE_EXPORT
vtkAbstractArray * GetArray()
Implementation template for a array iterator.
vtkArrayIterator Superclass
a simple class to control print indentation
void SetValue(vtkIdType id, T value)
T & GetValue(vtkIdType id)
Abstract superclass to iterate over elements in an vtkAbstractArray.
#define VTK_ARRAY_ITERATOR_TEMPLATE_INSTANTIATE(T)