ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/step/src/st_gestionnaire.h
Revision: 257
Committed: Mon Jul 26 18:28:40 2010 UTC (14 years, 9 months ago) by francois
Content type: text/plain
File size: 4728 byte(s)
Log Message:
quelque #define de moins.

File Contents

# User Rev Content
1 5 //------------------------------------------------------------
2     //------------------------------------------------------------
3     // MAGiC
4 francois 257 // Jean Christophe Cuilli�re et Vincent FRANCOIS
5     // D�partement de G�nie M�canique - UQTR
6 5 //------------------------------------------------------------
7 francois 257 // Le projet MAGIC est un projet de recherche du d�partement
8     // de g�nie m�canique de l'Universit� du Qu�bec �
9     // Trois Rivi�res
10     // Les librairies ne peuvent �tre utilis�es sans l'accord
11 5 // des auteurs (contact : francois@uqtr.ca)
12     //------------------------------------------------------------
13     //------------------------------------------------------------
14     //
15     // st_gestionnaire.h
16     //
17     //------------------------------------------------------------
18     //------------------------------------------------------------
19     // COPYRIGHT 2000
20 francois 257 // Version du 02/03/2006 � 11H24
21 5 //------------------------------------------------------------
22     //------------------------------------------------------------
23     #ifndef st_gestionnaireH
24     #define st_gestionnaireH
25     //---------------------------------------------------------------------------
26     #ifdef WINDOWS_VERSION
27     #ifdef BUILT_DLL_STEPLIB
28     #define DLLPORTSTEP __declspec(dllexport)
29     #else
30     #define DLLPORTSTEP __declspec(dllimport)
31     #endif
32     #else
33     #define DLLPORTSTEP
34     #endif
35    
36    
37     #include "tpl_map_entite.h"
38     #include "st_ident.h"
39     #include "stvector.h"
40     #include "stedgecurve.h"
41     #include "storiedge.h"
42     #include "stline.h"
43     #include "stfacebound.h"
44     #include "stvertex.h"
45     #include "stplane.h"
46     #include "stcylindrical.h"
47     #include "stspherical.h"
48     #include "sttoroidal.h"
49     #include "stconical.h"
50     #include "staxis2place3d.h"
51     #include "stclosedshell.h"
52     #include "storientedclosedshell.h"
53     #include "stadface.h"
54     #include "stedgeloop.h"
55     #include "stbrep.h"
56     #include "stbrepwithvoids.h"
57     #include "stcircle.h"
58     #include "stellipse.h"
59     #include "stdirection.h"
60     #include "st_point.h"
61     #include "stbspline.h"
62     #include "stbsplines.h"
63    
64    
65     class DLLPORTSTEP ST_GESTIONNAIRE
66     {
67     public:
68     ST_GESTIONNAIRE();
69     ST_GESTIONNAIRE(char *path);
70     virtual ~ST_GESTIONNAIRE();
71    
72    
73 francois 257
74 5 void change_nom(char *path);
75     char* get_nom(void);
76     int lire(void);
77     void initialiser(void);
78    
79     TPL_MAP_ENTITE<class ST_IDENTIFICATEUR*> lst_entity;
80     TPL_MAP_ENTITE<class ST_VECTOR*> lst_vector;
81     TPL_MAP_ENTITE<class ST_EDGE_CURVE*> lst_edgecurve;
82     TPL_MAP_ENTITE<class ST_ORIENTED_EDGE*> lst_oriedge;
83     TPL_MAP_ENTITE<class ST_LINE*> lst_line;
84     TPL_MAP_ENTITE<class ST_FACE_BOUND*> lst_facebound;
85     TPL_MAP_ENTITE<class ST_VERTEX*> lst_vertex;
86     TPL_MAP_ENTITE<class ST_PLANE*> lst_plane;
87     TPL_MAP_ENTITE<class ST_CYLINDRICAL*> lst_cylindrical;
88     TPL_MAP_ENTITE<class ST_SPHERICAL*> lst_spherical;
89     TPL_MAP_ENTITE<class ST_TOROIDAL*> lst_toroidal;
90     TPL_MAP_ENTITE<class ST_CONICAL*> lst_conical;
91     TPL_MAP_ENTITE<class ST_AXIS2_PLACEMENT_3D*> lst_axis2_placement_3d;
92     TPL_MAP_ENTITE<class ST_CLOSED_SHELL*> lst_closed_shell;
93     TPL_MAP_ENTITE<class ST_ORIENTED_CLOSED_SHELL*> lst_oriented_closed_shell;
94     TPL_MAP_ENTITE<class ST_ADVANCED_FACE*> lst_advanced_face;
95     TPL_MAP_ENTITE<class ST_EDGE_LOOP*> lst_edge_loop;
96     TPL_MAP_ENTITE<class ST_MANIFOLD_BREP*> lst_manifold_brep;
97     TPL_MAP_ENTITE<class ST_BREP_WITH_VOIDS*> lst_brep_with_voids;
98     TPL_MAP_ENTITE<class ST_CIRCLE*> lst_circle;
99     TPL_MAP_ENTITE<class ST_ELLIPSE*> lst_ellipse;
100     TPL_MAP_ENTITE<class ST_DIRECTION*> lst_direction;
101     TPL_MAP_ENTITE<class ST_POINT*> lst_point;
102     TPL_MAP_ENTITE<class ST_B_SPLINE*> lst_bspline;
103     TPL_MAP_ENTITE<class ST_B_SPLINE_SURF*> lst_bsplines;
104    
105     TPL_MAP_ENTITE<class ST_COURBE*> lst_courbe;
106     TPL_MAP_ENTITE<class ST_SURFACE*> lst_surface;
107    
108     int tabentite[25];
109     std::vector<std::string> entitenontraite;
110     std::vector<std::string> entitenom;
111    
112     private:
113     long cid(std::string str);
114     int cbool(std::string str);
115     char *nom;
116     void init(void);
117 francois 257
118    
119    
120     public :
121     enum geotype {VERTEX_POINT = 0,
122     VECTOR = 1,
123     LINE = 2,
124     EDGE_CURVE = 3,
125     ORIENTED_EDGE = 4,
126     EDGE_LOOP = 5,
127     FACE_BOUND = 6,
128     FACE_OUTER_BOUND = 7,
129     ADVANCED_FACE = 8,
130     AXIS2_PLACEMENT_3D = 9,
131     PLANE = 10,
132     CYLINDRICAL_SURFACE = 11,
133     TOROIDAL_SURFACE = 12,
134     CONICAL_SURFACE = 13,
135     SPHERICAL_SURFACE = 14,
136     CLOSED_SHELL = 15,
137     ORIENTED_CLOSED_SHELL = 16,
138     MANIFOLD_SOLID_BREP = 17,
139     BREP_WITH_VOIDS = 18,
140     CIRCLE = 19,
141     ELLIPSE = 20,
142     DIRECTION = 21,
143     CARTESIAN_POINT = 22,
144     B_SPLINE_CURVE_WITH_KNOTS = 23,
145     B_SPLINE_SURFACE_WITH_KNOTS = 24};
146    
147 5 };
148    
149     #endif