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_Graphic3dHeader
20 #define InterfaceGraphic_Graphic3dHeader
22 #include <InterfaceGraphic_PrimitiveArray.hxx>
23 #include <Standard_Transient.hxx>
29 #define CALL_DEF_STRUCTHIGHLIGHTED 1
30 #define CALL_DEF_STRUCTPICKABLE 2
31 #define CALL_DEF_STRUCTVISIBLE 3
33 #define CALL_DEF_STRUCTNOHIGHLIGHTED 11
34 #define CALL_DEF_STRUCTNOPICKABLE 12
35 #define CALL_DEF_STRUCTNOVISIBLE 13
45 } CALL_DEF_LISTINTEGERS;
105 } CALL_DEF_TEXTURE_COORD;
121 CALL_DEF_POINT Point;
123 CALL_DEF_COLOR Color;
132 CALL_DEF_POINT Point;
134 CALL_DEF_NORMAL Normal;
143 CALL_DEF_POINT Point;
145 CALL_DEF_NORMAL Normal;
147 CALL_DEF_TEXTURE_COORD TextureCoord;
156 CALL_DEF_POINT Point;
158 CALL_DEF_NORMAL Normal;
160 CALL_DEF_COLOR Color;
165 /* BOITE ENGLOBANTE */
169 CALL_DEF_COLOR Color;
178 /* LISTE DE POINTS */
182 CALL_DEF_POINT *Points;
184 CALL_DEF_POINTN *PointsN;
186 CALL_DEF_POINTC *PointsC;
188 CALL_DEF_POINTNC *PointsNC;
190 CALL_DEF_POINTNT *PointsNT;
195 /* LISTE DE POINTS */
203 CALL_DEF_UPOINTS UPoints;
205 } CALL_DEF_LISTPOINTS;
217 /* LISTE DE MARKERS */
223 CALL_DEF_MARKER *Markers;
225 } CALL_DEF_LISTMARKERS;
232 unsigned short *string;
234 CALL_DEF_POINT Position;
257 CALL_DEF_NORMAL Normal;
261 CALL_DEF_COLOR Color;
269 CALL_DEF_UPOINTS UPoints;
274 /* LISTE DE FACETTES */
280 CALL_DEF_FACET *LFacets;
282 } CALL_DEF_LISTFACETS;
296 CALL_DEF_UPOINTS UPoints;
309 CALL_DEF_UPOINTS UPoints;
314 /* PICK IDENTIFICATEUR */
335 CALL_DEF_COLOR Color;
341 } CALL_DEF_CONTEXTLINE;
367 /* Attribut couleur eclairage */
368 CALL_DEF_COLOR ColorAmb, ColorDif, ColorSpec, ColorEms, Color;
388 CALL_DEF_COLOR Color;
394 CALL_DEF_COLOR ColorSubTitle;
403 } CALL_DEF_CONTEXTTEXT;
405 /* Transform persistence struct */
411 CALL_DEF_POINT Point;
412 } CALL_DEF_TRANSFORM_PERSISTENCE;
433 CALL_DEF_BOUNDS *Bounds;
437 #endif /* InterfaceGraphic_Graphic3dHeader */