0024166: Unable to create file with "Save" menu of voxeldemo Qt sample
[occt.git] / src / AdvApp2Var / AdvApp2Var_Data.hxx
CommitLineData
b311480e 1// Copyright (c) 1999-2012 OPEN CASCADE SAS
2//
3// The content of this file is subject to the Open CASCADE Technology Public
4// License Version 6.5 (the "License"). You may not use the content of this file
5// except in compliance with the License. Please obtain a copy of the License
6// at http://www.opencascade.org and read it completely before using this file.
7//
8// The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
9// main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
10//
11// The Original Code and all software distributed under the License is
12// distributed on an "AS IS" basis, without warranty of any kind, and the
13// Initial Developer hereby disclaims all such warranties, including without
14// limitation, any warranties of merchantability, fitness for a particular
15// purpose or non-infringement. Please see the License for the specific terms
16// and conditions governing the rights and limitations under the License.
17
7fd59977 18
19#ifndef AdvApp2Var_Data_HeaderFile
20#define AdvApp2Var_Data_HeaderFile
21
22#ifndef _Standard_Macro_HeaderFile
23#include <Standard_Macro.hxx>
24#endif
25
26#include <AdvApp2Var_Data_f2c.hxx>
27//
28struct mdnombr_1_ {
29 doublereal pi,
30 deuxpi,
31 pisur2,
32 pis180,
33 c180pi,
34 zero,
35 one,
36 a180,
37 a360,
38 a90;
39};
40//
41struct minombr_1_ {
42 integer nbr[1001];
43};
44//
45struct maovpar_1_ {
46 doublereal r8und, r8ovr, x4und, x4ovr;
47 real r4und, r4ovr;
48 integer r4nbe, r8nbm, r8nbe, i4ovr, i4ovn, r4exp, r8exp, r4exn, r8exn,
49 r4ncs, r8ncs, r4nbm;
50 shortint i2ovr, i2ovn;
51};
52//
53struct maovpch_1_ {
54 char cnmmac[16], frmr4[8], frmr8[8], cdcode[8];
55};
56//
57struct mlgdrtl_1_ {
58 doublereal rootab[930],// was [465][2]
59 hiltab[930],// was [465][2]
60 hi0tab[31];
61 };
62//
63struct mmjcobi_1_ {
64 doublereal plgcan[3968];// was [496][2][4]
65 doublereal canjac[3968];// was [496][2][4]
66};
67//
68struct mmcmcnp_1_ {
69 doublereal cnp[3721]; // was [61][61] ;
70};
71//
72struct mmapgss_1_ {
73 doublereal gslxjs[5017],
74 gsl0js[52];
75};
76//
77struct mmapgs0_1_ {
78 doublereal gslxj0[4761], gsl0j0[49];
79};
80//
81struct mmapgs1_1_ {
82 doublereal gslxj1[4505], gsl0j1[46];
83};
84//
85struct mmapgs2_1_ {
86 doublereal gslxj2[4249], gsl0j2[43];
87};
88////
89class AdvApp2Var_Data {
90 public:
91
92 Standard_EXPORT static mdnombr_1_& Getmdnombr();
93 Standard_EXPORT static minombr_1_& Getminombr();
94 Standard_EXPORT static maovpar_1_& Getmaovpar();
95 Standard_EXPORT static maovpch_1_& Getmaovpch();
96 Standard_EXPORT static mlgdrtl_1_& Getmlgdrtl();
97 Standard_EXPORT static mmjcobi_1_& Getmmjcobi();
98 Standard_EXPORT static mmcmcnp_1_& Getmmcmcnp();
99 Standard_EXPORT static mmapgss_1_& Getmmapgss();
100 Standard_EXPORT static mmapgs0_1_& Getmmapgs0();
101 Standard_EXPORT static mmapgs1_1_& Getmmapgs1();
102 Standard_EXPORT static mmapgs2_1_& Getmmapgs2();
103
104};
105//
106#define mdnombr_ AdvApp2Var_Data::Getmdnombr()
107#define minombr_ AdvApp2Var_Data::Getminombr()
108#define maovpar_ AdvApp2Var_Data::Getmaovpar()
109#define maovpch_ AdvApp2Var_Data::Getmaovpch()
110#define mlgdrtl_ AdvApp2Var_Data::Getmlgdrtl()
111#define mmjcobi_ AdvApp2Var_Data::Getmmjcobi()
112#define mmcmcnp_ AdvApp2Var_Data::Getmmcmcnp()
113#define mmapgss_ AdvApp2Var_Data::Getmmapgss()
114#define mmapgs0_ AdvApp2Var_Data::Getmmapgs0()
115#define mmapgs1_ AdvApp2Var_Data::Getmmapgs1()
116#define mmapgs2_ AdvApp2Var_Data::Getmmapgs2()
117//
118#endif