0030635: Visualization - move OpenGl_Layer to Graphic3d_Layer
authorkgv <kgv@opencascade.com>
Mon, 8 Apr 2019 13:22:20 +0000 (16:22 +0300)
committerapn <apn@opencascade.com>
Tue, 9 Apr 2019 11:16:33 +0000 (14:16 +0300)
commitd325cb7f570c25d36b64c5ac45be72d0371b7f6b
tree627e5a2a5c96bf9a2c379a92421b626de67c821b
parent24ee60ffd7a25ac9ae968e4a8cb7d5fd48613604
0030635: Visualization - move OpenGl_Layer to Graphic3d_Layer

Renamed classes (moved from TKOpenGl to TKV3d):
- OpenGl_Layer -> Graphic3d_Layer;
- OpenGl_BVHClipPrimitiveSet -> Graphic3d_BvhCStructureSet;
- OpenGl_BVHClipPrimitiveTrsfPersSet -> Graphic3d_BvhCStructureSetTrsfPers;
- OpenGl_BVHTreeSelector -> Graphic3d_CullingTool.

Method OpenGl_Layer::Render() has been moved to OpenGl_LayerList::renderLayer().

Standard Z-layers list definition has been moved
from OpenGl_GraphicDriver to base class Graphic3d_GraphicDriver.
31 files changed:
src/Graphic3d/FILES
src/Graphic3d/Graphic3d_BvhCStructureSet.cxx [moved from src/OpenGl/OpenGl_BVHClipPrimitiveSet.cxx with 81% similarity]
src/Graphic3d/Graphic3d_BvhCStructureSet.hxx [moved from src/OpenGl/OpenGl_BVHClipPrimitiveSet.hxx with 72% similarity]
src/Graphic3d/Graphic3d_BvhCStructureSetTrsfPers.cxx [moved from src/OpenGl/OpenGl_BVHClipPrimitiveTrsfPersSet.cxx with 72% similarity]
src/Graphic3d/Graphic3d_BvhCStructureSetTrsfPers.hxx [moved from src/OpenGl/OpenGl_BVHClipPrimitiveTrsfPersSet.hxx with 82% similarity]
src/Graphic3d/Graphic3d_CStructure.cxx
src/Graphic3d/Graphic3d_CStructure.hxx
src/Graphic3d/Graphic3d_CView.cxx
src/Graphic3d/Graphic3d_CView.hxx
src/Graphic3d/Graphic3d_CullingTool.cxx [moved from src/OpenGl/OpenGl_BVHTreeSelector.cxx with 82% similarity]
src/Graphic3d/Graphic3d_CullingTool.hxx [moved from src/OpenGl/OpenGl_BVHTreeSelector.hxx with 79% similarity]
src/Graphic3d/Graphic3d_GraphicDriver.cxx
src/Graphic3d/Graphic3d_GraphicDriver.hxx
src/Graphic3d/Graphic3d_Layer.cxx [moved from src/OpenGl/OpenGl_Layer.cxx with 58% similarity]
src/Graphic3d/Graphic3d_Layer.hxx [new file with mode: 0644]
src/Graphic3d/Graphic3d_MapOfZLayerSettings.hxx [moved from src/OpenGl/OpenGl_MapOfZLayerSettings.hxx with 78% similarity]
src/Graphic3d/Graphic3d_ZLayerSettings.hxx
src/OpenGl/FILES
src/OpenGl/OpenGl_Caps.hxx
src/OpenGl/OpenGl_FrameStats.cxx
src/OpenGl/OpenGl_FrameStats.hxx
src/OpenGl/OpenGl_GraphicDriver.cxx
src/OpenGl/OpenGl_GraphicDriver.hxx
src/OpenGl/OpenGl_Layer.hxx
src/OpenGl/OpenGl_LayerList.cxx
src/OpenGl/OpenGl_LayerList.hxx
src/OpenGl/OpenGl_Structure.cxx
src/OpenGl/OpenGl_Structure.hxx
src/OpenGl/OpenGl_View.cxx
src/OpenGl/OpenGl_View.hxx
src/OpenGl/OpenGl_View_Raytrace.cxx