22 #include "vnl/vnl_quaternion.h" 23 #include "vnl/vnl_vector_fixed.h" 49 template<
typename T >
87 void Set(
const VnlQuaternionType &);
106 void Set(T x, T y, T z, T w);
196 void Set(
const VectorType & axis, ValueType angle);
203 void Set(
const MatrixType & m);
210 void Set(
const VectorType & axis);
241 VectorType
Transform(
const VectorType & v)
const;
244 CovariantVectorType
Transform(
const CovariantVectorType & v)
const;
247 PointType
Transform(
const PointType & v)
const;
250 VnlVectorType
Transform(
const VnlVectorType & v)
const;
275 return Epsilon((ValueType *)ITK_NULLPTR);
292 template<
typename T >
297 os << v.
GetX() <<
", " << v.
GetY() <<
", ";
298 os << v.
GetZ() <<
", " << v.
GetW() <<
" ]";
302 template<
typename T >
307 #ifndef ITK_MANUAL_INSTANTIATION 308 #include "itkVersor.hxx" A templated class holding a M x N size Matrix.
MatrixType GetMatrix() const
vnl_quaternion< T > VnlQuaternionType
ValueType GetAngle() const
VectorType GetAxis() const
std::istream & operator>>(std::istream &is, Point< T, NPointDimension > &v)
VectorType Transform(const VectorType &v) const
static ValueType Epsilon(float *)
bool operator!=(const Self &vec) const
const Self & operator/=(const Self &v)
Vector< T, 3 > VectorType
std::ostream & operator<<(std::ostream &os, const Array< TValue > &arr)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
void Set(const VnlQuaternionType &)
void SetRotationAroundY(ValueType angle)
static ITK_CONSTEXPR double e
The base of the natural logarithm or Euler's number
vnl_quaternion< T > GetVnlQuaternion() const
A templated class holding a n-Dimensional vector.
static ValueType Epsilon()
CovariantVector< T, 3 > CovariantVectorType
const Self & operator*=(const Self &v)
Self operator/(const Self &vec) const
A templated class holding a unit quaternion.
VectorType GetRight() const
ValueType GetX(void) const
ValueType GetTensor() const
Self GetReciprocal() const
vnl_vector_fixed< T, 3 > VnlVectorType
ValueType GetZ(void) const
NumericTraits< ValueType >::RealType RealType
Matrix< T, 3, 3 > MatrixType
ValueType GetY(void) const
void SetRotationAroundZ(ValueType angle)
Self operator*(const Self &vec) const
const Self & operator=(const Self &v)
A templated class holding a geometric point in n-Dimensional space.
ValueType GetW(void) const
A templated class holding a n-Dimensional covariant vector.
ValueType GetScalar() const
bool operator==(const Self &vec) const
static ValueType Epsilon(double *)
void SetRotationAroundX(ValueType angle)
Self GetConjugate() const
Self Exponential(ValueType exponent) const