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

# 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 =========================================================================*/
    00043 #ifndef __vtkGraphicsFactory_h
    00044 #define __vtkGraphicsFactory_h
    00045
    00046 #include "vtkObject.h"
    00047
    00048 class VTK_RENDERING_EXPORT vtkGraphicsFactory : public vtkObject
    00049 {
    00050 public:
    00051   static vtkGraphicsFactory *New();
    00052   vtkTypeRevisionMacro(vtkGraphicsFactory,vtkObject);
    00053   virtual void PrintSelf(ostream& os, vtkIndent indent);
    00054
    00057   static vtkObject* CreateInstance(const char* vtkclassname);
    00058
    00060   static const char *GetRenderLibrary();
    00061
    00063
    00065   static void SetUseMesaClasses(int use);
    00066   static int  GetUseMesaClasses();
    00068
    00069 protected:
    00070   vtkGraphicsFactory() {};
    00071
    00072   static int UseMesaClasses;
    00073
    00074 private:
    00075   vtkGraphicsFactory(const vtkGraphicsFactory&);  // Not implemented.
    00076   void operator=(const vtkGraphicsFactory&);  // Not implemented.
    00077 };
    00078
    00079 #endif