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

vtkImagingFactory.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkImagingFactory.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 =========================================================================*/
00032 #ifndef __vtkImagingFactory_h
00033 #define __vtkImagingFactory_h
00034 
00035 #include "vtkObject.h"
00036 
00037 class VTK_RENDERING_EXPORT vtkImagingFactory : public vtkObject
00038 {
00039 public:
00040   static vtkImagingFactory *New();
00041   vtkTypeRevisionMacro(vtkImagingFactory,vtkObject);
00042   virtual void PrintSelf(ostream& os, vtkIndent indent);
00043 
00046   static vtkObject* CreateInstance(const char* vtkclassname);
00047 
00049 
00051   static void SetUseMesaClasses(int use);
00052   static int  GetUseMesaClasses();
00054 
00055 protected:
00056   vtkImagingFactory() {};
00057 
00058   static int UseMesaClasses;
00059 
00060 private:
00061   vtkImagingFactory(const vtkImagingFactory&);  // Not implemented.
00062   void operator=(const vtkImagingFactory&);  // Not implemented.
00063 };
00064 
00065 #endif