VTK
vtkArrayIterator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkArrayIterator.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
15 
42 #ifndef __vtkArrayIterator_h
43 #define __vtkArrayIterator_h
44 
45 #include "vtkObject.h"
46 class vtkAbstractArray;
48 {
49 public:
50  vtkTypeMacro(vtkArrayIterator, vtkObject);
51  void PrintSelf(ostream& os, vtkIndent indent);
52 
57  virtual void Initialize(vtkAbstractArray* array) = 0;
58 
60 
62  virtual int GetDataType()=0;
63 protected:
67 
68 private:
69  vtkArrayIterator(const vtkArrayIterator&); // Not implemented.
70  void operator=(const vtkArrayIterator&); // Not implemented.
71 };
72 
73 
74 #endif
75 
abstract base class for most VTK objects
Definition: vtkObject.h:60
Abstract superclass for all arrays.
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:37
#define VTK_COMMON_EXPORT
Abstract superclass to iterate over elements in an vtkAbstractArray.