• Home
  • Raw
  • Download

Lines Matching full:translation

17   * \class Translation
19 * \brief Represents a translation transformation
24 * \note This class is not aimed to be used to store a translation transformation,
30 class Translation
54 EIGEN_DEVICE_FUNC Translation() {} in Translation() function
56 EIGEN_DEVICE_FUNC inline Translation(const Scalar& sx, const Scalar& sy) in Translation() function
63 EIGEN_DEVICE_FUNC inline Translation(const Scalar& sx, const Scalar& sy, const Scalar& sz) in Translation() function
70 …/** Constructs and initialize the translation transformation from a vector of translation coeffici…
71 EIGEN_DEVICE_FUNC explicit inline Translation(const VectorType& vector) : m_coeffs(vector) {} in Translation() function
73 /** \brief Returns the x-translation by value. **/
75 /** \brief Returns the y-translation by value. **/
77 /** \brief Returns the z-translation by value. **/
80 /** \brief Returns the x-translation as a reference. **/
82 /** \brief Returns the y-translation as a reference. **/
84 /** \brief Returns the z-translation as a reference. **/
90 EIGEN_DEVICE_FUNC const VectorType& translation() const { return m_coeffs; } in translation() function
91 EIGEN_DEVICE_FUNC VectorType& translation() { return m_coeffs; } in translation() function
93 /** Concatenates two translation */
94 EIGEN_DEVICE_FUNC inline Translation operator* (const Translation& other) const
95 { return Translation(m_coeffs + other.m_coeffs); }
97 /** Concatenates a translation and a uniform scaling */
100 /** Concatenates a translation and a linear transformation */
104 /** Concatenates a translation and a rotation */
109 /** \returns the concatenation of a linear transformation \a l with the translation \a t */
112 …C inline AffineTransformType operator*(const EigenBase<OtherDerived>& linear, const Translation& t)
117 res.translation() = linear.derived() * t.m_coeffs;
123 /** Concatenates a translation and a transformation */
132 /** Applies translation to vector */
138 /** \returns the inverse translation (opposite) */
139 Translation inverse() const { return Translation(-m_coeffs); } in inverse()
141 static const Translation Identity() { return Translation(VectorType::Zero()); } in Identity()
149 …EIGEN_DEVICE_FUNC inline typename internal::cast_return_type<Translation,Translation<NewScalarType… in cast()
150 …{ return typename internal::cast_return_type<Translation,Translation<NewScalarType,Dim> >::type(*t… in cast()
154 EIGEN_DEVICE_FUNC inline explicit Translation(const Translation<OtherScalarType,Dim>& other) in Translation() function
161 …EIGEN_DEVICE_FUNC bool isApprox(const Translation& other, const typename NumTraits<Scalar>::Real& …
168 typedef Translation<float, 2> Translation2f;
169 typedef Translation<double,2> Translation2d;
170 typedef Translation<float, 3> Translation3f;
171 typedef Translation<double,3> Translation3d;
175 EIGEN_DEVICE_FUNC inline typename Translation<Scalar,Dim>::AffineTransformType
176 Translation<Scalar,Dim>::operator* (const UniformScaling<Scalar>& other) const
181 res.translation() = m_coeffs;
188 EIGEN_DEVICE_FUNC inline typename Translation<Scalar,Dim>::AffineTransformType
189 Translation<Scalar,Dim>::operator* (const EigenBase<OtherDerived>& linear) const
194 res.translation() = m_coeffs;