![]() |
Projet d'Informatique 2012
Simulation générique de systèmes physiques simples : vers les machines de Rube Goldberg
|
00001 00005 #ifndef CHAMPFORCESGLOBAL_H 00006 #define CHAMPFORCESGLOBAL_H 00007 00008 #include "ChampForces.h" 00009 00010 00016 class ChampForcesGlobal : public ChampForces 00017 { 00018 public: 00019 00024 ChampForcesGlobal(Vecteur intensite = Constantes::g); 00025 00029 virtual ~ChampForcesGlobal(); 00030 00036 virtual std::string type() const; 00037 00042 virtual QFormLayout* proprietesLayout() const; 00043 00048 virtual void agit_sur(ObjetMobile& objet); 00049 00054 virtual void enregistrer(std::ofstream& out) const; 00055 00056 00057 protected: 00058 00063 virtual void affiche(std::ostream& out) const; 00064 00065 00066 }; 00067 00068 #endif // CHAMPFORCESGLOBAL_H