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 =========================================================================*/
26 #ifndef vtkOpenGLPolyDataMapper2D_h
27 #define vtkOpenGLPolyDataMapper2D_h
28 
29 #include "vtkRenderingOpenGLModule.h" // For export macro
30 #include "vtkPolyDataMapper2D.h"
31 
32 class VTKRENDERINGOPENGL_EXPORT vtkOpenGLPolyDataMapper2D : public vtkPolyDataMapper2D
33 {
34 public:
37  virtual void PrintSelf(ostream& os, vtkIndent indent);
38 
40  void RenderOverlay(vtkViewport* viewport, vtkActor2D* actor);
41 
42 protected:
45 
46 private:
47  vtkOpenGLPolyDataMapper2D(const vtkOpenGLPolyDataMapper2D&); // Not implemented.
48  void operator=(const vtkOpenGLPolyDataMapper2D&); // Not implemented.
49 };
50 
51 #endif
static vtkPolyDataMapper2D * New()
virtual void RenderOverlay(vtkViewport *, vtkActor2D *)
Definition: vtkMapper2D.h:40
abstract specification for Viewports
Definition: vtkViewport.h:46
a actor that draws 2D data
Definition: vtkActor2D.h:44
void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:38
2D PolyData support for OpenGL
draw vtkPolyData onto the image plane