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/vtkOpenGLPolyDataMapper2D.h

55 lines
1.7 KiB
C++

/*=========================================================================
Program: Visualization Toolkit
Module: vtkOpenGLPolyDataMapper2D.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 vtkOpenGLPolyDataMapper2D
* @brief 2D PolyData support for OpenGL
*
* vtkOpenGLPolyDataMapper2D provides 2D PolyData annotation support for
* vtk under OpenGL. Normally the user should use vtkPolyDataMapper2D
* which in turn will use this class.
*
* @sa
* vtkPolyDataMapper2D
*/
#ifndef vtkOpenGLPolyDataMapper2D_h
#define vtkOpenGLPolyDataMapper2D_h
#include "vtkRenderingOpenGLModule.h" // For export macro
#include "vtkPolyDataMapper2D.h"
class VTKRENDERINGOPENGL_EXPORT vtkOpenGLPolyDataMapper2D : public vtkPolyDataMapper2D
{
public:
vtkTypeMacro(vtkOpenGLPolyDataMapper2D, vtkPolyDataMapper2D);
static vtkOpenGLPolyDataMapper2D *New();
void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
/**
* Actually draw the poly data.
*/
void RenderOverlay(vtkViewport* viewport, vtkActor2D* actor);
protected:
vtkOpenGLPolyDataMapper2D() {}
~vtkOpenGLPolyDataMapper2D() {}
private:
vtkOpenGLPolyDataMapper2D(const vtkOpenGLPolyDataMapper2D&) VTK_DELETE_FUNCTION;
void operator=(const vtkOpenGLPolyDataMapper2D&) VTK_DELETE_FUNCTION;
};
#endif