ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/geometrie/src/vct.h
Revision: 150
Committed: Tue Sep 9 18:41:41 2008 UTC (16 years, 8 months ago) by souaissa
Content type: text/plain
Original Path: magic/lib/geometrie/geometrie/src/vct.h
File size: 1623 byte(s)
Log Message:
mise a jour des classes vct

File Contents

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