]> OCCT Git - occt-copy.git/commit
Removed unnecessary computation of base OpenGl_Structure for main presentation;
authorvpa <vpa@opencascade.com>
Thu, 31 Mar 2016 11:13:13 +0000 (14:13 +0300)
committervpa <vpa@opencascade.com>
Fri, 8 Apr 2016 17:20:00 +0000 (20:20 +0300)
commit05286d68755de97c88b43a522796581a76760583
treeb3347fb3b1f8bc98bd8f47ff865b0e180a3083ff
parenta96ac42dfd869dbe4769dc8833a7c1e1b793bb9a
Removed unnecessary computation of base OpenGl_Structure for main presentation;
Bounding box of LOD Graphic3d_Structure is computed as combined box for all LOD graphic groups;
Method HasLevelsOfDetail() was added to presentable objects to mark objects presented via LODs at the time of Compute() call;
Redefineable method ComputeLods() was added to presentable object for customization.
src/Graphic3d/Graphic3d_CStructure.hxx
src/Graphic3d/Graphic3d_LODManager.cxx
src/Graphic3d/Graphic3d_LODManager.hxx
src/Graphic3d/Graphic3d_Structure.cxx
src/MeshVS/MeshVS_LODBuilder.cxx
src/MeshVS/MeshVS_Mesh.cxx
src/MeshVS/MeshVS_Mesh.hxx
src/OpenGl/OpenGl_Structure.cxx
src/PrsMgr/PrsMgr_PresentableObject.cxx
src/PrsMgr/PrsMgr_PresentableObject.hxx
tests/bugs/vis/bug26812