mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-08 14:17:06 +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:
@@ -34,6 +34,7 @@
|
||||
#include <Graphic3d_CView.hxx>
|
||||
#include <Graphic3d_CGraduatedTrihedron.hxx>
|
||||
#include <Graphic3d_SequenceOfHClipPlane.hxx>
|
||||
#include <Graphic3d_ZLayerSettings.hxx>
|
||||
#include <Visual3d_TypeOfSurfaceDetail.hxx>
|
||||
|
||||
#include <OpenGl_LayerList.hxx>
|
||||
@@ -159,6 +160,10 @@ class OpenGl_View : public MMgt_TShared
|
||||
void ChangeZLayer (const OpenGl_Structure *theStructure,
|
||||
const Standard_Integer theNewLayerId);
|
||||
|
||||
//! Sets the settings for a single Z layer of specified view.
|
||||
void SetZLayerSettings (const Standard_Integer theLayerId,
|
||||
const Graphic3d_ZLayerSettings theSettings);
|
||||
|
||||
void CreateBackgroundTexture (const Standard_CString AFileName, const Aspect_FillMethod AFillStyle);
|
||||
void SetBackgroundTextureStyle (const Aspect_FillMethod FillStyle);
|
||||
void SetBackgroundGradient (const Quantity_Color& AColor1, const Quantity_Color& AColor2, const Aspect_GradientFillMethod AType);
|
||||
|
Reference in New Issue
Block a user