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

dox/Rendering/vtkGraphicsFactory.h

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