45 #ifndef vtkLabelPlacer_h
46 #define vtkLabelPlacer_h
49 #include "vtkRenderingLabelModule.h"
70 VerticalBottomBit = 1,
71 VerticalBaselineBit = 2,
72 VerticalCenterBit = 4,
74 HorizontalLeftBit = 16,
75 HorizontalCenterBit = 32,
76 HorizontalRightBit = 64,
78 HorizontalBitMask = 112,
116 virtual void SetGravity(
int gravity);
117 vtkGetMacro(Gravity,
int);
125 vtkSetClampMacro(MaximumLabelFraction,
double, 0., 1.);
126 vtkGetMacro(MaximumLabelFraction,
double);
134 vtkSetMacro(IteratorType,
int);
135 vtkGetMacro(IteratorType,
int);
146 vtkGetMacro(PositionsAsNormals,
bool);
147 vtkSetMacro(PositionsAsNormals,
bool);
148 vtkBooleanMacro(PositionsAsNormals,
bool);
156 vtkGetMacro(GeneratePerturbedLabelSpokes,
bool);
157 vtkSetMacro(GeneratePerturbedLabelSpokes,
bool);
158 vtkBooleanMacro(GeneratePerturbedLabelSpokes,
bool);
166 vtkGetMacro(UseDepthBuffer,
bool);
167 vtkSetMacro(UseDepthBuffer,
bool);
168 vtkBooleanMacro(UseDepthBuffer,
bool);
175 vtkGetMacro(OutputTraversedBounds,
bool);
176 vtkSetMacro(OutputTraversedBounds,
bool);
177 vtkBooleanMacro(OutputTraversedBounds,
bool);
185 vtkGetMacro(OutputCoordinateSystem,
int);
186 vtkSetClampMacro(OutputCoordinateSystem,
int, WORLD, DISPLAY);
214 int LastRendererSize[2];
215 double LastCameraPosition[3];
216 double LastCameraFocalPoint[3];
217 double LastCameraViewUp[3];
227 #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
vtkTypeUInt32 vtkMTimeType
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
abstract specification for renderers
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 ...
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.
double LastCameraParallelScale
double MaximumLabelFraction
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.