#define SOCSO_EXPORT
Header file for system independent resolution.
Base class for extensions that generate line-type CSOs with special interaction on finished CSOs.
Extension for rendering, generating, and modifying a polygon CSO.
SoSFBool useFreehandMode
Toggles the interaction.
SoPointingAction * insertSeedPointEndPress(int clickCount) override
void createStartPressAt(const SoPointerPosition &pos) override
static void initClass()
init class in inventor runtime
void createDragMoveTo(const SoPointerPosition &pos) override
ml::Vector3 getCurrentPositon(const SoPointerPosition &pos)
void selectAndMoveDragMoveTo(const SoPointerPosition &pos) override
void createNewCSO(const SoPointerPosition &pos)
void pointerPositionIfAllowedAt(const SoPointerPosition &pos) override
Sets seed points while moving the mouse – but not while dragging.
void cancel() override
Cancels an action like generating a CSO. Depends on concrete editor.
SoCSOPolygonEditor()
Standard constructor.
bool createEndPress(int clickCount) override
void insertSeedPointStartPressAt(const SoPointerPosition &pos) override
void insertSeedPointDragMoveTo(const SoPointerPosition &pos) override
SoPointingAction * selectAndMoveEndPress(int clickCount) 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 selectAndMoveStartPressAt(const SoPointerPosition &pos) override
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.