VTK
vtkImageReader2Collection.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageReader2Collection.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 =========================================================================*/
24 #ifndef vtkImageReader2Collection_h
25 #define vtkImageReader2Collection_h
26 
27 #include "vtkIOImageModule.h" // For export macro
28 #include "vtkCollection.h"
29 
30 class vtkImageReader2;
31 
33 {
34 public:
37  virtual void PrintSelf(ostream& os, vtkIndent indent);
38 
40  void AddItem(vtkImageReader2 *);
41 
43  vtkImageReader2 *GetNextItem();
44 
45  //BTX
47 
49  vtkImageReader2 *GetNextImageReader2(vtkCollectionSimpleIterator &cookie);
50  //ETX
52 
53 protected:
56 
57 
58 private:
59  // hide the standard AddItem from the user and the compiler.
60  void AddItem(vtkObject *o) { this->vtkCollection::AddItem(o); };
61 
62 private:
63  vtkImageReader2Collection(const vtkImageReader2Collection&); // Not implemented.
64  void operator=(const vtkImageReader2Collection&); // Not implemented.
65 };
66 
67 #endif
void * vtkCollectionSimpleIterator
Definition: vtkCollection.h:47
abstract base class for most VTK objects
Definition: vtkObject.h:61
void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:38
static vtkCollection * New()
Superclass of binary file readers.
void AddItem(vtkObject *)
create and manipulate unsorted lists of objects
Definition: vtkCollection.h:52
#define VTKIOIMAGE_EXPORT
maintain a list of image readers