20#include <Inventor/fields/SoSFRotation.h>
21#include <Inventor/fields/SoSFFloat.h>
22#include <Inventor/fields/SoSFVec3f.h>
23#include <Inventor/projectors/SbSphereSheetProjector.h>
74 const SbVec2f& deviceSize,
float sensitivity);
76 const SbVec2f& deviceSize,
float sensitivity);
84 const SbVec2f& deviceSize,
float sensitivity);
88 virtual int getSuitableCursorShape (
int function);
93 void doStepFunction (
int function,
View2DSliceList* slicelist,
bool up,
bool shift);
101 void zoomStep (
float offset);
109 SbVec2f deviceOrigin, deviceSize;
117 unsigned _prevWheelCode;
View2DEventPhase
event phase for simple extensions that grab the focus, do something (motion) and are released afterwa...
#define SOVIEW2D_API
File to resolve system dependencies in View2D library.
SoView2DExtension Base class for all View2DExtensions used for drawing and event handling on the View...
allows to edit a rotation and translation on a SoView2D
SoSFEnum keyFunctionVertCursor
SoSFFloat fieldOfView
field of view
SoSFEnum keyFunctionHoriCursor
bool evalEvent(SoView2D *view2d, View2DSliceList *slicelist, View2DEvent *ec, View2DEventPhase phase) override
reimplemented from SoView2DExtension
SoSFVec3f translation
translation that is edited
SoView2DTransRot()
constructor
SoSFEnum mouseFunctionButton1and2
SoSFRotation rotation
rotation that is edited
SoSFBool adaptCursorShape
set this to true if the mouse cursor shape should reflect the current function
SoSFEnum mouseFunctionButton1
define active mouse function
static void initClass()
inventor runtime system init
SoSFEnum mouseFunctionButton2
SoSFEnum keyFunctionPageKeys
SoSFEnum mouseFunctionWheel
define active key function
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
Target mlrange_cast(Source arg)
Generic version of checked ML casts.