 |
VTK
9.0.1
|
Go to the documentation of this file.
53 #ifndef vtkDynamic2DLabelMapper_h
54 #define vtkDynamic2DLabelMapper_h
57 #include "vtkRenderingLabelModule.h"
83 vtkSetMacro(ReversePriority,
bool);
84 vtkGetMacro(ReversePriority,
bool);
85 vtkBooleanMacro(ReversePriority,
bool);
94 vtkSetMacro(LabelHeightPadding,
float);
95 vtkGetMacro(LabelHeightPadding,
float);
104 vtkSetMacro(LabelWidthPadding,
float);
105 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.