35 #ifndef vtkLabelPlacementMapper_h 36 #define vtkLabelPlacementMapper_h 39 #include "vtkRenderingLabelModule.h" 70 vtkSetClampMacro(MaximumLabelFraction,
double, 0., 1.);
71 vtkGetMacro(MaximumLabelFraction,
double);
79 vtkSetMacro(IteratorType,
int);
80 vtkGetMacro(IteratorType,
int);
87 vtkSetMacro(UseUnicodeStrings,
bool);
88 vtkGetMacro(UseUnicodeStrings,
bool);
89 vtkBooleanMacro(UseUnicodeStrings,
bool);
98 vtkGetMacro(PositionsAsNormals,
bool);
99 vtkSetMacro(PositionsAsNormals,
bool);
100 vtkBooleanMacro(PositionsAsNormals,
bool);
108 vtkGetMacro(GeneratePerturbedLabelSpokes,
bool);
109 vtkSetMacro(GeneratePerturbedLabelSpokes,
bool);
110 vtkBooleanMacro(GeneratePerturbedLabelSpokes,
bool);
118 vtkGetMacro(UseDepthBuffer,
bool);
119 vtkSetMacro(UseDepthBuffer,
bool);
120 vtkBooleanMacro(UseDepthBuffer,
bool);
128 vtkSetMacro(PlaceAllLabels,
bool);
129 vtkGetMacro(PlaceAllLabels,
bool);
130 vtkBooleanMacro(PlaceAllLabels,
bool);
137 vtkSetMacro(OutputTraversedBounds,
bool);
138 vtkGetMacro(OutputTraversedBounds,
bool);
139 vtkBooleanMacro(OutputTraversedBounds,
bool);
147 NUMBER_OF_LABEL_SHAPES
155 vtkSetClampMacro(
Shape,
int, 0, NUMBER_OF_LABEL_SHAPES - 1);
156 vtkGetMacro(
Shape,
int);
166 NUMBER_OF_LABEL_STYLES
174 vtkSetClampMacro(Style,
int, 0, NUMBER_OF_LABEL_STYLES - 1);
175 vtkGetMacro(Style,
int);
185 vtkSetMacro(Margin,
double);
186 vtkGetMacro(Margin,
double);
193 vtkSetVector3Macro(BackgroundColor,
double);
194 vtkGetVector3Macro(BackgroundColor,
double);
201 vtkSetClampMacro(BackgroundOpacity,
double, 0.0, 1.0);
202 vtkGetMacro(BackgroundOpacity,
double);
241 int LastRendererSize[2];
242 double LastCameraPosition[3];
243 double LastCameraFocalPoint[3];
244 double LastCameraViewUp[3];
252 double BackgroundColor[3];
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...