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 =========================================================================*/ 00026 #ifndef __vtkOpenGLProperty_h 00027 #define __vtkOpenGLProperty_h 00028 00029 #include "vtkProperty.h" 00030 00031 class vtkOpenGLRenderer; 00032 00033 class VTK_RENDERING_EXPORT vtkOpenGLProperty : public vtkProperty 00034 { 00035 public: 00036 static vtkOpenGLProperty *New(); 00037 vtkTypeRevisionMacro(vtkOpenGLProperty,vtkProperty); 00038 virtual void PrintSelf(ostream& os, vtkIndent indent); 00039 00041 void Render(vtkActor *a, vtkRenderer *ren); 00042 00044 void BackfaceRender(vtkActor *a, vtkRenderer *ren); 00045 00046 protected: 00047 vtkOpenGLProperty() {}; 00048 ~vtkOpenGLProperty() {}; 00049 private: 00050 vtkOpenGLProperty(const vtkOpenGLProperty&); // Not implemented. 00051 void operator=(const vtkOpenGLProperty&); // Not implemented. 00052 }; 00053 00054 #endif