0024752: Visualization - inherit OpenGl_Group from Graphic3d_Group
authorkgv <kgv@opencascade.com>
Thu, 27 Mar 2014 13:12:18 +0000 (17:12 +0400)
committerbugmaster <bugmaster@opencascade.com>
Fri, 28 Mar 2014 11:55:24 +0000 (15:55 +0400)
commitb64d84be997b930b63098c5b9135e6fbcc4fe11c
tree51c73cd2f8bd18feb5e8aba761e81929a395b4d0
parent6b1fe48c8a0a4c35ae582472ceda7ab37d0b242b
0024752: Visualization - inherit OpenGl_Group from Graphic3d_Group

Graphic3d_Group is now abstract class and should be instantiated
using Graphic3d_Structure::NewGroup() method.
Graphic3d_CGroup has been removed.

The groups list is no more duplicated within Graphic3d_Structure and OpenGl_Structure.
Removed unused/duplicated fields from Graphic3d_Group.

Prs3d_Presentation - remove redundnant field myCurrentGroup.
PrsMgr_Presentation3d::Erase(), ::Clear() - avoid possible NULL dereference.
OpenGl_GraphicDriver/Graphic3d_GraphicDriver - group management methods have been removed
(moved to Graphic3d_CStructure and Graphic3d_Group interfaces).

Graphic3d_Group::GroupPrimitivesAspect() - copy IsEmission flag
Fix wrong iterator
Fix compilation issues
62 files changed:
src/AIS/AIS_InteractiveObject.cxx
src/Graphic3d/FILES
src/Graphic3d/Graphic3d.cdl
src/Graphic3d/Graphic3d_AspectMarker3d.cdl
src/Graphic3d/Graphic3d_AspectMarker3d.cxx
src/Graphic3d/Graphic3d_CAspectFillArea.hxx [moved from src/Graphic3d/Graphic3d_CGroup.hxx with 54% similarity]
src/Graphic3d/Graphic3d_CAspectLine.hxx [moved from src/Graphic3d/Graphic3d_Group.pxx with 57% similarity]
src/Graphic3d/Graphic3d_CAspectMarker.hxx [new file with mode: 0644]
src/Graphic3d/Graphic3d_CAspectText.hxx [new file with mode: 0644]
src/Graphic3d/Graphic3d_CStructure.hxx
src/Graphic3d/Graphic3d_GraphicDriver.cdl
src/Graphic3d/Graphic3d_GraphicDriver.cxx
src/Graphic3d/Graphic3d_Group.cdl
src/Graphic3d/Graphic3d_Group.cxx
src/Graphic3d/Graphic3d_Group_1.cxx [deleted file]
src/Graphic3d/Graphic3d_Group_10.cxx [deleted file]
src/Graphic3d/Graphic3d_Group_13.cxx [deleted file]
src/Graphic3d/Graphic3d_Group_2.cxx [deleted file]
src/Graphic3d/Graphic3d_Group_8.cxx [deleted file]
src/Graphic3d/Graphic3d_SequenceOfGroup.hxx [copied from src/Graphic3d/Graphic3d_CGroup.cxx with 60% similarity]
src/Graphic3d/Graphic3d_Structure.cdl
src/Graphic3d/Graphic3d_Structure.cxx
src/Graphic3d/Graphic3d_Structure.lxx [moved from src/Graphic3d/Graphic3d_CGroup.cxx with 58% similarity]
src/Graphic3d/Graphic3d_Structure.pxx
src/InterfaceGraphic/InterfaceGraphic_Graphic3d.hxx
src/OpenGl/FILES
src/OpenGl/OpenGl_AspectFace.cxx
src/OpenGl/OpenGl_AspectFace.hxx
src/OpenGl/OpenGl_AspectLine.hxx
src/OpenGl/OpenGl_AspectMarker.hxx
src/OpenGl/OpenGl_AspectText.hxx
src/OpenGl/OpenGl_CappingAlgo.cxx
src/OpenGl/OpenGl_CappingAlgo.hxx
src/OpenGl/OpenGl_GraduatedTrihedron.cxx
src/OpenGl/OpenGl_GraphicDriver.cxx
src/OpenGl/OpenGl_GraphicDriver.hxx
src/OpenGl/OpenGl_GraphicDriver_3.cxx [deleted file]
src/OpenGl/OpenGl_GraphicDriver_713.cxx
src/OpenGl/OpenGl_Group.cxx
src/OpenGl/OpenGl_Group.hxx
src/OpenGl/OpenGl_SceneGeometry.cxx
src/OpenGl/OpenGl_Structure.cxx
src/OpenGl/OpenGl_Structure.hxx
src/OpenGl/OpenGl_Text.cxx
src/OpenGl/OpenGl_Text.hxx
src/OpenGl/OpenGl_Trihedron.cxx
src/OpenGl/OpenGl_Workspace_Raytrace.cxx
src/Prs3d/Prs3d_Presentation.cdl
src/Prs3d/Prs3d_Presentation.cxx
src/PrsMgr/PrsMgr_Presentation3d.cxx
src/QABugs/QABugs_PresentableObject.cxx
src/StdSelect/StdSelect_ViewerSelector3d.cxx
src/V3d/V3d.cxx
src/V3d/V3d_CircularGrid.cxx
src/V3d/V3d_DirectionalLight.cxx
src/V3d/V3d_Plane.cxx
src/V3d/V3d_PositionLight.cxx
src/V3d/V3d_PositionalLight.cxx
src/V3d/V3d_RectangularGrid.cxx
src/V3d/V3d_SpotLight.cxx
src/V3d/V3d_Viewer_3.cxx
src/V3d/V3d_Viewer_4.cxx