bool isInViewportRegion(const SoPointerPosition &pos) const
ml::CSOPathPoints * _hitPathPoints
unsigned int _hitPathPointIndex
SoCSOBulgeEditor * _hitEditor
void startPressAt(const SoPointerPosition &pos) override
Starts a drag at given device position.
void setInteractOnlyWithSelectedCSO(bool flag)
Sets this action to be active only for selected CSOs or for all CSOs.
ml::CSOSeedPoint * _hitSeedPoint
int getNumModes() const override
Returns the number of different modes this action has - modes can be changed during drag and handle d...
CSOBulgeAction(SoView2DCSOExtensibleEditor *editor)
SoPointingAction * endPress(int clickCount) override
Ends the drag at last device position.
bool _interactOnlyWithSelectedCSOs
bool isAllowedToDrag(const SoPointerPosition &pos)
void dragMoveTo(const SoPointerPosition &pos) override
Continues the drag to given device position.
bool isSensitiveAt(const SoPointerPosition &pos) override
Returns true if the gesture is startable at the given device position.
ml::CSOList * _hitCSOList
void setMode(int mode) override
This gets called if the mode was changed and before startPressAt is called.
bool isEligibleForBulging(ml::CSO *cso, View2DSliceList *slicelist, SoCSOBulgeEditor *bulgeEditor)
int getCurrentCursor(SoViewerProxy *) const override
Returns the cursor ID to display for this action, as defined in SoViewerProxy.h - this gets (at least...
Extension for bulging any type of CSO in an influence radius.
SoPointerPosition manages the current position of the mouse cursor.
const View2DPosition * getView2DPosition() const
SoPointingAction is the base class for any mouse based interaction.
This class gives access to state of a viewer during scene graph traversal.
SbVec3f getVoxelPosition() const
Return voxel position of pointer.
SbVec2f getViewportOrigin() const
Return view port origin of current slice in voxel coordinates.
SbVec2f getViewportSize() const
Return view port size of current slice in voxel coordinates.
a list that holds all View2DSlice objects (lazily created) of a SoView2D
A CSOList comprises a number of CSOs and CSOGroups and is the central object for contour segmentation...
The CSOPathPoints is a list of world coordinates which are interpolated by a certain interpolation sc...
The CSOSeedPoint can be interactively set and modified and is the framework for contours.
The CSO represents a contour segmentation object.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.