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

Rendering/vtkOpenGLProperty.h

Go to the documentation of this file.
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 =========================================================================*/
00040 #ifndef __vtkOpenGLProperty_h
00041 #define __vtkOpenGLProperty_h
00042 
00043 #include "vtkProperty.h"
00044 
00045 class vtkOpenGLRenderer;
00046 
00047 class VTK_RENDERING_EXPORT vtkOpenGLProperty : public vtkProperty
00048 {
00049 public:
00050   static vtkOpenGLProperty *New();
00051   vtkTypeRevisionMacro(vtkOpenGLProperty,vtkProperty);
00052   virtual void PrintSelf(ostream& os, vtkIndent indent);
00053 
00055   void Render(vtkActor *a, vtkRenderer *ren);
00056 
00058   void BackfaceRender(vtkActor *a, vtkRenderer *ren);
00059 
00060 protected:
00061   vtkOpenGLProperty() {};
00062   ~vtkOpenGLProperty() {};
00063 private:
00064   vtkOpenGLProperty(const vtkOpenGLProperty&);  // Not implemented.
00065   void operator=(const vtkOpenGLProperty&);  // Not implemented.
00066 };
00067 
00068 #endif