 |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Go to the documentation of this file.
10 #include <vtkOrientedGlyphContourRepresentation.h>
11 #include <vtkSmartPointer.h>
12 #include <vtkTextActor.h>
22 :
public vtkOrientedGlyphContourRepresentation {
26 vtkOrientedGlyphContourRepresentation);
void UpdateLabel()
Update the label text and position.
Definition: cvConstrainedContourRepresentation.cpp:126
void SetShowLabel(int show)
Show or hide the instance label.
Definition: cvConstrainedContourRepresentation.cpp:79
cvConstrainedContourRepresentation()
Definition: cvConstrainedContourRepresentation.cpp:22
Definition: WidgetMap.h:20
void SetVisibility(vtkTypeBool visible) override
Set visibility (override to control label visibility)
Definition: cvConstrainedContourRepresentation.cpp:106
vtkStandardNewMacro(cvConstrainedContourRepresentation)
const char * GetLabelSuffix() const
Get the current label suffix.
Definition: cvConstrainedContourRepresentation.cpp:74
void SetRenderer(vtkRenderer *ren) override
Set the renderer (override to add label actor)
Definition: cvConstrainedContourRepresentation.cpp:90
~cvConstrainedContourRepresentation() override
Definition: cvConstrainedContourRepresentation.cpp:44
vtkTypeMacro(cvConstrainedContourRepresentation, vtkOrientedGlyphContourRepresentation)
void SetLabelSuffix(const char *suffix)
Set the label suffix to identify this contour instance.
Definition: cvConstrainedContourRepresentation.cpp:57
Extended contour representation with instance label support.
Definition: cvConstrainedContourRepresentation.h:21
vtkTextActor * GetLabelActor()
Get the label actor (for property access)
Definition: cvConstrainedContourRepresentation.h:63
static cvConstrainedContourRepresentation * New()
void BuildRepresentation() override
Build the representation (override to update label position)
Definition: cvConstrainedContourRepresentation.cpp:117
int GetShowLabel() const
Definition: cvConstrainedContourRepresentation.h:43