42 #ifndef vtkLabelPlacer_h
43 #define vtkLabelPlacer_h
45 #include "vtkRenderingLabelModule.h"
67 VerticalBottomBit = 1,
68 VerticalBaselineBit = 2,
69 VerticalCenterBit = 4,
71 HorizontalLeftBit = 16,
72 HorizontalCenterBit = 32,
73 HorizontalRightBit = 64,
75 HorizontalBitMask = 112,
105 virtual void SetGravity(
int gravity );
106 vtkGetMacro(Gravity,
int);
114 vtkSetClampMacro(MaximumLabelFraction,
double,0.,1.);
115 vtkGetMacro(MaximumLabelFraction,
double);
124 vtkGetMacro(IteratorType,
int);
132 vtkGetMacro(UseUnicodeStrings,
bool);
144 vtkGetMacro(PositionsAsNormals,
bool);
154 vtkGetMacro(GeneratePerturbedLabelSpokes,
bool);
164 vtkGetMacro(UseDepthBuffer,
bool);
173 vtkGetMacro(OutputTraversedBounds,
bool);
183 vtkGetMacro(OutputCoordinateSystem,
int);
184 vtkSetClampMacro(OutputCoordinateSystem,
int,WORLD,DISPLAY);
203 vtkCoordinate* AnchorTransform;
206 double MaximumLabelFraction;
207 bool PositionsAsNormals;
208 bool OutputTraversedBounds;
209 bool GeneratePerturbedLabelSpokes;
211 bool UseUnicodeStrings;
213 int LastRendererSize[2];
214 double LastCameraPosition[3];
215 double LastCameraFocalPoint[3];
216 double LastCameraViewUp[3];
217 double LastCameraParallelScale;
219 int OutputCoordinateSystem;
226 #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
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.
a simple class to control print indentation
virtual vtkMTimeType GetMTime()
Return this object's modified time.
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.
LabelGravity
Specifications for the placement of the label relative to an anchor point.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.