1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-19 13:40:49 +03:00

0024785: Visualization - Modifying z-layers concept to gain more control over OpenGl depth buffer.

Cosmetic fixes.
glDepthFunc fix.
This commit is contained in:
duv
2014-04-17 15:56:41 +04:00
committed by apn
parent 1a457208fe
commit c5751993f2
26 changed files with 655 additions and 28 deletions

View File

@@ -277,6 +277,11 @@ public:
//! Get Z layer ID of the structure. If the structure doesn't exists in graphic driver, the method returns -1.
Standard_EXPORT Standard_Integer GetZLayer (const Graphic3d_CStructure& theCStructure) const;
//! Sets the settings for a single Z layer of specified view.
Standard_EXPORT void SetZLayerSettings (const Graphic3d_CView& theCView,
const Standard_Integer theLayerId,
const Graphic3d_ZLayerSettings& theSettings);
public:
//! @return the visualization options