 |
VTK
9.0.1
|
Go to the documentation of this file.
24 #ifndef vtkLabeledContourPolyDataItem_h
25 #define vtkLabeledContourPolyDataItem_h
29 #include "vtkRenderingContext2DModule.h"
39 struct PDILabelHelper;
102 vtkSetMacro(LabelVisibility,
bool);
103 vtkGetMacro(LabelVisibility,
bool);
104 vtkBooleanMacro(LabelVisibility,
bool);
112 vtkSetMacro(SkipDistance,
double);
113 vtkGetMacro(SkipDistance,
double);
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTextActor3D ** TextActors
virtual void SetTextProperties(vtkTextPropertyCollection *coll)
The text properties used to label the lines.
An actor that displays text.
vtkLabeledContourPolyDataItem()
record modification and/or execution time
PDILabelHelper ** LabelHelpers
vtkTimeStamp LabelBuildTime
an ordered list of vtkTextProperty objects.
static vtkLabeledContourPolyDataItem * New()
Class for drawing 2D primitives to a graphical context.
virtual void SetTextProperty(vtkTextProperty *tprop)
The text property used to label the lines.
vtkIdType NumberOfUsedTextActors
virtual void SetTextPropertyMapping(vtkDoubleArray *mapping)
bool Paint(vtkContext2D *painter) override
Paint event for the item.
virtual void ComputeBounds()
vtkSmartPointer< vtkDoubleArray > TextPropertyMapping
virtual vtkDoubleArray * GetTextPropertyMapping()
Values in this array correspond to vtkTextProperty objects in the TextProperties collection.
Filter that translate a vtkPolyData 2D mesh into vtkContextItems.
represents an object (geometry & properties) in a rendered scene
a simple class to control print indentation
virtual vtkTextPropertyCollection * GetTextProperties()
bool RenderLabels(vtkContext2D *painter)
represent text properties.
abstract specification for renderers
dynamic, self-adjusting array of double
Filter that translate a vtkPolyData 2D mesh into vtkContextItems.
vtkSmartPointer< vtkTextPropertyCollection > TextProperties
virtual bool CreateLabels()
~vtkLabeledContourPolyDataItem() override
bool AllocateTextActors(vtkIdType num)
vtkIdType NumberOfTextActors