0024785: Visualization - Modifying z-layers concept to gain more control over OpenGl...
[occt.git] / src / V3d / V3d_Viewer.cxx
index 6b43f08..2078206 100644 (file)
@@ -332,6 +332,27 @@ void V3d_Viewer::DelView( const Handle(V3d_View)& TheView ) {
   MyDefinedViews.Remove(TheView);
 }
 
+//=======================================================================
+//function : SetZLayerSettings
+//purpose  :
+//=======================================================================
+
+void V3d_Viewer::SetZLayerSettings (const Standard_Integer theLayerId,
+                                    const Graphic3d_ZLayerSettings& theSettings)
+{
+  MyViewer->SetZLayerSettings (theLayerId, theSettings);
+}
+
+//=======================================================================
+//function : ZLayerSettings
+//purpose  :
+//=======================================================================
+
+Graphic3d_ZLayerSettings V3d_Viewer::ZLayerSettings (const Standard_Integer theLayerId)
+{
+  return MyViewer->ZLayerSettings (theLayerId);
+}
+
 //=======================================================================
 //function : AddZLayer
 //purpose  :