You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nmWTAI-Platform/3rd/VTK7.1/include/vtkOpenGLCoincidentTopology...

62 lines
2.3 KiB
C++

/*=========================================================================
Program: Visualization Toolkit
Module: vtkOpenGLCoincidentTopologyResolutionPainter.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
/**
* @class vtkOpenGLCoincidentTopologyResolutionPainter
*
* Implementation for vtkCoincidentTopologyResolutionPainter using OpenGL.
*/
#ifndef vtkOpenGLCoincidentTopologyResolutionPainter_h
#define vtkOpenGLCoincidentTopologyResolutionPainter_h
#include "vtkRenderingOpenGLModule.h" // For export macro
#include "vtkCoincidentTopologyResolutionPainter.h"
class VTKRENDERINGOPENGL_EXPORT vtkOpenGLCoincidentTopologyResolutionPainter :
public vtkCoincidentTopologyResolutionPainter
{
public:
static vtkOpenGLCoincidentTopologyResolutionPainter* New();
vtkTypeMacro(vtkOpenGLCoincidentTopologyResolutionPainter,
vtkCoincidentTopologyResolutionPainter);
void PrintSelf(ostream& os, vtkIndent indent);
protected:
vtkOpenGLCoincidentTopologyResolutionPainter();
~vtkOpenGLCoincidentTopologyResolutionPainter();
/**
* Performs the actual rendering. Subclasses may override this method.
* default implementation merely call a Render on the DelegatePainter,
* if any. When RenderInternal() is called, it is assured that the
* DelegatePainter is in sync with this painter i.e. UpdatePainter()
* has been called.
*/
virtual void RenderInternal(vtkRenderer* renderer, vtkActor* actor,
unsigned long typeflags, bool forceCompileOnly);
void RenderPolygonOffset(vtkRenderer *renderer, vtkActor *actor,
unsigned long typeflags, bool forceCompileOnly);
void RenderShiftZBuffer(vtkRenderer *renderer, vtkActor *actor,
unsigned long typeflags, bool forceCompileOnly);
private:
vtkOpenGLCoincidentTopologyResolutionPainter(
const vtkOpenGLCoincidentTopologyResolutionPainter&) VTK_DELETE_FUNCTION;
void operator=(const vtkOpenGLCoincidentTopologyResolutionPainter&) VTK_DELETE_FUNCTION;
};
#endif