00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkOpenGLRepresentationPainter.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 =========================================================================*/ 00023 #ifndef __vtkOpenGLRepresentationPainter_h 00024 #define __vtkOpenGLRepresentationPainter_h 00025 00026 #include "vtkRepresentationPainter.h" 00027 class vtkInformationIntegerKey; 00028 00029 class VTK_RENDERING_EXPORT vtkOpenGLRepresentationPainter : 00030 public vtkRepresentationPainter 00031 { 00032 public: 00033 static vtkOpenGLRepresentationPainter* New(); 00034 vtkTypeRevisionMacro(vtkOpenGLRepresentationPainter, vtkRepresentationPainter); 00035 void PrintSelf(ostream& os, vtkIndent indent); 00036 00038 00043 virtual double GetTimeToDraw() 00044 { 00045 return this->TimeToDraw; 00046 } 00048 00049 protected: 00050 vtkOpenGLRepresentationPainter(); 00051 ~vtkOpenGLRepresentationPainter(); 00052 00054 00055 void RenderInternal(vtkRenderer* renderer, vtkActor* actor, 00056 unsigned long typeflags); 00058 private: 00059 vtkOpenGLRepresentationPainter(const vtkOpenGLRepresentationPainter&); // Not implemented. 00060 void operator=(const vtkOpenGLRepresentationPainter&); // Not implemented. 00061 }; 00062 00063 #endif