VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkOpenGLCoincidentTopologyResolutionPainter.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 =========================================================================*/ 00020 #ifndef __vtkOpenGLCoincidentTopologyResolutionPainter_h 00021 #define __vtkOpenGLCoincidentTopologyResolutionPainter_h 00022 00023 #include "vtkCoincidentTopologyResolutionPainter.h" 00024 00025 class VTK_RENDERING_EXPORT vtkOpenGLCoincidentTopologyResolutionPainter : 00026 public vtkCoincidentTopologyResolutionPainter 00027 { 00028 public: 00029 static vtkOpenGLCoincidentTopologyResolutionPainter* New(); 00030 vtkTypeMacro(vtkOpenGLCoincidentTopologyResolutionPainter, 00031 vtkCoincidentTopologyResolutionPainter); 00032 void PrintSelf(ostream& os, vtkIndent indent); 00033 00034 protected: 00035 vtkOpenGLCoincidentTopologyResolutionPainter(); 00036 ~vtkOpenGLCoincidentTopologyResolutionPainter(); 00037 00039 00044 virtual void RenderInternal(vtkRenderer* renderer, vtkActor* actor, 00045 unsigned long typeflags, bool forceCompileOnly); 00047 00048 void RenderPolygonOffset(vtkRenderer *renderer, vtkActor *actor, 00049 unsigned long typeflags, bool forceCompileOnly); 00050 void RenderShiftZBuffer(vtkRenderer *renderer, vtkActor *actor, 00051 unsigned long typeflags, bool forceCompileOnly); 00052 00053 private: 00054 vtkOpenGLCoincidentTopologyResolutionPainter( 00055 const vtkOpenGLCoincidentTopologyResolutionPainter&); // Not implemented. 00056 void operator=(const vtkOpenGLCoincidentTopologyResolutionPainter&); // Not implemented. 00057 }; 00058 00059 00060 #endif