 |
VTK
9.0.1
|
Go to the documentation of this file.
62 #ifndef vtkDynamic2DLabelMapper_h
63 #define vtkDynamic2DLabelMapper_h
66 #include "vtkRenderingLabelModule.h"
92 vtkSetMacro(ReversePriority,
bool);
93 vtkGetMacro(ReversePriority,
bool);
94 vtkBooleanMacro(ReversePriority,
bool);
103 vtkSetMacro(LabelHeightPadding,
float);
104 vtkGetMacro(LabelHeightPadding,
float);
113 vtkSetMacro(LabelWidthPadding,
float);
114 vtkGetMacro(LabelWidthPadding,
float);
void RenderOpaqueGeometry(vtkViewport *viewport, vtkActor2D *actor) override
Draw non-overlapping labels to the screen.
void SetPriorityArrayName(const char *name)
Set the points array name to use to give priority to labels.
~vtkDynamic2DLabelMapper() override
double GetCurrentScale(vtkViewport *viewport)
Calculate the current zoom scale of the viewport.
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
abstract specification for Viewports
a actor that draws 2D data
draw text labels at dataset points
void RenderOverlay(vtkViewport *viewport, vtkActor2D *actor) override
draw text labels at 2D dataset points
vtkDynamic2DLabelMapper()
static vtkDynamic2DLabelMapper * New()
Instantiate object with %%-#6.3g label format.