occt: master 8b9a309b

Author Committer Branch Timestamp Parent
kgv bugmaster master 2016-04-20 06:48:58 master 3f1eb0ab
Changeset 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.
mod - src/AIS/AIS_PointCloud.cxx Diff File
mod - src/AIS/AIS_PointCloud.hxx Diff File
mod - src/BVH/BVH_LinearBuilder.lxx Diff File
mod - src/BVH/BVH_QueueBuilder.lxx Diff File
mod - src/BVH/BVH_Set.lxx Diff File
mod - src/PrsMgr/PrsMgr_PresentableObject.hxx Diff File
mod - src/Select3D/FILES Diff File
add - src/Select3D/Select3D_BVHIndexBuffer.hxx Diff File
add - src/Select3D/Select3D_SensitivePrimitiveArray.cxx Diff File
add - src/Select3D/Select3D_SensitivePrimitiveArray.hxx Diff File
mod - src/Select3D/Select3D_SensitiveSet.cxx Diff File
mod - src/Select3D/Select3D_SensitiveSet.hxx Diff File
mod - src/ViewerTest/ViewerTest.cxx Diff File