40 #ifndef vtkLabelPlacementMapper_h
41 #define vtkLabelPlacementMapper_h
69 vtkSetClampMacro(MaximumLabelFraction,
double,0.,1.);
70 vtkGetMacro(MaximumLabelFraction,
double);
76 vtkSetMacro(IteratorType,
int);
77 vtkGetMacro(IteratorType,
int);
82 vtkSetMacro(UseUnicodeStrings,
bool);
83 vtkGetMacro(UseUnicodeStrings,
bool);
84 vtkBooleanMacro(UseUnicodeStrings,
bool);
92 vtkGetMacro(PositionsAsNormals,
bool);
93 vtkSetMacro(PositionsAsNormals,
bool);
94 vtkBooleanMacro(PositionsAsNormals,
bool);
100 vtkGetMacro(GeneratePerturbedLabelSpokes,
bool);
101 vtkSetMacro(GeneratePerturbedLabelSpokes,
bool);
102 vtkBooleanMacro(GeneratePerturbedLabelSpokes,
bool);
109 vtkGetMacro(UseDepthBuffer,
bool);
110 vtkSetMacro(UseDepthBuffer,
bool);
111 vtkBooleanMacro(UseDepthBuffer,
bool);
117 vtkSetMacro(PlaceAllLabels,
bool);
118 vtkGetMacro(PlaceAllLabels,
bool);
119 vtkBooleanMacro(PlaceAllLabels,
bool);
124 vtkSetMacro(OutputTraversedBounds,
bool);
125 vtkGetMacro(OutputTraversedBounds,
bool);
126 vtkBooleanMacro(OutputTraversedBounds,
bool);
134 NUMBER_OF_LABEL_SHAPES
141 vtkSetClampMacro(
Shape,
int, 0, NUMBER_OF_LABEL_SHAPES-1);
142 vtkGetMacro(
Shape,
int);
144 { this->SetShape(NONE); }
146 { this->SetShape(RECT); }
148 { this->SetShape(ROUNDED_RECT); }
155 NUMBER_OF_LABEL_STYLES
162 vtkSetClampMacro(Style,
int, 0, NUMBER_OF_LABEL_STYLES-1);
163 vtkGetMacro(Style,
int);
165 { this->SetStyle(FILLED); }
167 { this->SetStyle(OUTLINE); }
172 vtkSetMacro(Margin,
double);
173 vtkGetMacro(Margin,
double);
178 vtkSetVector3Macro(BackgroundColor,
double);
179 vtkGetVector3Macro(BackgroundColor,
double);
184 vtkSetClampMacro(BackgroundOpacity,
double, 0.0, 1.0);
185 vtkGetMacro(BackgroundOpacity,
double);
222 int LastRendererSize[2];
223 double LastCameraPosition[3];
224 double LastCameraFocalPoint[3];
225 double LastCameraViewUp[3];
233 double BackgroundColor[3];
virtual void SetStyleToOutline()
bool GeneratePerturbedLabelSpokes
Superclass for label rendering implementations.
extract points that are visible (based on z-buffer calculation)
virtual void SetShapeToNone()
virtual void RenderOverlay(vtkViewport *, vtkActor2D *)
abstract specification for Viewports
a actor that draws 2D data
virtual void SetShapeToRect()
window superclass for vtkRenderWindow
vtkLabelRenderStrategy * RenderStrategy
bool OutputTraversedBounds
vtkCoordinate * AnchorTransform
a simple class to control print indentation
#define VTKRENDERINGLABEL_EXPORT
double MaximumLabelFraction
void PrintSelf(ostream &os, vtkIndent indent)
virtual int FillInputPortInformation(int port, vtkInformation *info)
perform coordinate transformation, and represent position, in a variety of vtk coordinate systems ...
virtual void SetShapeToRoundedRect()
virtual void ReleaseGraphicsResources(vtkWindow *)
vtkSelectVisiblePoints * VisiblePoints
static vtkAlgorithm * New()
Places and renders non-overlapping labels.
abstract class specifies interface for objects which render 2D actors
double LastCameraParallelScale
virtual void SetStyleToFilled()