1 #ifndef MON_CREATEZONE_H
2 #define MON_CREATEZONE_H
5 #include <SALOMEconfig.h>
6 #include <SalomeApp_Module.h>
8 #include CORBA_CLIENT_HEADER(SALOMEDS_Attributes)
9 #include CORBA_CLIENT_HEADER(HOMARD_Gen)
11 #include <CreateZone.h>
14 class MonCreateHypothesis;
15 class MonCreateZone : public QDialog, public Ui_CreateZone
20 MonCreateZone( MonCreateHypothesis* parent, bool modal,
21 HOMARD::HOMARD_Gen_var myHomardGen,
23 virtual ~MonCreateZone();
26 MonCreateZone( MonCreateHypothesis* parent,
27 HOMARD::HOMARD_Gen_var myHomardGen,
30 MonCreateHypothesis * _parent;
36 double _Xcentre, _Ycentre, _Zcentre, _Rayon ;
37 double _ZoneXcentre, _ZoneYcentre, _ZoneZcentre, _ZoneRayon;
38 double _Xmin, _Xmax, _Xincr, _Ymin, _Ymax, _Yincr, _Zmin, _Zmax, _Zincr, _DMax ;
39 double _ZoneXmin, _ZoneXmax, _ZoneYmin, _ZoneYmax, _ZoneZmin, _ZoneZmax;
44 HOMARD::HOMARD_Zone_var aZone ;
45 HOMARD::HOMARD_Gen_var _myHomardGen;
47 virtual void InitConnect();
48 virtual void InitValZone();
49 virtual void InitMinMax();
50 virtual void SetNewZoneName();
51 virtual bool CreateOrUpdateZone();
54 virtual void SetBox();
55 virtual void SetSphere();
56 virtual void PushOnOK();
57 virtual bool PushOnApply();
58 virtual void PushOnHelp();
62 #endif // MON_CREATEZONE_H