#define SOVIEW2D_API
File to resolve system dependencies in View2D library.
SoPointerPosition manages the current position of the mouse cursor.
SoView2DInteractionExtension(const std::string &actionID, bool positionSensitive=true)
bool evalEvent(SoView2D *view2d, View2DSliceList *slicelist, View2DEvent *ec, View2DEventPhase phase) override
reimplemented from SoView2DExtension
void dragMoveTo(const SoPointerPosition &pos) override
void startPressAt(const SoPointerPosition &pos) override
bool _started
set to true if EVENT_START was called
void doPan(const SbVec2f &diff, SoView2D *view2d, View2DSliceList *slicelist)
SbVec2f _oldPos
previous position
SoView2DSlicePan()
constructor
SoPointingAction * endPress(int clickCount) override
static void initClass()
inventor runtime type system
SoView2D is a 2D viewer for image data.
View2DEvent stores all information on an event on a SoView2D.
a list that holds all View2DSlice objects (lazily created) of a SoView2D