Basic Image AlgorithmS Library  2.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
EuclideanTransf3D.hh
1 #ifndef __EuclideanTransf3D_hh__
2 #define __EuclideanTransf3D_hh__
3 
4 #include "Base/Math/Matrix4x4.hh"
5 #include "Base/Math/Vector3.hh"
6 #include "Base/Geometry/RMatrixBase.hh"
7 
8 namespace BIAS {
9 
10  /** @class EuclideanTransf3D
11  @ingroup g_geometry
12  @brief Euclidean transformation for 3D points
13  @author woelk 08/2004 */
14  class BIASGeometryBase_EXPORT EuclideanTransf3D : public Matrix4x4<double>
15  {
16  public:
18 
20  { Set(m); }
21 
23 
24  void Set(const Matrix4x4<double>& m);
25 
26  void Set(const RMatrixBase& R, const Vector3<double>& t);
27 
28  void SetXYZ(const Vector3<double>& EulerAng, const Vector3<double>& t);
29 
30  void GetR(RMatrixBase& R) const;
31 
32  void GetT(Vector3<double>& T) const;
33 
34  void GetAnglesXYZ(Vector3<double>& angles) const;
35 
36  void Dump(std::ostream& os = std::cout) const;
37 
38  protected:
39 
40 
41  }; // class
42 
43 } // namespace
44 
45 
46 
47 #endif // __EuclideanTransf3D_hh__
EuclideanTransf3D(const Matrix4x4< double > &m)
Implements a 3D rotation matrix.
Definition: RMatrixBase.hh:44
is a &#39;fixed size&#39; quadratic matrix of dim.
Definition: Matrix4x4.hh:54
Euclidean transformation for 3D points.