10 #include <vtkOrientedGlyphContourRepresentation.h>
11 #include <vtkSmartPointer.h>
12 #include <vtkTextActor.h>
22 :
public vtkOrientedGlyphContourRepresentation {
26 vtkOrientedGlyphContourRepresentation);
Extended contour representation with instance label support.
const char * GetLabelSuffix() const
Get the current label suffix.
void SetShowLabel(int show)
Show or hide the instance label.
~cvConstrainedContourRepresentation() override
vtkTextActor * GetLabelActor()
Get the label actor (for property access)
vtkTypeMacro(cvConstrainedContourRepresentation, vtkOrientedGlyphContourRepresentation)
void SetRenderer(vtkRenderer *ren) override
Set the renderer (override to add label actor)
void UpdateLabel()
Update the label text and position.
void SetLabelSuffix(const char *suffix)
Set the label suffix to identify this contour instance.
void BuildRepresentation() override
Build the representation (override to update label position)
cvConstrainedContourRepresentation()
void SetVisibility(vtkTypeBool visible) override
Set visibility (override to control label visibility)
static cvConstrainedContourRepresentation * New()