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>
102 SbVec3f _lastSelectedPos;
#define SOVIEW2D_API
File to resolve system dependencies in View2D library.
SoView2DExtension()
Constructor.
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