VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkOpenGLRepresentationPainter.h 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 "vtkRenderingOpenGLModule.h" // For export macro 00027 #include "vtkRepresentationPainter.h" 00028 class vtkInformationIntegerKey; 00029 00030 class VTKRENDERINGOPENGL_EXPORT vtkOpenGLRepresentationPainter : 00031 public vtkRepresentationPainter 00032 { 00033 public: 00034 static vtkOpenGLRepresentationPainter* New(); 00035 vtkTypeMacro(vtkOpenGLRepresentationPainter, vtkRepresentationPainter); 00036 void PrintSelf(ostream& os, vtkIndent indent); 00037 00039 00044 virtual double GetTimeToDraw() 00045 { 00046 return this->TimeToDraw; 00047 } 00049 00050 protected: 00051 vtkOpenGLRepresentationPainter(); 00052 ~vtkOpenGLRepresentationPainter(); 00053 00055 00056 void RenderInternal(vtkRenderer* renderer, vtkActor* actor, 00057 unsigned long typeflags,bool forceCompileOnly); 00058 private: 00059 vtkOpenGLRepresentationPainter(const vtkOpenGLRepresentationPainter&); // Not implemented. 00060 void operator=(const vtkOpenGLRepresentationPainter&); // Not implemented. 00061 }; 00063 00064 #endif