Go to the documentation of this file.
59 #ifndef vtkDynamic2DLabelMapper_h
60 #define vtkDynamic2DLabelMapper_h
62 #include "vtkRenderingLabelModule.h"
89 vtkSetMacro(ReversePriority,
bool);
90 vtkGetMacro(ReversePriority,
bool);
91 vtkBooleanMacro(ReversePriority,
bool);
100 vtkSetMacro(LabelHeightPadding,
float);
101 vtkGetMacro(LabelHeightPadding,
float);
110 vtkSetMacro(LabelWidthPadding,
float);
111 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.