/* Mathematiques de l'informatique graphique */ /* Rotation 3D en coordonnees homogenes */ /* */ /* Auteur: Nicolas JANEY */ /* nicolas.janey@univ-fcomte.fr */ /* Mars 2019 */ #ifndef ____RT3D____ #define ____RT3D____ #include "TG3D.h" class Dir3D; class Rt3D : public TG3D { public : /* Constructeurs */ Rt3D(void); Rt3D(double alpha,double ax,double ay,double az); Rt3D(double alpha,Dir3D *d); Rt3D(Rt3D *rt); /* Destructeur */ ~Rt3D(void); /* Setter */ bool set(double m[4][4]); /* Test si une matrice 4x4 de double */ /* est representative d'une rotation */ static bool estRotation(double m[4][4]); private : /* Initialisation d'une rotation */ void initialisation(double alpha,Dir3D *d); }; #endif