#define SOCSO_EXPORT
Header file for system independent resolution.
Extension for rendering, generating, and modifying a distance polyline CSO.
void createDragMoveTo(const SoPointerPosition &pos) override
void cancel() override
Cancels an action like generating a CSO. Depends on concrete editor.
static void initClass()
init class in inventor runtime
SoCSODistancePolylineEditor()
Standard constructor.
ml::Vector3 getCurrentPositon(const SoPointerPosition &pos)
void insertSeedPointDragMoveTo(const SoPointerPosition &pos) override
void pointerPositionIfAllowedAt(const SoPointerPosition &pos) override
Sets seed points while moving the mouse – but not while dragging.
void createNewCSO(const SoPointerPosition &pos)
void selectAndMoveStartPressAt(const SoPointerPosition &pos) override
SoSFBool useFreehandMode
Toggles the interaction.
SoPointingAction * insertSeedPointEndPress(int clickCount) override
void createStartPressAt(const SoPointerPosition &pos) override
bool deleteSeedPoint(ml::CSO *cso, ml::CSOSeedPoint *seedPoint) override
Removes the given seed point from the given CSO and returns whether that was successful.
void insertSeedPointStartPressAt(const SoPointerPosition &pos) override
void selectAndMoveDragMoveTo(const SoPointerPosition &pos) override
bool createEndPress(int clickCount) override
SoPointingAction * selectAndMoveEndPress(int clickCount) override
Base class for extensions that generate line-type CSOs with special interaction on finished CSOs.
SoPointerPosition manages the current position of the mouse cursor.
SoPointingAction is the base class for any mouse based interaction.
The CSOSeedPoint can be interactively set and modified and is the framework for contours.
The CSO represents a contour segmentation object.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.