]> OCCT Git - occt-copy.git/commit
The procedure of LOD creation and management was refactored:
authorvpa <vpa@opencascade.com>
Wed, 25 Nov 2015 18:07:29 +0000 (21:07 +0300)
committervpa <vpa@opencascade.com>
Wed, 25 Nov 2015 18:09:24 +0000 (21:09 +0300)
commitefb8c69bbc3d69c920aea7be712244c30c1a85e8
treee3ddfcc073f7b992386eb0da771f82212950a406
parent3b8f64569ed333c5d861c82bebdcfbf5834d8e5f
The procedure of LOD creation and management was refactored:
- added LOD managers at Graphic3d and OpenGl levels;
- the LODs are connected to structure via unique managers;
- the metric could be redefined using custom LOD selectors;
- LODs are now added to MeshVS_Mesh in Compute method and are listed as its data sources.
26 files changed:
src/Graphic3d/FILES
src/Graphic3d/Graphic3d_CStructure.hxx
src/Graphic3d/Graphic3d_LOD.cxx
src/Graphic3d/Graphic3d_LOD.hxx
src/Graphic3d/Graphic3d_LODDistanceSelector.cxx [new file with mode: 0644]
src/Graphic3d/Graphic3d_LODDistanceSelector.hxx [new file with mode: 0644]
src/Graphic3d/Graphic3d_LODManager.cxx [new file with mode: 0644]
src/Graphic3d/Graphic3d_LODManager.hxx [new file with mode: 0644]
src/Graphic3d/Graphic3d_LODSelector.hxx [new file with mode: 0644]
src/Graphic3d/Graphic3d_Structure.cxx
src/MeshVS/FILES
src/MeshVS/MeshVS_LODBuilder.cxx [new file with mode: 0644]
src/MeshVS/MeshVS_LODBuilder.hxx [new file with mode: 0644]
src/MeshVS/MeshVS_LODDataSource.cxx
src/MeshVS/MeshVS_LODDataSource.hxx
src/MeshVS/MeshVS_Mesh.cxx
src/MeshVS/MeshVS_Mesh.hxx
src/OpenGl/FILES
src/OpenGl/OpenGl_LOD.cxx
src/OpenGl/OpenGl_LOD.hxx
src/OpenGl/OpenGl_LOD.lxx [deleted file]
src/OpenGl/OpenGl_LODManager.cxx [new file with mode: 0644]
src/OpenGl/OpenGl_LODManager.hxx [new file with mode: 0644]
src/OpenGl/OpenGl_Structure.cxx
src/OpenGl/OpenGl_Structure.hxx
src/XSDRAWSTLVRML/XSDRAWSTLVRML.cxx