VTK  9.7.1
vtkMapper2D.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
14 #ifndef vtkMapper2D_h
15 #define vtkMapper2D_h
16 
17 #include "vtkAbstractMapper.h"
18 #include "vtkRenderingCoreModule.h" // For export macro
19 #include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
20 
21 VTK_ABI_NAMESPACE_BEGIN
22 class vtkViewport;
23 class vtkActor2D;
24 
25 class VTKRENDERINGCORE_EXPORT VTK_MARSHALAUTO vtkMapper2D : public vtkAbstractMapper
26 {
27 public:
29  void PrintSelf(ostream& os, vtkIndent indent) override;
30 
31  virtual void RenderOverlay(vtkViewport*, vtkActor2D*) {}
35 
36 protected:
37  vtkMapper2D() = default;
38  ~vtkMapper2D() override = default;
39 
40 private:
41  vtkMapper2D(const vtkMapper2D&) = delete;
42  void operator=(const vtkMapper2D&) = delete;
43 };
44 
45 VTK_ABI_NAMESPACE_END
46 #endif
virtual void RenderOverlay(vtkViewport *, vtkActor2D *)
Definition: vtkMapper2D.h:31
abstract specification for Viewports
Definition: vtkViewport.h:46
a actor that draws 2D data
Definition: vtkActor2D.h:35
virtual void RenderTranslucentPolygonalGeometry(vtkViewport *, vtkActor2D *)
Definition: vtkMapper2D.h:33
int vtkTypeBool
Definition: vtkABI.h:64
a simple class to control print indentation
Definition: vtkIndent.h:28
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
abstract class specifies interface to map data
#define VTK_MARSHALAUTO
virtual void RenderOpaqueGeometry(vtkViewport *, vtkActor2D *)
Definition: vtkMapper2D.h:32
virtual vtkTypeBool HasTranslucentPolygonalGeometry()
Definition: vtkMapper2D.h:34
abstract class specifies interface for objects which render 2D actors
Definition: vtkMapper2D.h:25