13#ifndef SO_OFFSET_POINTING_ACTION_H
14#define SO_OFFSET_POINTING_ACTION_H
#define SOMANAGEDINTERACTION_API
File to resolve system dependencies in View2D library.
SoOffsetAction is the base class for any interaction that only provides (numeric) offsets in one or t...
SoOffsetPointingAction is an internal proxy class that helps controlling SoOffsetActions through a So...
int getCurrentCursor(SoViewerProxy *viewerProxy) const override
Returns the cursor ID to display for this action, as defined in SoViewerProxy.h - this gets (at least...
std::string getCurrentStatusMessage() const override
Returns a status message for display in status bar (make it short!), this will get called at same tim...
SoOffsetAction * proxiedOffsetAction() const override
void setEnabled(bool enabled) override
Sets the enabled status of this interaction.
void startPressAt(const SoPointerPosition &pos) override
Starts a drag at given device position.
SoPointingAction * endPress(int clickCount) override
Ends the drag at last device position.
void setOffsetParameters(double sensitivityX, double sensitivityY, bool swapAxes)
bool isSensitiveAt(const SoPointerPosition &) override
Returns true if the gesture is startable at the given device position.
bool isEnabled() const override
SoOffsetPointingAction(SoOffsetAction *offsetAction)
Standard constructor.
void dragMoveTo(const SoPointerPosition &pos) override
Continues the drag to given device position.
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.