1 /*=========================================================================
3 Program: Visualization Toolkit
4 Module: $RCSfile: vtkImagingFactory.h,v $
6 Date: $Date: 2002/08/22 18:39:30 $
7 Version: $Revision: 1.13 $
9 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
11 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
13 This software is distributed WITHOUT ANY WARRANTY; without even
14 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 PURPOSE. See the above copyright notice for more information.
17 =========================================================================*/
18 // .NAME vtkImagingFactory -
19 // .SECTION Description
21 #ifndef __vtkImagingFactory_h
22 #define __vtkImagingFactory_h
24 #include "vtkObject.h"
26 class VTK_RENDERING_EXPORT vtkImagingFactory : public vtkObject
29 static vtkImagingFactory *New();
30 vtkTypeRevisionMacro(vtkImagingFactory,vtkObject);
31 virtual void PrintSelf(ostream& os, vtkIndent indent);
34 // Create and return an instance of the named vtk object.
35 // This method first checks the vtkObjectFactory to support
37 static vtkObject* CreateInstance(const char* vtkclassname);
40 // This option enables the creation of Mesa classes
41 // instead of the OpenGL classes when using mangled Mesa.
42 static void SetUseMesaClasses(int use);
43 static int GetUseMesaClasses();
46 vtkImagingFactory() {};
48 static int UseMesaClasses;
51 vtkImagingFactory(const vtkImagingFactory&); // Not implemented.
52 void operator=(const vtkImagingFactory&); // Not implemented.