1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0026462: Visualization - selection does not adapt to line width change

- added interface for changing sensitivity of a particular selection through both interactive and local context;
- added corresponding methods for changing sensitivity to SelectMgr_SelectionManager, SelectMgr_Selection and SelectBasics_SensitiveEntity;
- option -setSensitivity was implemented in vaspects Draw command;
- test case for issue #26462
This commit is contained in:
vpa
2015-08-28 22:25:45 +03:00
committed by bugmaster
parent cc5f85f8c9
commit 8a1170ad46
15 changed files with 317 additions and 20 deletions

View File

@@ -371,6 +371,13 @@ public:
//! Returns the pixel tolerance.
Standard_EXPORT Standard_Integer PixelTolerance() const;
//! Allows to manage sensitivity of a particular selection of interactive object theObject
//! and changes previous sensitivity value of all sensitive entities in selection with theMode
//! to the given theNewSensitivity.
Standard_EXPORT void SetSelectionSensitivity (const Handle(AIS_InteractiveObject)& theObject,
const Standard_Integer theMode,
const Standard_Integer theNewSensitivity);
//! Puts the location aLocation on the initial graphic
//! representation and the selection for the entity aniobj.