mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-26 10:19:45 +03:00
Redesign of selection mechanism: - implemented 3-level BVH tree for selection; - selection now calculates in 3D space; - intersection tests were moved to SelectMgr_BaseFrustum descendants; - removed .cdl files in Select3D and .cdl related to selection in MeshVS; - SelectMgr_ViewerSelectors are now shared between local and global contexts; - transformations of sensitive entities are now stored in SelectMgr_SelectableObject only. Sensitive entities are independent from transformations, it is applied to SelectMgr_SelectingVolumeManager instance only; - connected and multiple connected interactive objects are now represented by their child objects only for SelectMgr_SelectionManager; - if interactive object has child objects, they will be stored as separate objects in SelectMgr_SelectionManager now. - test cases bugs/vis/bug24623_1, bug24623_2, bug24623_3, bug24623_4 to test performance and memory issues.
29 lines
470 B
Plaintext
29 lines
470 B
Plaintext
puts "============"
|
|
puts "CR25935"
|
|
puts "============"
|
|
puts ""
|
|
|
|
pload VISUALIZATION MODELING
|
|
|
|
restore [locate_data_file bug25935.brep] aShape
|
|
explode aShape Sh
|
|
|
|
vinit
|
|
|
|
# check displaying and selection of a sub-shell of the shape
|
|
vdisplay aShape_3
|
|
vfit
|
|
vmoveto 214 200
|
|
checkcolor 214 200 0 1 1
|
|
|
|
vremove -all
|
|
|
|
# check displaying and selection of the whole shape
|
|
vdisplay aShape
|
|
vfit
|
|
vmoveto 192 211
|
|
vmoveto 213 191
|
|
vmoveto 205 205
|
|
vmoveto 197 194
|
|
checkcolor 205 205 0 1 1
|