00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkOpenGLProperty.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 =========================================================================*/ 00038 #ifndef __vtkOpenGLProperty_h 00039 #define __vtkOpenGLProperty_h 00040 00041 #include "vtkProperty.h" 00042 00043 class vtkOpenGLRenderer; 00044 00045 class VTK_RENDERING_EXPORT vtkOpenGLProperty : public vtkProperty 00046 { 00047 public: 00048 static vtkOpenGLProperty *New(); 00049 vtkTypeRevisionMacro(vtkOpenGLProperty,vtkProperty); 00050 virtual void PrintSelf(ostream& os, vtkIndent indent); 00051 00053 void Render(vtkActor *a, vtkRenderer *ren); 00054 00056 void BackfaceRender(vtkActor *a, vtkRenderer *ren); 00057 00058 protected: 00059 vtkOpenGLProperty() {}; 00060 ~vtkOpenGLProperty() {}; 00061 private: 00062 vtkOpenGLProperty(const vtkOpenGLProperty&); // Not implemented. 00063 void operator=(const vtkOpenGLProperty&); // Not implemented. 00064 }; 00065 00066 #endif