0031511: Point Cloud Rendering, Volume Rendering - reuse Graphic3d_CullingTool
authorkgv <kgv@opencascade.com>
Sun, 19 Apr 2020 18:42:42 +0000 (21:42 +0300)
committerbugmaster <bugmaster@opencascade.com>
Fri, 24 Apr 2020 17:03:50 +0000 (20:03 +0300)
commit9ad4ff93a03daf951ec773b676c47f7c849cc35c
treeff14bafb6d4e0109ad4777512eba5edc586a7afe
parent89fcfe15511463c9588c34d101fba7e795198200
0031511: Point Cloud Rendering, Volume Rendering - reuse Graphic3d_CullingTool

Graphic3d_CullingTool::IsCulled() has been extended with theIsInside argument for full inclusion test.
Graphic3d_Layer::UpdateCulling() now avoids frustum culling tests for BVH children for parent nodes completely included into frustum.
Graphic3d_CullingTool::SetViewVolume() has been extended by optional model-world matrix.
src/Graphic3d/Graphic3d_Camera.cxx
src/Graphic3d/Graphic3d_Camera.hxx
src/Graphic3d/Graphic3d_CullingTool.cxx
src/Graphic3d/Graphic3d_CullingTool.hxx
src/Graphic3d/Graphic3d_Layer.cxx