42#ifndef vtkLabelPlacer_h
43#define vtkLabelPlacer_h
46#include "vtkRenderingLabelModule.h"
perform coordinate transformation, and represent position, in a variety of vtk coordinate systems
a simple class to control print indentation
virtual void SetRenderer(vtkRenderer *)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
double MaximumLabelFraction
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
LabelGravity
Specifications for the placement of the label relative to an anchor point.
@ CenterLeft
The anchor is at the far left edge of the label at the vertical center of the bounding box.
@ BaselineCenter
The anchor is centered left-to-right at the text baseline of the bounding box, or the bottom for imag...
@ LowerLeft
The anchor is at the lower left corner of the label's bounding box.
@ LowerRight
The anchor is at the lower right corner of the label's bounding box.
@ BaselineLeft
The anchor is on the text baseline (or bottom for images) at the left edge of the label's bounding bo...
@ UpperLeft
The anchor is at the upper left corner of the label's bounding box.
@ LowerCenter
The anchor is centered left-to-right at the lower edge of the bounding box.
@ CenterRight
The anchor is at the far right edge of the label at the vertical center of the bounding box.
@ CenterCenter
The anchor is centered left-to-right at the vertical midpoint of the bounding box.
@ UpperRight
The anchor is at the upper right corner of the label's bounding box.
@ UpperCenter
The anchor is centered left-to-right at the top edge of the bounding box.
@ BaselineRight
The anchor is on the text baseline (or bottom for images) at the right edge of the label's bounding b...
void OutputCoordinateSystemWorld()
Set/get the coordinate system used for output labels.
double LastCameraPosition[3]
static vtkLabelPlacer * New()
vtkCoordinate * AnchorTransform
virtual void SetAnchorTransform(vtkCoordinate *)
bool OutputTraversedBounds
~vtkLabelPlacer() override
double LastCameraViewUp[3]
vtkMTimeType GetMTime() override
Return this object's modified time.
void OutputCoordinateSystemDisplay()
Set/get the coordinate system used for output labels.
OutputCoordinates
Coordinate systems that output dataset may use.
@ DISPLAY
Output 2-D display coordinates for each label anchor (3 components but only 2 are significant).
@ WORLD
Output 3-D world-space coordinates for each label anchor.
virtual void SetGravity(int gravity)
The placement of the label relative to the anchor point.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
vtkSelectVisiblePoints * VisiblePoints
double LastCameraParallelScale
bool GeneratePerturbedLabelSpokes
double LastCameraFocalPoint[3]
int OutputCoordinateSystem
virtual void SetOutputCoordinateSystem(int)
Set/get the coordinate system used for output labels.
abstract specification for renderers
extract points that are visible (based on z-buffer calculation)
vtkTypeUInt32 vtkMTimeType