OCC22108 Cutting plane unpredictable behaviour in V3d_View
[occt.git] / src / OpenGl / OpenGl_tsm_ws.hxx
CommitLineData
7fd59977 1/***********************************************************************
2
3FONCTION :
4----------
5File OpenGl_tsm_ws :
6
7
8REMARQUES:
9----------
10
11HISTORIQUE DES MODIFICATIONS :
12--------------------------------
13xx-xx-xx : xxx ; Creation.
1402-07-96 : FMN ; Suppression WSWSHeight, WSWSWidth et WSType
1517-07-96 : FMN ; Ajout WSZbuffer
1624-04-97 : FMN ; Ajout displaylist pour le mode transient
1707-08-97 : PCT ; ajout texture environnante
1822-10-01 : SAV ; added flag WSDepthTest to control depth testing
1924-10-01 : SAV ; added flag WSGLLight to control GL_LIGHTING
20particularly, this thechnique is used in triedron displaying.
21
22************************************************************************/
23
24#ifndef OPENGL_TSM_WS_H
25#define OPENGL_TSM_WS_H
26
27#define G003 /* EUG 11-01-00 backfacing management
28*/
29
30#define BUC61044 /* SAV ; added functionality to control gl depth testing
31from higher API */
32#define BUC61045 /* SAV ; added functionality to control gl lighting
33from higher API */
34#define OCC1188 /* SAV Added 23-12-02 background texture attribute */
35
36#include <OpenGl_cmn_varargs.hxx>
37
38typedef enum
39{
40 WSTextureEnv, WSSurfaceDetail,
41 WSFilters, WSWindow, WSWidth, WSHeight, WSDbuff,
42 WSViewStid, WSLights, WSViews, WSBackground, WSNeedsClear, WSHighlights,
43 WSDepthCues, WSTransparency, WSZbuffer, WSTransient, WSRetainMode, WSUpdateState, WSPixmap, WSGLXPixmap, WSDepth
44#ifdef G003
45 , WSBackfacing
46#endif /* G003 */
47#ifdef BUC61044
48 , WSDepthTest
49#endif
50#ifdef BUC61045
51 , WSGLLight
52#endif
53#ifdef OCC1188
54 , WSBgTexture
55#endif
56 , WSBgGradient
57} TWSAttri;
58
59extern TStatus TsmRegisterWsid( Tint );
60extern TStatus TsmSetWSAttri( Tint, TWSAttri, cmn_key_data );
61extern TStatus TsmGetWSAttri( Tint, TWSAttri, cmn_key_data );
62/* struct_id, size, ws, actual_size */
63extern TStatus TsmGetWSPosted( Tint, Tint, Tint*, Tint* );
64extern TStatus TsmUnregisterWsid( Tint wsid );
65extern TStatus TsmInitUpdateState();
66
67#endif