VTK
vtkOpenGLPolyDataMapper2D.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkOpenGLPolyDataMapper2D.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
27#ifndef vtkOpenGLPolyDataMapper2D_h
28#define vtkOpenGLPolyDataMapper2D_h
29
30#include "vtkRenderingOpenGLModule.h" // For export macro
31#include "vtkPolyDataMapper2D.h"
32
33class VTKRENDERINGOPENGL_EXPORT vtkOpenGLPolyDataMapper2D : public vtkPolyDataMapper2D
34{
35public:
38 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
39
43 void RenderOverlay(vtkViewport* viewport, vtkActor2D* actor);
44
45protected:
48
49private:
50 vtkOpenGLPolyDataMapper2D(const vtkOpenGLPolyDataMapper2D&) VTK_DELETE_FUNCTION;
51 void operator=(const vtkOpenGLPolyDataMapper2D&) VTK_DELETE_FUNCTION;
52};
53
54#endif
a actor that draws 2D data
Definition: vtkActor2D.h:46
a simple class to control print indentation
Definition: vtkIndent.h:40
2D PolyData support for OpenGL
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkOpenGLPolyDataMapper2D * New()
void RenderOverlay(vtkViewport *viewport, vtkActor2D *actor)
Actually draw the poly data.
draw vtkPolyData onto the image plane
abstract specification for Viewports
Definition: vtkViewport.h:48