0031004: Coding - eliminate warnings issued by gcc 9.1.0
[occt.git] / src / Graphic3d / Graphic3d_ZLayerId.hxx
CommitLineData
a1954302 1// Created on: 2014-12-30
2// Created by: Kirill Gavrilov
3// Copyright (c) 2014 OPEN CASCADE SAS
4//
5// This file is part of Open CASCADE Technology software library.
6//
7// This library is free software; you can redistribute it and/or modify it under
8// the terms of the GNU Lesser General Public License version 2.1 as published
9// by the Free Software Foundation, with special exception defined in the file
10// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11// distribution for complete text of the license and disclaimer of any warranty.
12//
13// Alternatively, this file may be used under the terms of Open CASCADE
14// commercial license or contractual agreement.
15
16#ifndef _Graphic3d_ZLayerId_HeaderFile
17#define _Graphic3d_ZLayerId_HeaderFile
18
f838dac4 19#include <Standard_Integer.hxx>
20
a1954302 21typedef Standard_Integer Graphic3d_ZLayerId;
22
23//! This enumeration defines the list of predefined layers, which can not be removed (but settings can be overridden).
24//! Custom layers might be added with positive index (>= 1) if standard list is insufficient for application needs;
25//! these layers will be displayed on top of predefined ones.
26enum
27{
28 Graphic3d_ZLayerId_UNKNOWN = -1, //!< identifier for invalid ZLayer
29 Graphic3d_ZLayerId_Default = 0, //!< default Z-layer for main presentations
30 Graphic3d_ZLayerId_Top = -2, //!< overlay for 3D presentations which inherits Depth from previous ZLayer
31 Graphic3d_ZLayerId_Topmost = -3, //!< overlay for 3D presentations with independent Depth
af65fb19 32 Graphic3d_ZLayerId_TopOSD = -4, //!< overlay for 2D presentations (On-Screen-Display)
33 Graphic3d_ZLayerId_BotOSD = -5 //!< underlay for 2D presentations (On-Screen-Display)
a1954302 34};
35
36#endif // _Graphic3d_ZLayerId_HeaderFile