45#ifndef vtkLabelPlacer_h
46#define vtkLabelPlacer_h
49#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.
@ 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.
@ 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.
@ 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.
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.
@ 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