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 
44 
49 
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:34
vtkImageReader2Collection::AddItem
void AddItem(vtkImageReader2 *)
Add an image reader to the list.
vtkCollectionSimpleIterator
void * vtkCollectionSimpleIterator
Definition: vtkCollection.h:47
vtkImageReader2Collection::~vtkImageReader2Collection
~vtkImageReader2Collection() override
Definition: vtkImageReader2Collection.h:58
vtkCollection.h
vtkImageReader2Collection::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkObject
abstract base class for most VTK objects
Definition: vtkObject.h:60
vtkCollection
create and manipulate ordered lists of objects
Definition: vtkCollection.h:52
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkImageReader2
Superclass of binary file readers.
Definition: vtkImageReader2.h:59
vtkImageReader2Collection::GetNextItem
vtkImageReader2 * GetNextItem()
Get the next image reader in the list.
vtkImageReader2Collection::GetNextImageReader2
vtkImageReader2 * GetNextImageReader2(vtkCollectionSimpleIterator &cookie)
Reentrant safe way to get an object in a collection.
vtkImageReader2Collection::New
static vtkImageReader2Collection * New()
vtkCollection::AddItem
void AddItem(vtkObject *)
Add an object to the bottom of the list.
vtkImageReader2Collection::vtkImageReader2Collection
vtkImageReader2Collection()
Definition: vtkImageReader2Collection.h:57