
Tue, 11/11/2008 - 12:14
Forums:
Is it possible to select objects in an area created by dragging mouse? or any suggestions how to implement using current selection methods?
Thanks
xaeroxx
Is it possible to select objects in an area created by dragging mouse? or any suggestions how to implement using current selection methods?
Thanks
xaeroxx
Tue, 11/11/2008 - 14:25
Sure, just use
AIS_StatusOfPick AIS_InteractiveContext::Select(const Standard_Integer XPMin, const Standard_Integer YPMin, const Standard_Integer XPMax, const Standard_Integer YPMax, const Handle(V3d_View)&aView, const Standard_Boolean updateviewer=Standard_True)
(XPMin, YPMin) -> (XPMax, YPMax) define your area.