44 #ifndef vtkLabelPlacer_h
45 #define vtkLabelPlacer_h
70 VerticalBottomBit = 1,
71 VerticalBaselineBit = 2,
72 VerticalCenterBit = 4,
74 HorizontalLeftBit = 16,
75 HorizontalCenterBit = 32,
76 HorizontalRightBit = 64,
78 HorizontalBitMask = 112,
107 virtual void SetGravity(
int gravity );
108 vtkGetMacro(Gravity,
int);
114 vtkSetClampMacro(MaximumLabelFraction,
double,0.,1.);
115 vtkGetMacro(MaximumLabelFraction,
double);
121 vtkSetMacro(IteratorType,
int);
122 vtkGetMacro(IteratorType,
int);
127 vtkSetMacro(UseUnicodeStrings,
bool);
128 vtkGetMacro(UseUnicodeStrings,
bool);
129 vtkBooleanMacro(UseUnicodeStrings,
bool);
139 vtkGetMacro(PositionsAsNormals,
bool);
140 vtkSetMacro(PositionsAsNormals,
bool);
141 vtkBooleanMacro(PositionsAsNormals,
bool);
147 vtkGetMacro(GeneratePerturbedLabelSpokes,
bool);
148 vtkSetMacro(GeneratePerturbedLabelSpokes,
bool);
149 vtkBooleanMacro(GeneratePerturbedLabelSpokes,
bool);
156 vtkGetMacro(UseDepthBuffer,
bool);
157 vtkSetMacro(UseDepthBuffer,
bool);
158 vtkBooleanMacro(UseDepthBuffer,
bool);
164 vtkGetMacro(OutputTraversedBounds,
bool);
165 vtkSetMacro(OutputTraversedBounds,
bool);
166 vtkBooleanMacro(OutputTraversedBounds,
bool);
173 vtkGetMacro(OutputCoordinateSystem,
int);
174 vtkSetClampMacro(OutputCoordinateSystem,
int,WORLD,DISPLAY);
205 int LastRendererSize[2];
206 double LastCameraPosition[3];
207 double LastCameraFocalPoint[3];
208 double LastCameraViewUp[3];
218 #endif // vtkLabelPlacer_h
virtual int FillInputPortInformation(int port, vtkInformation *info)
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)
abstract specification for renderers
void OutputCoordinateSystemDisplay()
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
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
virtual unsigned long GetMTime()
a simple class to control print indentation
#define VTKRENDERINGLABEL_EXPORT
void OutputCoordinateSystemWorld()
bool OutputTraversedBounds
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.
double LastCameraParallelScale
double MaximumLabelFraction