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

dox/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 =========================================================================*/ 00023 #ifndef __vtkImagingFactory_h 00024 #define __vtkImagingFactory_h 00025 00026 #include "vtkObject.h" 00027 00028 class VTK_RENDERING_EXPORT vtkImagingFactory : public vtkObject 00029 { 00030 public: 00031 static vtkImagingFactory *New(); 00032 vtkTypeRevisionMacro(vtkImagingFactory,vtkObject); 00033 virtual void PrintSelf(ostream& os, vtkIndent indent); 00034 00037 static vtkObject* CreateInstance(const char* vtkclassname); 00038 00040 00042 static void SetUseMesaClasses(int use); 00043 static int GetUseMesaClasses(); 00045 00046 protected: 00047 vtkImagingFactory() {}; 00048 00049 static int UseMesaClasses; 00050 00051 private: 00052 vtkImagingFactory(const vtkImagingFactory&); // Not implemented. 00053 void operator=(const vtkImagingFactory&); // Not implemented. 00054 }; 00055 00056 #endif