Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

Patented/vtkKitwareObjectFactory.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkKitwareObjectFactory.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 =========================================================================*/
00027 #ifndef __vtkKitwareObjectFactory_h
00028 #define __vtkKitwareObjectFactory_h
00029 
00030 #include "vtkObjectFactory.h"
00031 
00032 class VTK_PATENTED_EXPORT vtkKitwareObjectFactory : public vtkObjectFactory
00033 {
00034 public:
00035   static vtkKitwareObjectFactory *New() {return new vtkKitwareObjectFactory;};
00036   vtkTypeRevisionMacro(vtkKitwareObjectFactory,vtkObjectFactory);
00037   void PrintSelf(ostream& os, vtkIndent indent);  
00038   virtual const char* GetVTKSourceVersion();
00039 protected:
00040   vtkKitwareObjectFactory() {};
00041   virtual vtkObject* CreateObject(const char* vtkclassname );
00042 private:
00043   vtkKitwareObjectFactory(const vtkKitwareObjectFactory&);  // Not implemented.
00044   void operator=(const vtkKitwareObjectFactory&);  // Not implemented.
00045 };
00046 
00047 extern "C" VTK_PATENTED_EXPORT vtkObjectFactory* vtkLoad();
00048 #endif