26#define evalEventCB SoView2DEvalEventCB
27#define drawCB SoView2DDrawCB
bool SoView2DEvalEventCB(void *usrData, SoView2D *dsl, View2DSliceList *slicelist, View2DEvent *ec, View2DEventPhase phase)
SoView2DCallback allows to set a callback for evalEvent and draw virtual functions of a SoView2DExten...
void SoView2DDrawCB(void *usrData, View2DSliceList *dsl, View2DSlice *dslice, int slice)
Callback used for draw of SoView2DExtension.
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.
SoView2DCallback allows to set a callback for evalEvent and draw virtual functions of a SoView2DExten...
void setEvalEventCB(SoView2DEvalEventCB *eval, void *usrData)
set a callback for evalEvent, clears previous callback
void draw(View2DSliceList *dsl, View2DSlice *dslice, int slice) override
reimplemented from SoView2DExtension
void setDrawCB(SoView2DDrawCB *draw, void *usrData)
set a callback for draw, clears previous callback
bool evalEvent(SoView2D *view2d, View2DSliceList *slicelist, View2DEvent *ec, View2DEventPhase phase) override
reimplemented from SoView2DExtension
SoView2DExtension Base class for all View2DExtensions used for drawing and event handling on the View...
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.