00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkDataArrayCollectionIterator.h,v $ 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 =========================================================================*/ 00033 #ifndef __vtkDataArrayCollectionIterator_h 00034 #define __vtkDataArrayCollectionIterator_h 00035 00036 #include "vtkCollectionIterator.h" 00037 00038 class vtkDataArray; 00039 class vtkDataArrayCollection; 00040 00041 class VTK_COMMON_EXPORT vtkDataArrayCollectionIterator : public vtkCollectionIterator 00042 { 00043 public: 00044 vtkTypeRevisionMacro(vtkDataArrayCollectionIterator,vtkCollectionIterator); 00045 void PrintSelf(ostream& os, vtkIndent indent); 00046 static vtkDataArrayCollectionIterator* New(); 00047 00049 00050 virtual void SetCollection(vtkCollection*); 00051 void SetCollection(vtkDataArrayCollection*); 00053 00056 vtkDataArray* GetDataArray(); 00057 00058 protected: 00059 vtkDataArrayCollectionIterator(); 00060 ~vtkDataArrayCollectionIterator(); 00061 00062 private: 00063 vtkDataArrayCollectionIterator(const vtkDataArrayCollectionIterator&); // Not implemented 00064 void operator=(const vtkDataArrayCollectionIterator&); // Not implemented 00065 }; 00066 00067 #endif