#define SOCSO_EXPORT
Header file for system independent resolution.
CSOAbstractCreateAction(SoView2DCSOExtensibleEditor *editor, const std::string &id)
virtual bool callCreateEndPress(int clickCount)=0
SoPointingAction * endPress(int clickCount) override
Ends the drag at last device position.
int getCurrentCursor(SoViewerProxy *) const override
Returns the cursor ID to display for this action, as defined in SoViewerProxy.h - this gets (at least...
void setMode(int mode) override
This gets called if the mode was changed and before startPressAt is called.
virtual void callCreateDragMoveTo(const SoPointerPosition &pos)=0
SoCSOEditorExtension * getActiveEditorChecked() const
void dragMoveTo(const SoPointerPosition &pos) override
Continues the drag to given device position.
SoRef< SoCSOEditorExtension > _activeEditor
bool isSensitiveAt(const SoPointerPosition &pos) override
Returns true if the gesture is startable at the given device position.
virtual void callCreateStartPressAt(const SoPointerPosition &pos)=0
int getNumModes() const override
Returns the number of different modes this action has - modes can be changed during drag and handle d...
void startPressAt(const SoPointerPosition &pos) override
Starts a drag at given device position.
Base class for an editor extension for the SoView2DCSOExtensibleEditor.
SoPointerPosition manages the current position of the mouse cursor.
SoPointingAction is the base class for any mouse based interaction.
This class gives access to state of a viewer during scene graph traversal.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.