45#ifndef vtkLabelPlacer_h
46#define vtkLabelPlacer_h
48#include "vtkRenderingLabelModule.h"
70 VerticalBottomBit = 1,
71 VerticalBaselineBit = 2,
72 VerticalCenterBit = 4,
74 HorizontalLeftBit = 16,
75 HorizontalCenterBit = 32,
76 HorizontalRightBit = 64,
78 HorizontalBitMask = 112,
109 vtkGetMacro(Gravity,
int);
117 vtkSetClampMacro(MaximumLabelFraction,
double,0.,1.);
118 vtkGetMacro(MaximumLabelFraction,
double);
127 vtkGetMacro(IteratorType,
int);
135 vtkGetMacro(UseUnicodeStrings,
bool);
147 vtkGetMacro(PositionsAsNormals,
bool);
157 vtkGetMacro(GeneratePerturbedLabelSpokes,
bool);
167 vtkGetMacro(UseDepthBuffer,
bool);
176 vtkGetMacro(OutputTraversedBounds,
bool);
186 vtkGetMacro(OutputCoordinateSystem,
int);
187 vtkSetClampMacro(OutputCoordinateSystem,
int,WORLD,DISPLAY);
216 int LastRendererSize[2];
217 double LastCameraPosition[3];
218 double LastCameraFocalPoint[3];
219 double LastCameraViewUp[3];
perform coordinate transformation, and represent position, in a variety of vtk coordinate systems
a simple class to control print indentation
place a prioritized hierarchy of labels in screen space
virtual void SetRenderer(vtkRenderer *)
int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
virtual vtkMTimeType GetMTime()
Return this object's modified time.
double MaximumLabelFraction
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
LabelGravity
Specifications for the placement of the label relative to an anchor point.
void OutputCoordinateSystemWorld()
static vtkLabelPlacer * New()
vtkCoordinate * AnchorTransform
virtual void SetAnchorTransform(vtkCoordinate *)
bool OutputTraversedBounds
void OutputCoordinateSystemDisplay()
virtual void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
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.
vtkSelectVisiblePoints * VisiblePoints
double LastCameraParallelScale
bool GeneratePerturbedLabelSpokes
int OutputCoordinateSystem
virtual ~vtkLabelPlacer()
Superclass for algorithms that produce only polydata as output.
abstract specification for renderers
extract points that are visible (based on z-buffer calculation)
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkTypeUInt64 vtkMTimeType