]> OCCT Git - occt-copy.git/commit
0027202: Visualization - add sensitivity Select3D_SensitivePrimitiveArray for Graphic...
authorkgv <kgv@opencascade.com>
Mon, 29 Feb 2016 14:46:39 +0000 (17:46 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 7 Apr 2016 16:34:44 +0000 (19:34 +0300)
commit06c4e96845a680da999156af5a673f286d483248
tree702194c4f23f4129bbb1d201a6497f74846cfdd4
parent84cd6c22863c48a9f7e626b77f600fe985513a6b
0027202: Visualization - add sensitivity Select3D_SensitivePrimitiveArray for Graphic3d_Buffer

New class Select3D_SensitivePrimitiveArray can be initialized directly from
presentation data structures Graphic3d_Buffer defining triangulation or point set.

This class also can combine several elements into patches
to reduce BVH initialization time in at the expense of slower detection time.

AIS_PointCloud::ComputeSelection() - selection is now computed on point set using Select3D_SensitivePrimitiveArray by default.
PrsMgr_PresentableObject::Compute() - redundant default argument value has been dropped.
BVH - store BVH_Set size in local variable to simplify debugging.
13 files changed:
src/AIS/AIS_PointCloud.cxx
src/AIS/AIS_PointCloud.hxx
src/BVH/BVH_LinearBuilder.lxx
src/BVH/BVH_QueueBuilder.lxx
src/BVH/BVH_Set.lxx
src/PrsMgr/PrsMgr_PresentableObject.hxx
src/Select3D/FILES
src/Select3D/Select3D_BVHIndexBuffer.hxx [new file with mode: 0644]
src/Select3D/Select3D_SensitivePrimitiveArray.cxx [new file with mode: 0644]
src/Select3D/Select3D_SensitivePrimitiveArray.hxx [new file with mode: 0644]
src/Select3D/Select3D_SensitiveSet.cxx
src/Select3D/Select3D_SensitiveSet.hxx
src/ViewerTest/ViewerTest.cxx