VTK
vtkImageReader2Factory.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageReader2Factory.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 =========================================================================*/
40 #ifndef __vtkImageReader2Factory_h
41 #define __vtkImageReader2Factory_h
42 
43 
44 #include "vtkObject.h"
45 
46 class vtkImageReader2;
48 class vtkImageReader2FactoryCleanup;
49 
51 {
52 public:
53  static vtkImageReader2Factory *New();
55  void PrintSelf(ostream& os, vtkIndent indent);
56 
59  static void RegisterReader(vtkImageReader2* r);
60 
63  static vtkImageReader2* CreateImageReader2(const char* path);
64 
66 
68  static void GetRegisteredReaders(vtkImageReader2Collection* );
69 protected:
73 
74  static void InitializeReaders();
75 
76 private:
77  static vtkImageReader2Collection* AvailableReaders;
78  vtkImageReader2Factory(const vtkImageReader2Factory&); // Not implemented.
79  void operator=(const vtkImageReader2Factory&); // Not implemented.
80 //BTX
81  friend class vtkImageReader2FactoryCleanup;
82 //ETX
83 };
84 
85 #endif
abstract base class for most VTK objects
Definition: vtkObject.h:60
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:37
Superclass of binary file readers.
Superclass of binary file readers.
#define VTK_IO_EXPORT
static vtkObject * New()
maintain a list of image readers