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