ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/geometrie/src/vct_volume.h
Revision: 169
Committed: Fri Feb 13 23:04:14 2009 UTC (16 years, 3 months ago) by francois
Content type: text/plain
Original Path: magic/lib/geometrie/geometrie/src/vct_volume.h
File size: 1740 byte(s)
Log Message:
Resolution de bug avec la version de gcc 4.3.2 --> mise la norme de c++

File Contents

# User Rev Content
1 souaissa 150 //---------------------------------------------------------------------------
2    
3     #ifndef vct_volumeH
4     #define vct_volumeH
5     //---------------------------------------------------------------------------
6    
7 francois 169 #include <vector>
8 souaissa 150
9    
10     #include "ot_doubleprecision.h"
11     #include "vct_element_topologique.h"
12     #include "ot_tenseur.h"
13     #include "vct.h"
14    
15     #ifdef WINDOWS_VERSION
16     #ifdef BUILT_DLL_GEOMETRIE
17     #define DLLPORTGEOMETRIE __declspec(dllexport)
18     #else
19     #define DLLPORTGEOMETRIE __declspec(dllimport)
20     #endif
21     #else
22     #define DLLPORTGEOMETRIE
23     #endif
24    
25    
26    
27     class DLLPORTGEOMETRIE VCT_VOLUME:public VCT_ELEMENT_TOPOLOGIQUE
28     {
29     public:
30    
31     VCT_VOLUME (class MG_VOLUME* volume);
32     VCT_VOLUME (VCT_VOLUME& mdd);
33     virtual ~VCT_VOLUME();
34    
35     virtual OT_TENSEUR get_matrice_transformation(int param);
36     virtual std::vector<OT_VECTEUR_4DD> &get_vecteurs(void) ;
37     virtual OT_TENSEUR calcule_tenseur_metrique() ;
38     virtual OT_VECTEUR_4DD calcule_barycentre(OT_TENSEUR& T);
39     virtual OT_TENSEUR calcule_covariance(OT_TENSEUR& T);
40     virtual void calcule_axes_dinertie(OT_TENSEUR& T,OT_VECTEUR_4DD& D,OT_TENSEUR& V);
41     virtual OT_TENSEUR calcule_tenseur_inertie_au_barycentre(OT_TENSEUR& T);
42     virtual OT_TENSEUR calcule_tenseur_inertie_au_pt(OT_TENSEUR& T,OT_VECTEUR_4DD& xyz);
43     virtual OT_TENSEUR calcule_tenseur_inertie_base_locale(OT_TENSEUR& T);
44     virtual OT_TENSEUR calcule_tenseur_inertie_base_entite(OT_TENSEUR& T,VCT& vct_f) ;
45     virtual void enregistrer(std::ostream& o);
46     virtual int get_nb_points();
47     virtual std::vector<OT_VECTEUR_4DD> &get_points_controle(void);
48     virtual OT_VECTEUR_4DD get_nouveau_pt(OT_TENSEUR& T,OT_VECTEUR_4DD& v);
49     protected:
50     OT_TENSEUR T1;
51     OT_TENSEUR T2;
52     };
53    
54    
55     #endif
56 francois 169