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 =========================================================================*/
25 #ifndef vtkImageReader2Collection_h
26 #define vtkImageReader2Collection_h
27 
28 #include "vtkIOImageModule.h" // For export macro
29 #include "vtkCollection.h"
30 
31 class vtkImageReader2;
32 
33 class VTKIOIMAGE_EXPORT vtkImageReader2Collection : public vtkCollection
34 {
35 public:
38  void PrintSelf(ostream& os, vtkIndent indent) override;
39 
43  void AddItem(vtkImageReader2 *);
44 
48  vtkImageReader2 *GetNextItem();
49 
54  vtkImageReader2 *GetNextImageReader2(vtkCollectionSimpleIterator &cookie);
55 
56 protected:
59 
60 
61 private:
62  // hide the standard AddItem from the user and the compiler.
63  void AddItem(vtkObject *o) { this->vtkCollection::AddItem(o); };
64 
65 private:
67  void operator=(const vtkImageReader2Collection&) = delete;
68 };
69 
70 #endif
vtkImageReader2Collection
maintain a list of image readers
Definition: vtkImageReader2Collection.h:33
vtkCollection::New
static vtkCollection * New()
Construct with empty list.
vtkCollectionSimpleIterator
void * vtkCollectionSimpleIterator
Definition: vtkCollection.h:47
vtkImageReader2Collection::~vtkImageReader2Collection
~vtkImageReader2Collection() override
Definition: vtkImageReader2Collection.h:58
vtkCollection.h
vtkObject
abstract base class for most VTK objects
Definition: vtkObject.h:59
vtkCollection
create and manipulate ordered lists of objects
Definition: vtkCollection.h:51
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkImageReader2
Superclass of binary file readers.
Definition: vtkImageReader2.h:58
vtkCollection::AddItem
void AddItem(vtkObject *)
Add an object to the bottom of the list.
vtkCollection::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkImageReader2Collection::vtkImageReader2Collection
vtkImageReader2Collection()
Definition: vtkImageReader2Collection.h:57