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

Rendering/vtkImagingFactory.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkImagingFactory.h,v $
00005   Language:  C++
00006 
00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
00008   All rights reserved.
00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00010 
00011      This software is distributed WITHOUT ANY WARRANTY; without even 
00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00013      PURPOSE.  See the above copyright notice for more information.
00014 
00015 =========================================================================*/
00036 #ifndef __vtkImagingFactory_h
00037 #define __vtkImagingFactory_h
00038 
00039 #include "vtkObject.h"
00040 
00041 class VTK_RENDERING_EXPORT vtkImagingFactory : public vtkObject
00042 {
00043 public:
00044   static vtkImagingFactory *New();
00045   vtkTypeRevisionMacro(vtkImagingFactory,vtkObject);
00046   virtual void PrintSelf(ostream& os, vtkIndent indent);
00047 
00050   static vtkObject* CreateInstance(const char* vtkclassname);
00051 
00053 
00055   static void SetUseMesaClasses(int use);
00056   static int  GetUseMesaClasses();
00058 
00059 protected:
00060   vtkImagingFactory() {};
00061 
00062   static int UseMesaClasses;
00063 
00064 private:
00065   vtkImagingFactory(const vtkImagingFactory&);  // Not implemented.
00066   void operator=(const vtkImagingFactory&);  // Not implemented.
00067 };
00068 
00069 #endif