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