58 void generateLabelString(
CSO* cso, std::string& labelString, std::string& labelName, std::string& labelCaption,
59 int& deviceOffsetX,
int& deviceOffsetY);
71 BoolField* _shouldHighlightBorderOnMouseOverFld;
73 BoolField* _drawConnectingLineToCenterOfCSOFld;
74 IntField* _minConnectingLineLengthFld;
76 BoolField* _shouldDrawLabelBorderForSelectedCSOFld;
116 BoolField* _tryToPlaceLabelsWithoutOverlapFld;
121 IntField* _csoIdOfLabelUnderMouseCursorFld;
131 IntField* _outputInfoLabelCaptionWidthFld;
136 BoolField* _shouldShowLabelStringOfOutputInfoLabelFld;
138 void computeOutputInformation();
140 void setLabelBorderMargins();
142 void setCursorFields();
143 EnumField* addCursorShapeEnumField(
const std::string& name);
145 void setCSOIdOfLabelUnderMouseCursor(
int csoId);
147 SoRef<SoCSOLabelRenderer> _soCSOLabelRenderer;
149 friend class ::SoCSOLabelRenderer;
DetachedLabelPlacement
Module encapsulation the SoView2D extension for rendering labels for CSOs.
@ DoNotRenderOutsideViewer
#define SOCSO_EXPORT
Header file for system independent resolution.
Field to encapsulate a pointer to an ML base object.
Field to encapsulate a boolean value.
Module encapsulation the SoView2D extension for rendering labels for CSOs.
~CSOLabelRenderer() override
void handleNotification(Field *field) override
Called when any field data in the field container of this module is modified.
void activateAttachments() override
Reactivates notification handling, i.e., all fields of this module will send notifications again to a...
The CSO represents a contour segmentation object.
Field to encapsulate an enumerated value.
Base class for all fields used in the ML.
Field to encapsulate a float value.
Field to encapsulate an integer value.
Base class for an image processing module of the ML.
Field without value for notifications.
Field to encapsulate a pointer to an SoNode instance of OpenInventor.
Field to encapsulate a string value.
Field to encapsulate a vector of two double values.
#define ML_MODULE_CLASS_HEADER(className)
Similar to ML_CLASS_HEADER for the usage of derived classes from Module.