0023948: Wrong intersection between a surface of revolution and a plane.
[occt.git] / src / InterfaceGraphic / InterfaceGraphic_Aspect.hxx
CommitLineData
b311480e 1// Copyright (c) 1991-1999 Matra Datavision
973c2be1 2// Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 3//
973c2be1 4// This file is part of Open CASCADE Technology software library.
b311480e 5//
d5f74e42 6// This library is free software; you can redistribute it and/or modify it under
7// the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 8// by the Free Software Foundation, with special exception defined in the file
9// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
10// distribution for complete text of the license and disclaimer of any warranty.
b311480e 11//
973c2be1 12// Alternatively, this file may be used under the terms of Open CASCADE
13// commercial license or contractual agreement.
7fd59977 14
15#ifndef InterfaceGraphic_AspectHeader
16#define InterfaceGraphic_AspectHeader
17
18#ifndef IMP100701
19#define IMP100701 /* GG Add depth field in the bitmap structure */
20#endif
21
22#ifndef RIC120302
23#define RIC120302 /*GG Add NEW field in CALL_DEF_WINDOW structure
24// to registred parent window ID
25// Change Aspect_Handle to Aspect_Drawable for
26// a more correct understanding.
27*/
28#endif
29
7fd59977 30#include <Aspect_Drawable.hxx>
31#include <Aspect_RenderingContext.hxx>
32
33typedef struct {
34 int mapped;
35} EXT_WINDOW ;
36
37/* WINDOW */
38
39typedef struct {
40
41 int IsDefined;
42
43 Aspect_Drawable XWindow;
44
45#ifdef RIC120302
46 Aspect_Drawable XParentWindow;
47#endif
48
49 EXT_WINDOW *ext_data;
50
51 struct {
52 float xm, ym, xM, yM;
53 } Position;
54
55 float dx, dy;
56
57 char *Title;
58
59 char *Icon;
60
61 struct {
62 float r, g, b;
63 } Background;
64
65} CALL_DEF_WINDOW;
66
67
68typedef struct {
69 int listIndex;
70 void* layerData;
71} CALL_DEF_PTRLAYER, *call_def_ptrLayer;
72
73
74/* LAYER */
75
76typedef struct {
77 CALL_DEF_PTRLAYER* ptrLayer;
78 int layerType;
79 int attach;
80 int sizeDependent;
81 float ortho[4];
82 float viewport[2];
83
84} CALL_DEF_LAYER;
85
7fd59977 86#endif /* InterfaceGraphic_AspectHeader */