VTK: Rendering/Core/vtkMapper2D.h Source File

| VTK 9.3.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
20 VTK_ABI_NAMESPACE_BEGIN
21 class vtkViewport;
22 class vtkActor2D;
23
24 class VTKRENDERINGCORE_EXPORT vtkMapper2D : public vtkAbstractMapper
25 {
26 public:
27 vtkTypeMacro(vtkMapper2D, vtkAbstractMapper);
28 void PrintSelf(ostream& os, vtkIndent indent) override;
29
30 virtual void RenderOverlay(vtkViewport*, vtkActor2D*) {}
31 virtual void RenderOpaqueGeometry(vtkViewport*, vtkActor2D*) {}
32 virtual void RenderTranslucentPolygonalGeometry(vtkViewport*, vtkActor2D*) {}
33 virtual vtkTypeBool HasTranslucentPolygonalGeometry() { return 0; }
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
vtkAbstractMapper
abstract class specifies interface to map data
Definition: vtkAbstractMapper.h:46
vtkActor2D
a actor that draws 2D data
Definition: vtkActor2D.h:44
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkMapper2D
abstract class specifies interface for objects which render 2D actors
Definition: vtkMapper2D.h:25
vtkMapper2D::RenderOpaqueGeometry
virtual void RenderOpaqueGeometry(vtkViewport *, vtkActor2D *)
Definition: vtkMapper2D.h:31
vtkMapper2D::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkMapper2D::vtkMapper2D
vtkMapper2D()=default
vtkMapper2D::RenderOverlay
virtual void RenderOverlay(vtkViewport *, vtkActor2D *)
Definition: vtkMapper2D.h:30
vtkMapper2D::RenderTranslucentPolygonalGeometry
virtual void RenderTranslucentPolygonalGeometry(vtkViewport *, vtkActor2D *)
Definition: vtkMapper2D.h:32
vtkMapper2D::HasTranslucentPolygonalGeometry
virtual vtkTypeBool HasTranslucentPolygonalGeometry()
Definition: vtkMapper2D.h:33
vtkMapper2D::~vtkMapper2D
~vtkMapper2D() override=default
vtkViewport
abstract specification for Viewports
Definition: vtkViewport.h:54
vtkTypeBool
int vtkTypeBool
Definition: vtkABI.h:64
vtkAbstractMapper.h