52 return (pointerPos[0] >= viewportStart[0]) &&
53 (pointerPos[1] >= viewportStart[1]) &&
54 (pointerPos[0] <= viewportEnd[0]) &&
55 (pointerPos[1] <= viewportEnd[1]);
bool isInViewportRegion(const SoPointerPosition &pos) const
ml::CSOPathPoints * _hitPathPoints
unsigned int _hitPathPointIndex
SoCSOBulgeEditor * _hitEditor
void startPressAt(const SoPointerPosition &pos) override
void setInteractOnlyWithSelectedCSO(bool flag)
ml::CSOSeedPoint * _hitSeedPoint
int getNumModes() const override
CSOBulgeAction(SoView2DCSOExtensibleEditor *editor)
SoPointingAction * endPress(int clickCount) override
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
ml::CSOList * _hitCSOList
void setMode(int mode) override
bool isEligibleForBulging(ml::CSO *cso, View2DSliceList *slicelist, SoCSOBulgeEditor *bulgeEditor)
int getCurrentCursor(SoViewerProxy *) const override
CSOPointingAction(SoView2DCSOExtensibleEditor *editor, const std::string &id)
Extension for bulging any type of CSO in an influence radius.
SoPointerPosition manages the current position of the mouse cursor.
const View2DPosition * getView2DPosition() const
Returns the additional data as View2DPosition. Legacy support, rather use get<View2DPosition>().
SoPointingAction(SoInteractionOwner *owner, std::string id, bool positionSensitive=true)
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