1 |
|
5 |
//------------------------------------------------------------
|
2 |
|
|
//------------------------------------------------------------
|
3 |
|
|
// MAGiC
|
4 |
|
|
// Jean Christophe Cuillière et Vincent FRANCOIS
|
5 |
|
|
// Département de Génie Mécanique - UQTR
|
6 |
|
|
//------------------------------------------------------------
|
7 |
|
|
// 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 |
|
|
// des auteurs (contact : francois@uqtr.ca)
|
12 |
|
|
//------------------------------------------------------------
|
13 |
|
|
//------------------------------------------------------------
|
14 |
|
|
//
|
15 |
|
|
// veriwin.h
|
16 |
|
|
//
|
17 |
|
|
//------------------------------------------------------------
|
18 |
|
|
//------------------------------------------------------------
|
19 |
|
|
// COPYRIGHT 2000
|
20 |
|
|
// Version du 02/03/2006 à 11H25
|
21 |
|
|
//------------------------------------------------------------
|
22 |
|
|
//------------------------------------------------------------
|
23 |
|
|
|
24 |
|
|
#ifndef veriwinH
|
25 |
|
|
#define veriwinH
|
26 |
|
|
//---------------------------------------------------------------------------
|
27 |
|
|
#include <Classes.hpp>
|
28 |
|
|
#include <Controls.hpp>
|
29 |
|
|
#include <StdCtrls.hpp>
|
30 |
|
|
#include <Forms.hpp>
|
31 |
|
|
#include "mg_gestionnaire.h"
|
32 |
|
|
#include "visuwin.h"
|
33 |
|
|
#include <Grids.hpp>
|
34 |
|
|
//---------------------------------------------------------------------------
|
35 |
|
|
class Tverimesh : public TForm
|
36 |
|
|
{
|
37 |
|
|
__published: // IDE-managed Components
|
38 |
|
|
TListBox *ListBox1;
|
39 |
|
|
TLabel *Label1;
|
40 |
|
|
TGroupBox *GroupBox1;
|
41 |
|
|
TEdit *Edit1;
|
42 |
|
|
TEdit *Edit2;
|
43 |
|
|
TEdit *Edit3;
|
44 |
|
|
TEdit *Edit4;
|
45 |
|
|
TLabel *Label2;
|
46 |
|
|
TLabel *Label3;
|
47 |
|
|
TLabel *Label4;
|
48 |
|
|
TLabel *Label5;
|
49 |
|
|
TButton *Button1;
|
50 |
|
|
TButton *Button2;
|
51 |
|
|
TGroupBox *GroupBox2;
|
52 |
|
|
TEdit *Edit5;
|
53 |
|
|
TEdit *Edit6;
|
54 |
|
|
TEdit *Edit7;
|
55 |
|
|
TEdit *Edit9;
|
56 |
|
|
TEdit *Edit10;
|
57 |
|
|
TEdit *Edit11;
|
58 |
|
|
TLabel *Label6;
|
59 |
|
|
TLabel *Label7;
|
60 |
|
|
TEdit *Edit14;
|
61 |
|
|
TEdit *Edit15;
|
62 |
|
|
TEdit *Edit16;
|
63 |
|
|
TLabel *Label9;
|
64 |
|
|
TLabel *Label10;
|
65 |
|
|
TLabel *Label11;
|
66 |
|
|
TButton *Button3;
|
67 |
|
|
TGroupBox *GroupBox3;
|
68 |
|
|
TGroupBox *GroupBox4;
|
69 |
|
|
TEdit *Edit8;
|
70 |
|
|
TEdit *Edit12;
|
71 |
|
|
TEdit *Edit13;
|
72 |
|
|
TLabel *Label8;
|
73 |
|
|
TLabel *Label13;
|
74 |
|
|
TLabel *Label14;
|
75 |
|
|
TEdit *Edit17;
|
76 |
|
|
TEdit *Edit18;
|
77 |
|
|
TEdit *Edit19;
|
78 |
|
|
TEdit *Edit20;
|
79 |
|
|
TEdit *Edit21;
|
80 |
|
|
TEdit *Edit22;
|
81 |
|
|
TEdit *Edit23;
|
82 |
|
|
TEdit *Edit24;
|
83 |
|
|
TLabel *Label15;
|
84 |
|
|
TLabel *Label16;
|
85 |
|
|
TLabel *Label17;
|
86 |
|
|
TLabel *Label18;
|
87 |
|
|
TLabel *Label19;
|
88 |
|
|
TLabel *Label20;
|
89 |
|
|
TGroupBox *GroupBox5;
|
90 |
|
|
TLabel *Label21;
|
91 |
|
|
TLabel *Label22;
|
92 |
|
|
TLabel *Label23;
|
93 |
|
|
TLabel *Label24;
|
94 |
|
|
TLabel *Label25;
|
95 |
|
|
TLabel *Label26;
|
96 |
|
|
TLabel *Label27;
|
97 |
|
|
TLabel *Label28;
|
98 |
|
|
TLabel *Label29;
|
99 |
|
|
TEdit *Edit25;
|
100 |
|
|
TEdit *Edit26;
|
101 |
|
|
TEdit *Edit27;
|
102 |
|
|
TEdit *Edit29;
|
103 |
|
|
TEdit *Edit30;
|
104 |
|
|
TEdit *Edit31;
|
105 |
|
|
TEdit *Edit32;
|
106 |
|
|
TEdit *Edit33;
|
107 |
|
|
TEdit *Edit34;
|
108 |
|
|
TEdit *Edit35;
|
109 |
|
|
TEdit *Edit28;
|
110 |
|
|
TButton *Button4;
|
111 |
|
|
TListBox *ListBox2;
|
112 |
|
|
TLabel *Label30;
|
113 |
|
|
TButton *Button5;
|
114 |
|
|
TGroupBox *GroupBox6;
|
115 |
|
|
TRadioButton *RadioButton1;
|
116 |
|
|
TRadioButton *RadioButton2;
|
117 |
|
|
TRadioButton *RadioButton3;
|
118 |
|
|
TRadioButton *RadioButton4;
|
119 |
|
|
TButton *Button6;
|
120 |
|
|
TGroupBox *GroupBox7;
|
121 |
|
|
TStringGrid *StringGrid1;
|
122 |
|
|
TCheckBox *CheckBox1;
|
123 |
|
|
void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
|
124 |
|
|
void __fastcall Button1Click(TObject *Sender);
|
125 |
|
|
void __fastcall ListBox1Click(TObject *Sender);
|
126 |
|
|
void __fastcall Button3Click(TObject *Sender);
|
127 |
|
|
void __fastcall Button2Click(TObject *Sender);
|
128 |
|
|
void __fastcall FormCreate(TObject *Sender);
|
129 |
|
|
void __fastcall Button4Click(TObject *Sender);
|
130 |
|
|
void __fastcall Button5Click(TObject *Sender);
|
131 |
|
|
void __fastcall Button6Click(TObject *Sender);
|
132 |
|
|
void __fastcall CheckBox1Click(TObject *Sender);
|
133 |
|
|
void __fastcall RadioButton1Click(TObject *Sender);
|
134 |
|
|
void __fastcall RadioButton2Click(TObject *Sender);
|
135 |
|
|
void __fastcall RadioButton3Click(TObject *Sender);
|
136 |
|
|
void __fastcall RadioButton4Click(TObject *Sender);
|
137 |
|
|
private: // User declarations
|
138 |
|
|
MG_GESTIONNAIRE& gest;
|
139 |
|
|
BOITE_3D& boite;
|
140 |
|
|
TVisuWinform& visuform;
|
141 |
|
|
public: // User declarations
|
142 |
|
|
__fastcall Tverimesh(TComponent* Owner,MG_GESTIONNAIRE& gesttmp,BOITE_3D& b,TVisuWinform& form);
|
143 |
|
|
int tab2d[101];
|
144 |
|
|
int tab3d[101];
|
145 |
|
|
};
|
146 |
|
|
//---------------------------------------------------------------------------
|
147 |
|
|
extern PACKAGE Tverimesh *verimesh;
|
148 |
|
|
//---------------------------------------------------------------------------
|
149 |
|
|
#endif
|