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

vtkOpenGLProperty.h

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