VTK  9.3.20240318
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 
20 VTK_ABI_NAMESPACE_BEGIN
21 class vtkViewport;
22 class vtkActor2D;
23 
24 class VTKRENDERINGCORE_EXPORT vtkMapper2D : public vtkAbstractMapper
25 {
26 public:
28  void PrintSelf(ostream& os, vtkIndent indent) override;
29 
30  virtual void RenderOverlay(vtkViewport*, vtkActor2D*) {}
34 
35 protected:
36  vtkMapper2D() = default;
37  ~vtkMapper2D() override = default;
38 
39 private:
40  vtkMapper2D(const vtkMapper2D&) = delete;
41  void operator=(const vtkMapper2D&) = delete;
42 };
43 
44 VTK_ABI_NAMESPACE_END
45 #endif
abstract class specifies interface to map data
a actor that draws 2D data
Definition: vtkActor2D.h:144
a simple class to control print indentation
Definition: vtkIndent.h:108
abstract class specifies interface for objects which render 2D actors
Definition: vtkMapper2D.h:25
virtual void RenderOpaqueGeometry(vtkViewport *, vtkActor2D *)
Definition: vtkMapper2D.h:31
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkMapper2D()=default
virtual void RenderOverlay(vtkViewport *, vtkActor2D *)
Definition: vtkMapper2D.h:30
virtual void RenderTranslucentPolygonalGeometry(vtkViewport *, vtkActor2D *)
Definition: vtkMapper2D.h:32
virtual vtkTypeBool HasTranslucentPolygonalGeometry()
Definition: vtkMapper2D.h:33
~vtkMapper2D() override=default
abstract specification for Viewports
Definition: vtkViewport.h:64
int vtkTypeBool
Definition: vtkABI.h:64