2 * modified 27/08/97 ; PCT : ajout texture mapping
3 * modified 08/04/98 ; FGU : ajout parametres d emission (CALL_DEF_MATERIAL)
4 * modified 30/11/98 ; FMN : ajout parametres pour les textes visibles
5 * modified 24/01/00 ; EUG : G003 add DegenerationMode flag and SkipRatio value in
7 * modified 22/03/04 ; SAN : OCC4895 High-level interface for controlling polygon offsets
12 #ifndef InterfaceGraphic_Graphic3dHeader
13 #define InterfaceGraphic_Graphic3dHeader
15 #include <InterfaceGraphic_PrimitiveArray.hxx>
17 #define G003 /*EUG 26-01-00 Degeneration management
20 #define OCC1174 /*SAV 08/01/03 CONTEXTFILLAREA extended with back face interior color*/
22 #define OCC2934 /* SAN 22/01/04 Texture mapped fonts on WNT */
29 Copyright (C) 1991,1992,1993 by
31 MATRA DATAVISION, FRANCE
33 This software is furnished in accordance with the terms and conditions
34 of the contract and with the inclusion of the above copyright notice.
35 This software or any other copy thereof may not be provided or otherwise
36 be made available to any other person. No title to an ownership of the
37 software is hereby transferred.
39 At the termination of the contract, the software and all copies of this
40 software must be deleted.
42 Facility : CAS-CADE V1
46 #define CALL_DEF_STRUCTHIGHLIGHTED 1
47 #define CALL_DEF_STRUCTPICKABLE 2
48 #define CALL_DEF_STRUCTVISIBLE 3
50 #define CALL_DEF_STRUCTNOHIGHLIGHTED 11
51 #define CALL_DEF_STRUCTNOPICKABLE 12
52 #define CALL_DEF_STRUCTNOVISIBLE 13
62 } CALL_DEF_LISTINTEGERS;
102 CALL_DEF_EDGE *Edges;
104 } CALL_DEF_LISTEDGES;
122 } CALL_DEF_TEXTURE_COORD;
138 CALL_DEF_POINT Point;
140 CALL_DEF_COLOR Color;
149 CALL_DEF_POINT Point;
151 CALL_DEF_NORMAL Normal;
160 CALL_DEF_POINT Point;
162 CALL_DEF_NORMAL Normal;
164 CALL_DEF_TEXTURE_COORD TextureCoord;
173 CALL_DEF_POINT Point;
175 CALL_DEF_NORMAL Normal;
177 CALL_DEF_COLOR Color;
182 /* BOITE ENGLOBANTE */
186 CALL_DEF_COLOR Color;
195 /* LISTE DE POINTS */
199 CALL_DEF_POINT *Points;
201 CALL_DEF_POINTN *PointsN;
203 CALL_DEF_POINTC *PointsC;
205 CALL_DEF_POINTNC *PointsNC;
207 CALL_DEF_POINTNT *PointsNT;
212 /* LISTE DE POINTS */
220 CALL_DEF_UPOINTS UPoints;
222 } CALL_DEF_LISTPOINTS;
234 /* LISTE DE MARKERS */
240 CALL_DEF_MARKER *Markers;
242 } CALL_DEF_LISTMARKERS;
249 unsigned short *string;
251 CALL_DEF_POINT Position;
274 CALL_DEF_NORMAL Normal;
278 CALL_DEF_COLOR Color;
286 CALL_DEF_UPOINTS UPoints;
291 /* LISTE DE FACETTES */
297 CALL_DEF_FACET *LFacets;
299 } CALL_DEF_LISTFACETS;
313 CALL_DEF_UPOINTS UPoints;
326 CALL_DEF_UPOINTS UPoints;
331 /* PICK IDENTIFICATEUR */
352 CALL_DEF_COLOR Color;
358 } CALL_DEF_CONTEXTLINE;
384 /* Attribut couleur eclairage */
385 CALL_DEF_COLOR ColorAmb, ColorDif, ColorSpec, ColorEms, Color;
406 } CALL_DEF_INIT_TEXTURE;
418 /* CONTEXTE POLYGONE */
428 CALL_DEF_COLOR IntColor;
431 CALL_DEF_COLOR BackIntColor;
434 CALL_DEF_COLOR EdgeColor;
447 CALL_DEF_MATERIAL Front;
448 CALL_DEF_MATERIAL Back;
450 CALL_DEF_TEXTURE Texture;
453 int DegenerationMode;
456 /* OCC4895 SAN 22/03/04 High-level interface for controlling polygon offsets */
457 int PolygonOffsetMode;
458 float PolygonOffsetFactor;
459 float PolygonOffsetUnits;
460 /* OCC4895 SAN 22/03/04 High-level interface for controlling polygon offsets */
462 } CALL_DEF_CONTEXTFILLAREA;
465 /* CONTEXTE MARKER */
473 CALL_DEF_COLOR Color;
479 } CALL_DEF_CONTEXTMARKER;
496 CALL_DEF_COLOR Color;
502 CALL_DEF_COLOR ColorSubTitle;
511 } CALL_DEF_CONTEXTTEXT;
513 /* Transform persistence struct */
519 CALL_DEF_POINT Point;
520 } CALL_DEF_TRANSFORM_PERSISTENCE;
530 int PreviousPriority;
534 CALL_DEF_CONTEXTLINE ContextLine;
535 CALL_DEF_CONTEXTFILLAREA ContextFillArea;
536 CALL_DEF_CONTEXTMARKER ContextMarker;
537 CALL_DEF_CONTEXTTEXT ContextText;
539 CALL_DEF_BOUNDBOX BoundBox;
541 float Transformation[4][4];
546 unsigned IsDeleted :1;
548 unsigned IsInfinite :1;
550 unsigned highlight :1;
553 unsigned HLRValidation :1;
554 /* ABD 29/10/04 Transform Persistence of Presentation( pan, zoom, rotate ) */
555 /*int TransformPersistenceFlag;
556 CALL_DEF_POINT TransformPersistencePoint;
558 CALL_DEF_TRANSFORM_PERSISTENCE TransformPersistence;
559 /* ABD 29/10/04 Transform Persistence of Presentation( pan, zoom, rotate ) */
560 } CALL_DEF_STRUCTURE;
573 CALL_DEF_CONTEXTLINE ContextLine;
574 CALL_DEF_CONTEXTFILLAREA ContextFillArea;
575 CALL_DEF_CONTEXTMARKER ContextMarker;
576 CALL_DEF_CONTEXTTEXT ContextText;
578 CALL_DEF_STRUCTURE *Struct;
580 CALL_DEF_PICKID PickId;
582 unsigned IsDeleted :1;
584 /*int TransformPersistenceFlag;*/
607 CALL_DEF_BOUNDS *Bounds;
611 #endif /* InterfaceGraphic_Graphic3dHeader */