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 "vtkRenderingOpenGLModule.h" // For export macro 00024 #include "vtkCoincidentTopologyResolutionPainter.h" 00025 00026 class VTKRENDERINGOPENGL_EXPORT vtkOpenGLCoincidentTopologyResolutionPainter : 00027 public vtkCoincidentTopologyResolutionPainter 00028 { 00029 public: 00030 static vtkOpenGLCoincidentTopologyResolutionPainter* New(); 00031 vtkTypeMacro(vtkOpenGLCoincidentTopologyResolutionPainter, 00032 vtkCoincidentTopologyResolutionPainter); 00033 void PrintSelf(ostream& os, vtkIndent indent); 00034 00035 protected: 00036 vtkOpenGLCoincidentTopologyResolutionPainter(); 00037 ~vtkOpenGLCoincidentTopologyResolutionPainter(); 00038 00040 00045 virtual void RenderInternal(vtkRenderer* renderer, vtkActor* actor, 00046 unsigned long typeflags, bool forceCompileOnly); 00048 00049 void RenderPolygonOffset(vtkRenderer *renderer, vtkActor *actor, 00050 unsigned long typeflags, bool forceCompileOnly); 00051 void RenderShiftZBuffer(vtkRenderer *renderer, vtkActor *actor, 00052 unsigned long typeflags, bool forceCompileOnly); 00053 00054 private: 00055 vtkOpenGLCoincidentTopologyResolutionPainter( 00056 const vtkOpenGLCoincidentTopologyResolutionPainter&); // Not implemented. 00057 void operator=(const vtkOpenGLCoincidentTopologyResolutionPainter&); // Not implemented. 00058 }; 00059 00060 #endif