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,
108 virtual void SetGravity(
int gravity );
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];
229 #endif // vtkLabelPlacer_h
OutputCoordinates
Coordinate systems that output dataset may use.
extract points that are visible (based on z-buffer calculation)
place a prioritized hierarchy of labels in screen space
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
abstract specification for renderers
vtkTypeUInt64 vtkMTimeType
void OutputCoordinateSystemDisplay()
Set/get the coordinate system used for output labels.
static vtkPolyDataAlgorithm * New()
Output 2-D display coordinates for each label anchor (3 components but only 2 are significant)...
Superclass for algorithms that produce only polydata as output.
Output 3-D world-space coordinates for each label anchor.
bool GeneratePerturbedLabelSpokes
a simple class to control print indentation
void OutputCoordinateSystemWorld()
Set/get the coordinate system used for output labels.
bool OutputTraversedBounds
virtual vtkMTimeType GetMTime()
Return this object's modified time.
vtkSelectVisiblePoints * VisiblePoints
perform coordinate transformation, and represent position, in a variety of vtk coordinate systems ...
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
vtkCoordinate * AnchorTransform
int OutputCoordinateSystem
LabelGravity
Specifications for the placement of the label relative to an anchor point.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
double LastCameraParallelScale
double MaximumLabelFraction
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.