Thu, 03/19/2026 - 19:25
Forums:
I want to select objects with some tolerance value in world coordinates.
Currently OCC support pixel based tolerance value using SelectMgr_SelectingVolumeManager::SetPixelTolerance().
But its works based on zoom value.
Is there any way to set own SelectMgr_BaseIntersector object to SelectMgr_SelectionManager ?
I would like to subclass SelectMgr_BaseIntersector and set it on AIS_InteractiveContext.
Tue, 03/24/2026 - 07:02
Currently, there is no such an option in
AISnor a simple way to customize behavior. Although there is a base virtual interfaceSelectMgr_BaseIntersector::ScaleAndTransform(), the underlying implementations are used mostly as a static list of implementation with no simple/designed way to customize them. So if you really need such customization you will have to modify OCCT in some way.