1 // Copyright (c) 1991-1999 Matra Datavision
2 // Copyright (c) 1999-2012 OPEN CASCADE SAS
4 // The content of this file is subject to the Open CASCADE Technology Public
5 // License Version 6.5 (the "License"). You may not use the content of this file
6 // except in compliance with the License. Please obtain a copy of the License
7 // at http://www.opencascade.org and read it completely before using this file.
9 // The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
10 // main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
12 // The Original Code and all software distributed under the License is
13 // distributed on an "AS IS" basis, without warranty of any kind, and the
14 // Initial Developer hereby disclaims all such warranties, including without
15 // limitation, any warranties of merchantability, fitness for a particular
16 // purpose or non-infringement. Please see the License for the specific terms
17 // and conditions governing the rights and limitations under the License.
19 #ifndef INTERFACEGRAPHIC_TELEM_H
20 #define INTERFACEGRAPHIC_TELEM_H
22 #include <Standard.hxx>
23 #include <Standard_DefineAlloc.hxx>
24 #include <InterfaceGraphic_tgl_all.hxx>
27 struct TEL_TEXTURE_COORD
33 typedef TEL_TEXTURE_COORD* tel_texture_coord;
41 typedef TEL_POINT* tel_point;
45 /* OCC8854: san -- number of color components increased to include alpha value */
49 typedef TEL_COLOUR* tel_colour;
66 /* Standard Hatch Styles */
67 #define TEL_HS_SOLID 0
68 #define TEL_HS_CROSS 1
69 #define TEL_HS_CROSS_SPARSE 2
71 #define TEL_HS_GRID_SPARSE 4
72 #define TEL_HS_DIAG_45 5
73 #define TEL_HS_DIAG_135 6
74 #define TEL_HS_HORIZONTAL 7
75 #define TEL_HS_VERTICAL 8
76 #define TEL_HS_DIAG_45_SPARSE 9
77 #define TEL_HS_DIAG_135_SPARSE 10
78 #define TEL_HS_HORIZONTAL_SPARSE 11
79 #define TEL_HS_VERTICAL_SPARSE 12
81 #define TEL_HS_USER_DEF_START 15
84 #define TEL_SM_GOURAUD 2
86 /* Standard Lighting Models */
87 #define TEL_FRONT_BACK_LM 1
89 /* Standard Materials */
90 #define TEL_FRONT_MATERIAL 1
91 #define TEL_BACK_MATERIAL 2
93 struct TEL_POFFSET_PARAM
100 typedef TEL_POFFSET_PARAM* tel_poffset_param;
102 struct TEL_TRANSFORM_PERSISTENCE
108 DEFINE_STANDARD_ALLOC
110 typedef TEL_TRANSFORM_PERSISTENCE* tel_transform_persistence;
112 #endif /* INTERFACEGRAPHIC_TELEM_H */