00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkImageReader2Collection.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 =========================================================================*/ 00036 #ifndef __vtkImageReader2Collection_h 00037 #define __vtkImageReader2Collection_h 00038 00039 #include "vtkCollection.h" 00040 00041 class vtkImageReader2; 00042 00043 class VTK_IO_EXPORT vtkImageReader2Collection : public vtkCollection 00044 { 00045 public: 00046 vtkTypeRevisionMacro(vtkImageReader2Collection,vtkCollection); 00047 static vtkImageReader2Collection *New(); 00048 virtual void PrintSelf(ostream& os, vtkIndent indent); 00049 00051 void AddItem(vtkImageReader2 *); 00052 00054 vtkImageReader2 *GetNextItem(); 00055 00056 //BTX 00058 00060 vtkImageReader2 *GetNextImageReader2(vtkCollectionSimpleIterator &cookie); 00061 //ETX 00063 00064 protected: 00065 vtkImageReader2Collection() {}; 00066 ~vtkImageReader2Collection() {}; 00067 00068 00069 private: 00070 // hide the standard AddItem from the user and the compiler. 00071 void AddItem(vtkObject *o) { this->vtkCollection::AddItem(o); }; 00072 00073 private: 00074 vtkImageReader2Collection(const vtkImageReader2Collection&); // Not implemented. 00075 void operator=(const vtkImageReader2Collection&); // Not implemented. 00076 }; 00077 00078 #endif