0032725: Visualization - Graphic3d_Structure::SetDisplayPriority() should use public... IR-2021-12-10
authorkgv <kgv@opencascade.com>
Wed, 8 Dec 2021 12:55:11 +0000 (15:55 +0300)
committersmoskvin <smoskvin@opencascade.com>
Thu, 9 Dec 2021 22:24:40 +0000 (01:24 +0300)
commite463b2f685d8c815f8a7ab996c6843808e8b1430
tree64ea3483a115f622be74d4d3b8e1075c184f0e51
parente3dae4a9f33a1b478184d3513a1b6f360aef09a7
0032725: Visualization - Graphic3d_Structure::SetDisplayPriority() should use public enumeration Graphic3d_DisplayPriority

Added new enumeration Graphic3d_DisplayPriority.
Graphic3d_Layer now defines a fixed-length array of priorities.
Properties Graphic3d_CStructure::Id, Priority, PreviousPriority have been wrapped into methods.
39 files changed:
src/AIS/AIS_Axis.cxx
src/AIS/AIS_Circle.cxx
src/AIS/AIS_InteractiveContext.cxx
src/AIS/AIS_InteractiveContext.hxx
src/AIS/AIS_Line.cxx
src/AIS/AIS_PlaneTrihedron.cxx
src/AIS/AIS_Shape.cxx
src/AIS/AIS_TexturedShape.cxx
src/Graphic3d/FILES
src/Graphic3d/Graphic3d_CStructure.cxx
src/Graphic3d/Graphic3d_CStructure.hxx
src/Graphic3d/Graphic3d_CView.cxx
src/Graphic3d/Graphic3d_CView.hxx
src/Graphic3d/Graphic3d_DisplayPriority.hxx [new file with mode: 0644]
src/Graphic3d/Graphic3d_GraphicDriver.cxx
src/Graphic3d/Graphic3d_Group.cxx
src/Graphic3d/Graphic3d_Layer.cxx
src/Graphic3d/Graphic3d_Layer.hxx
src/Graphic3d/Graphic3d_Structure.cxx
src/Graphic3d/Graphic3d_Structure.hxx
src/Graphic3d/Graphic3d_Structure.pxx [deleted file]
src/Graphic3d/Graphic3d_StructureManager.cxx
src/Graphic3d/Graphic3d_StructureManager.hxx
src/MeshVS/MeshVS_Mesh.cxx
src/OpenGl/OpenGl_GraphicDriver.cxx
src/OpenGl/OpenGl_LayerList.cxx
src/OpenGl/OpenGl_LayerList.hxx
src/OpenGl/OpenGl_View.cxx
src/OpenGl/OpenGl_View.hxx
src/OpenGl/OpenGl_View_Raytrace.cxx
src/PrsMgr/PrsMgr_PresentationManager.cxx
src/PrsMgr/PrsMgr_PresentationManager.hxx
src/SelectMgr/SelectMgr_ViewerSelector.cxx
src/V3d/V3d_CircularGrid.cxx
src/V3d/V3d_Plane.cxx
src/V3d/V3d_RectangularGrid.cxx
src/V3d/V3d_Trihedron.cxx
src/ViewerTest/ViewerTest_ObjectCommands.cxx
src/XCAFPrs/XCAFPrs_AISObject.cxx