00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef __itkVTKImageIOFactory_h
00021 #define __itkVTKImageIOFactory_h
00022
00023 #include "itkObjectFactoryBase.h"
00024 #include "itkImageIOBase.h"
00025
00026 namespace itk
00027 {
00031 class ITK_EXPORT VTKImageIOFactory : public ObjectFactoryBase
00032 {
00033 public:
00035 typedef VTKImageIOFactory Self;
00036 typedef ObjectFactoryBase Superclass;
00037 typedef SmartPointer<Self> Pointer;
00038 typedef SmartPointer<const Self> ConstPointer;
00039
00041 virtual const char* GetITKSourceVersion(void) const;
00042 virtual const char* GetDescription(void) const;
00043
00045 itkFactorylessNewMacro(Self);
00046
00048 itkTypeMacro(VTKImageIOFactory, ObjectFactoryBase);
00049
00051 static void RegisterOneFactory(void)
00052 {
00053 VTKImageIOFactory::Pointer vtkFactory = VTKImageIOFactory::New();
00054 ObjectFactoryBase::RegisterFactory(vtkFactory);
00055 }
00056
00057 protected:
00058 VTKImageIOFactory();
00059 ~VTKImageIOFactory();
00060
00061 private:
00062 VTKImageIOFactory(const Self&);
00063 void operator=(const Self&);
00064
00065 };
00066
00067
00068 }
00069
00070 #endif