vtkImageReader2Factory.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00051 #ifndef __vtkImageReader2Factory_h
00052 #define __vtkImageReader2Factory_h
00053
00054
00055 #include "vtkObject.h"
00056 class vtkImageReader2Collection;
00057 class vtkImageReader2;
00058
00059 class VTK_IO_EXPORT vtkImageReader2Factory : public vtkObject
00060 {
00061 public:
00062 static vtkImageReader2Factory *New();
00063 vtkTypeRevisionMacro(vtkImageReader2Factory,vtkObject);
00064 void PrintSelf(ostream& os, vtkIndent indent);
00065
00068 static void RegisterReader(vtkImageReader2* r);
00069
00072 static vtkImageReader2* CreateImageReader2(const char* path);
00073
00076 static void GetRegisteredReaders(vtkImageReader2Collection* );
00077 protected:
00078 vtkImageReader2Factory();
00079 ~vtkImageReader2Factory();
00080
00081 static void InitializeReaders();
00082
00083 private:
00084 static vtkImageReader2Collection* AvailiableReaders;
00085 vtkImageReader2Factory(const vtkImageReader2Factory&);
00086 void operator=(const vtkImageReader2Factory&);
00087
00088 friend class vtkCleanUpImageReader2Factory;
00089
00090 };
00091
00092 #endif