VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkDataArrayCollectionIterator.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00023 #ifndef vtkDataArrayCollectionIterator_h 00024 #define vtkDataArrayCollectionIterator_h 00025 00026 #include "vtkCommonCoreModule.h" // For export macro 00027 #include "vtkCollectionIterator.h" 00028 00029 class vtkDataArray; 00030 class vtkDataArrayCollection; 00031 00032 class VTKCOMMONCORE_EXPORT vtkDataArrayCollectionIterator : public vtkCollectionIterator 00033 { 00034 public: 00035 vtkTypeMacro(vtkDataArrayCollectionIterator,vtkCollectionIterator); 00036 void PrintSelf(ostream& os, vtkIndent indent); 00037 static vtkDataArrayCollectionIterator* New(); 00038 00040 00041 virtual void SetCollection(vtkCollection*); 00042 void SetCollection(vtkDataArrayCollection*); 00044 00047 vtkDataArray* GetDataArray(); 00048 00049 protected: 00050 vtkDataArrayCollectionIterator(); 00051 ~vtkDataArrayCollectionIterator(); 00052 00053 private: 00054 vtkDataArrayCollectionIterator(const vtkDataArrayCollectionIterator&); // Not implemented 00055 void operator=(const vtkDataArrayCollectionIterator&); // Not implemented 00056 }; 00057 00058 #endif