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

vtkGraphicsFactory.h

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

Generated on Mon Jan 21 23:07:34 2008 for VTK by  doxygen 1.4.3-20050530