24#ifndef vtkLabeledContourPolyDataItem_h
25#define vtkLabeledContourPolyDataItem_h
29#include "vtkRenderingContext2DModule.h"
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
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
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