mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +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.
50 lines
914 B
Plaintext
50 lines
914 B
Plaintext
vclear
|
|
box t_box 100 100 100
|
|
vdisplay t_box
|
|
vfit
|
|
vmoveto 0 0
|
|
vselmode 2 1
|
|
vselmode 6 1
|
|
vmoveto 260 110
|
|
vselect 260 110
|
|
vmoveto 0 0
|
|
vmoveto 110 352
|
|
vselect 110 352 1
|
|
vmoveto 0 0
|
|
vmoveto 29 204
|
|
vmoveto 0 0
|
|
vselect 29 204 1
|
|
vmoveto 0 0
|
|
vmoveto 110 352
|
|
vmoveto 0 0
|
|
vmoveto 29 204
|
|
vmoveto 0 0
|
|
vmoveto 204 306
|
|
vmoveto 0 0
|
|
vviewparams -scale 6.063093 -proj 0.817216 -0.217801 0.535373 -up -0.420838 0.411627 0.808368 -at 26.4654518144607 56.2503832914726 34.5651685621603
|
|
vfit
|
|
vmoveto 0 0
|
|
vmoveto 120 350
|
|
vmoveto 0 0
|
|
vmoveto 50 220
|
|
vmoveto 0 0
|
|
vmoveto 150 330
|
|
vmoveto 0 0
|
|
vselect 120 350 1
|
|
vmoveto 0 0
|
|
vmoveto 120 350
|
|
vmoveto 0 0
|
|
vmoveto 50 220
|
|
vmoveto 0 0
|
|
vmoveto 150 330
|
|
vmoveto 0 0
|
|
vviewparams -scale 6.063093 -proj 0.524772 0.731256 0.434393 -up 0.716008 -0.104342 -0.691426 -at 21.6212460112894 0.5192504580656 16.591446657356
|
|
vfit
|
|
vmoveto 0 0
|
|
vmoveto 225 98
|
|
vmoveto 0 0
|
|
vmoveto 270 326
|
|
vmoveto 0 0
|
|
vmoveto 342 111
|
|
|