22#include <Inventor/fields/SoSFFloat.h>
23#include <Inventor/fields/SoSFVec2f.h>
24#include <Inventor/fields/SoSFInt32.h>
25#include <Inventor/fields/SoSFVec3f.h>
26#include <Inventor/fields/SoSFTrigger.h>
27#include <Inventor/sensors/SoFieldSensor.h>
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.
The SoSFMLImage field is the interface used by Inventor Nodes to access image data (in the current im...
SoView2DExtension Base class for all View2DExtensions used for drawing and event handling on the View...
The Inventor module class SoView2DMagnifyController derived from SoView2DExtension.
bool evalEvent(SoView2D *view2d, View2DSliceList *list, View2DEvent *event, View2DEventPhase phase) override
Handling of events occurring in the viewer.
void updateInplace(View2DSliceList *list, View2DEvent *ec)
SoView2DMagnifyController()
Constructor.
SoSFVec2f inplaceWindowSize
void windowCurrentPositionChanged(SoField *field=nullptr)
Called when field windowCurrentPosition changed.
~SoView2DMagnifyController() override
Protected destructor.
SoSFVec2f windowOffsetInPixels
! Fields
void draw(View2DSliceList *list, View2DSlice *slice, int z) override
Virtual method called by the SoView2D node when an image is rendered.
SoSFVec3f worldStartPosition
SoSFVec2f windowCurrentPosition
SoSFVec2f windowStartPosition
SoSFVec2f translationScale
static void initClass()
Initializes this class (called on dll initialization).
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
a single slice that is stored in a View2DSliceList, typically created by a View2DSliceList
Target mlrange_cast(Source arg)
Generic version of checked ML casts.