MAGiC  V5.0
Mailleurs Automatiques de Géometries intégrés à la Cao
mg_cg_op_transf_translation.h
Aller à la documentation de ce fichier.
1 //####//------------------------------------------------------------
2 //####//------------------------------------------------------------
3 //####// MAGiC
4 //####// Jean Christophe Cuilliere et Vincent FRANCOIS
5 //####// Departement de Genie Mecanique - UQTR
6 //####//------------------------------------------------------------
7 //####// MAGIC est un projet de recherche de l equipe ERICCA
8 //####// du departement de genie mecanique de l Universite du Quebec a Trois Rivieres
9 //####// http://www.uqtr.ca/ericca
10 //####// http://www.uqtr.ca/
11 //####//------------------------------------------------------------
12 //####//------------------------------------------------------------
13 //####//
14 //####// mg_cg_op_transf_translation.h
15 //####//
16 //####//------------------------------------------------------------
17 //####//------------------------------------------------------------
18 //####// COPYRIGHT 2000-2024
19 //####// jeu 13 jun 2024 11:58:55 EDT
20 //####//------------------------------------------------------------
21 //####//------------------------------------------------------------
22 #ifndef _MG_CG_OP_TRANSF_TRANSLATION_
23 #define _MG_CG_OP_TRANSF_TRANSLATION_
24 
25 
26 
28 
29 class MG_CG_MODELE;
30 class MG_CG_FORME;
31 class MG_CG_OPERATEUR;
32 
34 {
35 public:
36  MG_CG_OP_TRANSF_TRANSLATION(MG_CG_MODELE* mgcg_modele,int semantique,MG_CG_FORME* mgcg_forme_entree);
37  MG_CG_OP_TRANSF_TRANSLATION(MG_CG_MODELE* mgcg_modele,int semantique,int etat,unsigned long num,MG_CG_FORME* mgcg_forme_entree,long id_mgcg_forme_sortie);
40 
41  virtual int get_type_operateur_transformation(void);
42 
43  virtual void change_translation(double x,double y,double z);
44  virtual double get_translation_x(void);
45  virtual double get_translation_y(void);
46  virtual double get_translation_z(void);
47  virtual int construire(void)=0;
48  virtual int construire(bool fusionner_entite_similaire,
49  double precision,
50  bool importer_triangulation,
51  double epsilon_triangulation)=0;
52  virtual void enregistrer(std::ostream& o,double version);
53 
54 protected:
56 };
57 
58 
59 #endif
MG_CG_OP_TRANSF_TRANSLATION::enregistrer
virtual void enregistrer(std::ostream &o, double version)
Definition: mg_cg_op_transf_translation.cpp:79
MG_CG_OP_TRANSF_TRANSLATION::MG_CG_OP_TRANSF_TRANSLATION
MG_CG_OP_TRANSF_TRANSLATION(MG_CG_MODELE *mgcg_modele, int semantique, MG_CG_FORME *mgcg_forme_entree)
Definition: mg_cg_op_transf_translation.cpp:24
MG_CG_OP_TRANSF_TRANSLATION::get_translation_x
virtual double get_translation_x(void)
Definition: mg_cg_op_transf_translation.cpp:64
MG_CG_OP_TRANSF_TRANSLATION::get_translation_z
virtual double get_translation_z(void)
Definition: mg_cg_op_transf_translation.cpp:74
MG_CG_OP_TRANSF_TRANSLATION::get_translation_y
virtual double get_translation_y(void)
Definition: mg_cg_op_transf_translation.cpp:69
MG_CG_OP_TRANSF_TRANSLATION::get_type_operateur_transformation
virtual int get_type_operateur_transformation(void)
Definition: mg_cg_op_transf_translation.cpp:52
MG_CG_OP_TRANSF_TRANSLATION::construire
virtual int construire(void)=0
mg_cg_op_transformation.h
MG_CG_OP_TRANSF_TRANSLATION::change_translation
virtual void change_translation(double x, double y, double z)
Definition: mg_cg_op_transf_translation.cpp:57
MG_CG_FORME
Definition: mg_cg_forme.h:41
MG_CG_OPERATEUR
Definition: mg_cg_operateur.h:34
MG_CG_OP_TRANSF_TRANSLATION::~MG_CG_OP_TRANSF_TRANSLATION
virtual ~MG_CG_OP_TRANSF_TRANSLATION()
Definition: mg_cg_op_transf_translation.cpp:47
MG_CG_MODELE
Definition: mg_cg_modele.h:41
MG_CG_OP_TRANSF_TRANSLATION::m_vecteur_translation
double m_vecteur_translation[3]
Definition: mg_cg_op_transf_translation.h:55
MG_CG_OP_TRANSF_TRANSLATION
Definition: mg_cg_op_transf_translation.h:33
MG_CG_OP_TRANSFORMATION
Definition: mg_cg_op_transformation.h:35