43#ifndef vtkDynamic2DLabelMapper_h
44#define vtkDynamic2DLabelMapper_h
47#include "vtkRenderingLabelModule.h"
49VTK_ABI_NAMESPACE_BEGIN
74 vtkSetMacro(ReversePriority,
bool);
75 vtkGetMacro(ReversePriority,
bool);
76 vtkBooleanMacro(ReversePriority,
bool);
85 vtkSetMacro(LabelHeightPadding,
float);
86 vtkGetMacro(LabelHeightPadding,
float);
95 vtkSetMacro(LabelWidthPadding,
float);
96 vtkGetMacro(LabelWidthPadding,
float);
a actor that draws 2D data
draw text labels at 2D dataset points
static vtkDynamic2DLabelMapper * New()
Instantiate object with %%-#6.3g label format.
~vtkDynamic2DLabelMapper() override
vtkDynamic2DLabelMapper()
void RenderOverlay(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.
double GetCurrentScale(vtkViewport *viewport)
Calculate the current zoom scale of the viewport.
void PrintSelf(ostream &os, vtkIndent indent) override
Instantiate object with %%-#6.3g label format.
void RenderOpaqueGeometry(vtkViewport *viewport, vtkActor2D *actor) override
Draw non-overlapping labels to the screen.
a simple class to control print indentation
draw text labels at dataset points
abstract specification for Viewports