1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
nds 75cf82505b 0030737: Visualization - implementing new selection schemes in context
AIS_SelectionScheme enumeration is defined to set which selection behaviour is used in Select of context
AIS_InteractiveContext is corrected to use single Select method instead of combination of Select/ShiftSelect methods with a selection scheme parameter.
Upgrade: Select() -> SelectDetected/Rectangle/Polygon(AIS_SelectionScheme_Replace), ShiftSelect -> SelectDetected/Rectangle/Polygon(AIS_SelectionScheme_XOR)
2020-12-04 18:50:20 +03:00
..

HLR sample demonstrates hidden line removal algorithm.
It supports exact and polygonal HLR algorithms.

To try HLR you need to follow some steps:
1) to import model, which will displayed in 3d view.
2) to choose "File->Process HLR" or press "HLR' button in the toolbar.
   Dialog with options of HLR will be opened.
3) to press "Get shapes" button of the HLR dialog to
   display results in the 2d view.
   Optionally, this dialog allow to view chosen shapes 
   in his own view. Here you can choose needed direction
   of view and press "Update 2d" button to update shapes HLR 2d view.