int getCurrentCursor(SoViewerProxy *) const override
Returns the cursor ID to display for this action, as defined in SoViewerProxy.h - this gets (at least...
ml::CSOPathPoints * _hitPathPoints
void setInteractOnlyWithSelectedCSO(bool flag)
Sets this action to be active only for selected CSOs or for all CSOs.
void setMode(int mode) override
This gets called if the mode was changed and before startPressAt is called.
bool isAllowedToDrag(const SoPointerPosition &pos)
SbVec2f _previousDevicePosition
SoPointingAction * endPress(int clickCount) override
Ends the drag at last device position.
ml::CSOSeedPoint * _hitSeedPoint
int getNumModes() const override
Returns the number of different modes this action has - modes can be changed during drag and handle d...
void releaseGrab(StopMode) override
This will be called by the controller if you should release the grab established by endPress.
ml::CSOList * _hitCSOList
bool _interactOnlyWithSelectedCSOs
CSOSelectAndMoveAction(SoView2DCSOExtensibleEditor *editor)
SoRef< SoCSOEditorExtension > _hitEditor
void dragMoveTo(const SoPointerPosition &pos) override
Continues the drag to given device position.
bool wantsMouseOverUpdates() override
Override this to return true if this action should get location updates directly before rendering,...
bool pointerHasMovedAtLeastByOnePixel(SbVec2f &pos) const
bool isSensitiveAt(const SoPointerPosition &pos) override
Returns true if the gesture is startable at the given device position.
void startPressAt(const SoPointerPosition &pos) override
Starts a drag at given device position.
SoPointerPosition manages the current position of the mouse cursor.
SoPointingAction is the base class for any mouse based interaction.
StopMode
Argument type for releaseGrab()
This class gives access to state of a viewer during scene graph traversal.
A CSOList comprises a number of CSOs and CSOGroups and is the central object for contour segmentation...
The CSOPathPoints is a list of world coordinates which are interpolated by a certain interpolation sc...
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.