22 #ifndef vtkLabelPlacementMapper_h
23 #define vtkLabelPlacementMapper_h
26 #include "vtkRenderingLabelModule.h"
29 VTK_ABI_NAMESPACE_BEGIN
59 vtkSetClampMacro(MaximumLabelFraction,
double, 0., 1.);
60 vtkGetMacro(MaximumLabelFraction,
double);
68 vtkSetMacro(IteratorType,
int);
69 vtkGetMacro(IteratorType,
int);
78 vtkGetMacro(PositionsAsNormals,
bool);
79 vtkSetMacro(PositionsAsNormals,
bool);
80 vtkBooleanMacro(PositionsAsNormals,
bool);
88 vtkGetMacro(GeneratePerturbedLabelSpokes,
bool);
89 vtkSetMacro(GeneratePerturbedLabelSpokes,
bool);
90 vtkBooleanMacro(GeneratePerturbedLabelSpokes,
bool);
98 vtkGetMacro(UseDepthBuffer,
bool);
99 vtkSetMacro(UseDepthBuffer,
bool);
100 vtkBooleanMacro(UseDepthBuffer,
bool);
108 vtkSetMacro(PlaceAllLabels,
bool);
109 vtkGetMacro(PlaceAllLabels,
bool);
110 vtkBooleanMacro(PlaceAllLabels,
bool);
117 vtkSetMacro(OutputTraversedBounds,
bool);
118 vtkGetMacro(OutputTraversedBounds,
bool);
119 vtkBooleanMacro(OutputTraversedBounds,
bool);
127 NUMBER_OF_LABEL_SHAPES
135 vtkSetClampMacro(
Shape,
int, 0, NUMBER_OF_LABEL_SHAPES - 1);
136 vtkGetMacro(
Shape,
int);
146 NUMBER_OF_LABEL_STYLES
154 vtkSetClampMacro(Style,
int, 0, NUMBER_OF_LABEL_STYLES - 1);
155 vtkGetMacro(Style,
int);
165 vtkSetMacro(Margin,
double);
166 vtkGetMacro(Margin,
double);
173 vtkSetVector3Macro(BackgroundColor,
double);
174 vtkGetVector3Macro(BackgroundColor,
double);
181 vtkSetClampMacro(BackgroundOpacity,
double, 0.0, 1.0);
182 vtkGetMacro(BackgroundOpacity,
double);
219 int LastRendererSize[2];
220 double LastCameraPosition[3];
221 double LastCameraFocalPoint[3];
222 double LastCameraViewUp[3];
230 double BackgroundColor[3];
237 VTK_ABI_NAMESPACE_END
virtual void SetStyleToOutline()
The style of the label background shape, should be one of the values in the LabelStyle enumeration...
bool GeneratePerturbedLabelSpokes
Superclass for label rendering implementations.
extract points that are visible (based on z-buffer calculation)
virtual void SetShapeToNone()
The shape of the label background, should be one of the values in the LabelShape enumeration.
virtual void RenderOverlay(vtkViewport *, vtkActor2D *)
abstract specification for Viewports
a actor that draws 2D data
virtual void SetShapeToRect()
The shape of the label background, should be one of the values in the LabelShape enumeration.
window superclass for vtkRenderWindow
vtkLabelRenderStrategy * RenderStrategy
bool OutputTraversedBounds
vtkCoordinate * AnchorTransform
a simple class to control print indentation
double MaximumLabelFraction
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
perform coordinate transformation, and represent position, in a variety of vtk coordinate systems ...
virtual void SetShapeToRoundedRect()
The shape of the label background, should be one of the values in the LabelShape enumeration.
virtual void ReleaseGraphicsResources(vtkWindow *)
Release any graphics resources that are being consumed by this mapper.
vtkSelectVisiblePoints * VisiblePoints
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Places and renders non-overlapping labels.
abstract class specifies interface for objects which render 2D actors
double LastCameraParallelScale
virtual void SetStyleToFilled()
The style of the label background shape, should be one of the values in the LabelStyle enumeration...