• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

dox/IO/vtkImageReader2Factory.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkImageReader2Factory.h,v $
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00037 #ifndef __vtkImageReader2Factory_h
00038 #define __vtkImageReader2Factory_h
00039 
00040 
00041 #include "vtkObject.h"
00042 
00043 class vtkImageReader2;
00044 class vtkImageReader2Collection;
00045 class vtkImageReader2FactoryCleanup;
00046 
00047 class VTK_IO_EXPORT vtkImageReader2Factory : public vtkObject
00048 {
00049 public:
00050   static vtkImageReader2Factory *New();
00051   vtkTypeRevisionMacro(vtkImageReader2Factory,vtkObject);
00052   void PrintSelf(ostream& os, vtkIndent indent);   
00053   
00056   static void RegisterReader(vtkImageReader2* r);
00057   
00060   static vtkImageReader2* CreateImageReader2(const char* path); 
00061 
00064   static void GetRegisteredReaders(vtkImageReader2Collection* );
00065 protected:
00066   vtkImageReader2Factory();
00067   ~vtkImageReader2Factory();
00068 
00069   static void InitializeReaders();
00070 
00071 private:
00072   static vtkImageReader2Collection* AvailableReaders;
00073   vtkImageReader2Factory(const vtkImageReader2Factory&);  // Not implemented.
00074   void operator=(const vtkImageReader2Factory&);  // Not implemented.
00075 //BTX
00076   friend class vtkImageReader2FactoryCleanup;
00077 //ETX
00078 };
00079 
00080 #endif

Generated by  doxygen 1.7.1