25class SoView2DGenericPointingAction;
34 friend class SoView2DGenericPointingAction;
#define SOVIEW2D_API
File to resolve system dependencies in View2D library.
SoPointerPosition manages the current position of the mouse cursor.
SoPointingAction is the base class for any mouse based interaction.
SoView2DExtension Base class for all View2DExtensions used for drawing and event handling on the View...
virtual bool isEditingOn()
check if editing is on
SoView2DInteractionExtension is base class for all SoView2DExtensions that want to support the Manage...
SoSFTrigger singleClicked
this is triggered when the user clicks without moving the mouse (this only is supported when using Ma...
virtual int getCurrentCursor(SoViewerProxy *viewerProxy)
interface forwarded from SoPointingAction:
bool implementsManagedInteractionAndClassicEventHandling() const override
this node is a hybrid module providing managed interaction and classic event handling
virtual bool shouldPointingActionBeEnabled()
SoSFTrigger doubleClicked
the same for the second click in a row
virtual void startPressAt(const SoPointerPosition &)
virtual void dragMoveTo(const SoPointerPosition &)
virtual int getNumInteractionModes() const
SoPointingAction * _pointingAction
bool isValidLocation(const SoPointerPosition &pos)
return true if the position is inside the image or needsValidVoxel is not set
static void initClass()
Initializes this class.
void editingOnChanged(SoField *field) override
called when editingOn field is touched:
SoView2DInteractionExtension(const std::string &actionID, bool positionSensitive=true)
virtual void unsetHighlight()
virtual void setInteractionMode(int)
virtual bool isSensitiveAt(const SoPointerPosition &)
~SoView2DInteractionExtension() override
destructor
virtual SoPointingAction * endPress(int)
void buttonMaskChanged(SoField *field) override
called when one of the button/modifier fields is touched:
virtual void setHighlightAt(const SoPointerPosition &)
SoView2DInteractionExtension()
Constructor.
This class gives access to state of a viewer during scene graph traversal.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.