00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkImageReader2Collection.h,v $ 00005 Language: C++ 00006 00007 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 00008 All rights reserved. 00009 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notice for more information. 00014 00015 =========================================================================*/ 00039 #ifndef __vtkImageReader2Collection_h 00040 #define __vtkImageReader2Collection_h 00041 00042 #include "vtkCollection.h" 00043 00044 class vtkImageReader2; 00045 00046 class VTK_IO_EXPORT vtkImageReader2Collection : public vtkCollection 00047 { 00048 public: 00049 vtkTypeRevisionMacro(vtkImageReader2Collection,vtkCollection); 00050 static vtkImageReader2Collection *New(); 00051 virtual void PrintSelf(ostream& os, vtkIndent indent); 00052 00054 void AddItem(vtkImageReader2 *); 00055 00057 vtkImageReader2 *GetNextItem(); 00058 00059 protected: 00060 vtkImageReader2Collection() {}; 00061 ~vtkImageReader2Collection() {}; 00062 00063 00064 private: 00065 // hide the standard AddItem from the user and the compiler. 00066 void AddItem(vtkObject *o) { this->vtkCollection::AddItem(o); }; 00067 00068 private: 00069 vtkImageReader2Collection(const vtkImageReader2Collection&); // Not implemented. 00070 void operator=(const vtkImageReader2Collection&); // Not implemented. 00071 }; 00072 00073 #endif