VTK  9.7.20261203
vtkAnariPolyDataMapper2D.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
3
19
20#ifndef vtkAnariPolyDataMapper2D_h
21#define vtkAnariPolyDataMapper2D_h
22
23#include "vtkPolyDataMapper2D.h"
24#include "vtkRenderingAnariCoreModule.h" // For export macro
25
26VTK_ABI_NAMESPACE_BEGIN
28
29class VTKRENDERINGANARICORE_EXPORT vtkAnariPolyDataMapper2D : public vtkPolyDataMapper2D
30{
31public:
34 void PrintSelf(ostream& os, vtkIndent indent) override;
35
41
47 void RenderOverlay(vtkViewport* viewport, vtkActor2D* actor) override;
48
49protected:
51 ~vtkAnariPolyDataMapper2D() override = default;
52
53private:
55 void operator=(const vtkAnariPolyDataMapper2D&) = delete;
56};
57
58#define vtkAnariPolyDataMapper2D_OVERRIDE_ATTRIBUTES \
59 vtkAnariPolyDataMapper2D::CreateOverrideAttributes()
60VTK_ABI_NAMESPACE_END
61#endif
a actor that draws 2D data
Definition vtkActor2D.h:145
~vtkAnariPolyDataMapper2D() override=default
static vtkOverrideAttribute * CreateOverrideAttributes()
Object factory attributes: the same as vtkAnariRenderWindow's, so this override is selected exactly w...
void RenderOverlay(vtkViewport *viewport, vtkActor2D *actor) override
Draw the input polydata into the window's overlay canvas, clipped to the viewport.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkAnariPolyDataMapper2D * New()
vtkAnariPolyDataMapper2D()=default
a simple class to control print indentation
Definition vtkIndent.h:108
Attribute for vtkObjectFactory overrides.
abstract specification for Viewports
Definition vtkViewport.h:66