Public Types | Public Member Functions | Static Public Member Functions | List of all members
Eigen::FclMatrix< T, Cols, _Options > Class Template Reference

Vector3 class wrapper. The core data is in the template parameter class. More...

#include <hpp/fcl/eigen/vec_3fx.h>

Inheritance diagram for Eigen::FclMatrix< T, Cols, _Options >:
[legend]
Collaboration diagram for Eigen::FclMatrix< T, Cols, _Options >:
[legend]

Public Types

typedef Matrix< T, 3, Cols, _Options > Base
 
typedef T U
 
typedef T meta_type
 

Public Member Functions

 FclMatrix (void)
 
template<typename OtherDerived >
 FclMatrix (const MatrixBase< OtherDerived > &other)
 
template<typename OtherDerived >
FclMatrixoperator= (const MatrixBase< OtherDerived > &other)
 
 FclMatrix (T x, T y, T z)
 create Vector (x, y, z) More...
 
 FclMatrix (T xx, T xy, T xz, T yx, T yy, T yz, T zx, T zy, T zz)
 
template<typename Vector >
 FclMatrix (const ::fcl::FclType< Vector > &r0, const ::fcl::FclType< Vector > &r1, const ::fcl::FclType< Vector > &r2)
 
 FclMatrix (T x)
 create vector (x, x, x) More...
 
EIGEN_STRONG_INLINE const FclOp< const CwiseUnaryOp< internal::scalar_add_op< Scalar >, const Base > > operator- (const Scalar &scalar) const
 create vector using the internal data type More...
 
const UnaryReturnType< Base >::Opposite operator- () const
 
FclMatrixnormalize ()
 
FclMatrixnormalize (bool *signal)
 
FclMatrixabs ()
 
length () const
 
sqrLength () const
 
void setValue (T x, T y, T z)
 
void setValue (T xx, T xy, T xz, T yx, T yy, T yz, T zx, T zy, T zz)
 
void setValue (T x)
 
bool equal (const FclMatrix &other, T epsilon=std::numeric_limits< T >::epsilon() *100) const
 
FclMatrixnegate ()
 
bool operator== (const FclMatrix &other) const
 
bool operator!= (const FclMatrix &other) const
 
FclMatrixubound (const FclMatrix &u)
 
FclMatrixlbound (const FclMatrix &l)
 
bool isZero () const
 
FclMatrixtranspose ()
 
FclMatrixinverse ()
 
template<typename OtherDerived >
EIGEN_STRONG_INLINE const FclProduct< const Base, const OtherDerived >::TransposeTimesType transposeTimes (const MatrixBase< OtherDerived > &other) const
 
template<typename OtherDerived >
EIGEN_STRONG_INLINE const FclProduct< const Base, const OtherDerived >::TimesTransposeType timesTranspose (const MatrixBase< OtherDerived > &other) const
 
template<typename OtherDerived >
EIGEN_STRONG_INLINE const FclProduct< const Base, const OtherDerived >::TensorTransformType tensorTransform (const MatrixBase< OtherDerived > &other) const
 
void setEulerZYX (Scalar eulerX, Scalar eulerY, Scalar eulerZ)
 Set the matrix from euler angles YPR around ZYX axes. More...
 
void setEulerYPR (Scalar yaw, Scalar pitch, Scalar roll)
 Set the matrix from euler angles using YPR around YXZ respectively. More...
 
- Public Member Functions inherited from fcl::FclType< FclMatrix< T, Cols, _Options > >
FclMatrix< T, Cols, _Options > & fcl ()
 
const FclMatrix< T, Cols, _Options > & fcl () const
 

Static Public Member Functions

static const FclMatrixgetIdentity ()
 

Detailed Description

template<typename T, int Cols, int _Options = internal::traits<Matrix <T, 3, Cols> >::Options>
class Eigen::FclMatrix< T, Cols, _Options >

Vector3 class wrapper. The core data is in the template parameter class.

Member Typedef Documentation

◆ Base

template<typename T, int Cols, int _Options = internal::traits<Matrix <T, 3, Cols> >::Options>
typedef Matrix<T, 3, Cols, _Options> Eigen::FclMatrix< T, Cols, _Options >::Base

◆ meta_type

template<typename T, int Cols, int _Options = internal::traits<Matrix <T, 3, Cols> >::Options>
typedef T Eigen::FclMatrix< T, Cols, _Options >::meta_type

◆ U

template<typename T, int Cols, int _Options = internal::traits<Matrix <T, 3, Cols> >::Options>
typedef T Eigen::FclMatrix< T, Cols, _Options >::U

Constructor & Destructor Documentation

◆ FclMatrix() [1/6]

template<typename T, int Cols, int _Options = internal::traits<Matrix <T, 3, Cols> >::Options>
Eigen::FclMatrix< T, Cols, _Options >::FclMatrix ( void  )
inline

◆ FclMatrix() [2/6]

template<typename T, int Cols, int _Options = internal::traits<Matrix <T, 3, Cols> >::Options>
template<typename OtherDerived >
Eigen::FclMatrix< T, Cols, _Options >::FclMatrix ( const MatrixBase< OtherDerived > &  other)
inline

◆ FclMatrix() [3/6]

template<typename T, int Cols, int _Options = internal::traits<Matrix <T, 3, Cols> >::Options>
Eigen::FclMatrix< T, Cols, _Options >::FclMatrix ( x,
y,
z 
)
inline

create Vector (x, y, z)

◆ FclMatrix() [4/6]

template<typename T, int Cols, int _Options = internal::traits<Matrix <T, 3, Cols> >::Options>
Eigen::FclMatrix< T, Cols, _Options >::FclMatrix ( xx,
xy,
xz,
yx,
yy,
yz,
zx,
zy,
zz 
)
inline

References setValue().

◆ FclMatrix() [5/6]

template<typename T, int Cols, int _Options = internal::traits<Matrix <T, 3, Cols> >::Options>
template<typename Vector >
Eigen::FclMatrix< T, Cols, _Options >::FclMatrix ( const ::fcl::FclType< Vector > &  r0,
const ::fcl::FclType< Vector > &  r1,
const ::fcl::FclType< Vector > &  r2 
)
inline

◆ FclMatrix() [6/6]

template<typename T, int Cols, int _Options = internal::traits<Matrix <T, 3, Cols> >::Options>
Eigen::FclMatrix< T, Cols, _Options >::FclMatrix ( x)
inline

Member Function Documentation

◆ abs()

template<typename T, int Cols, int _Options = internal::traits<Matrix <T, 3, Cols> >::Options>
FclMatrix& Eigen::FclMatrix< T, Cols, _Options >::abs ( )
inline

◆ equal()

template<typename T, int Cols, int _Options = internal::traits<Matrix <T, 3, Cols> >::Options>
bool Eigen::FclMatrix< T, Cols, _Options >::equal ( const FclMatrix< T, Cols, _Options > &  other,
epsilon = std::numeric_limits<T>::epsilon() * 100 
) const
inline

◆ getIdentity()

template<typename T, int Cols, int _Options = internal::traits<Matrix <T, 3, Cols> >::Options>
static const FclMatrix& Eigen::FclMatrix< T, Cols, _Options >::getIdentity ( )
inlinestatic

◆ inverse()

template<typename T, int Cols, int _Options = internal::traits<Matrix <T, 3, Cols> >::Options>
FclMatrix& Eigen::FclMatrix< T, Cols, _Options >::inverse ( )
inline

References fcl::inverse(), and operator=().

Referenced by fcl::inverse().

◆ isZero()

template<typename T, int Cols, int _Options = internal::traits<Matrix <T, 3, Cols> >::Options>
bool Eigen::FclMatrix< T, Cols, _Options >::isZero ( ) const
inline

◆ lbound()

template<typename T, int Cols, int _Options = internal::traits<Matrix <T, 3, Cols> >::Options>
FclMatrix& Eigen::FclMatrix< T, Cols, _Options >::lbound ( const FclMatrix< T, Cols, _Options > &  l)
inline

◆ length()

template<typename T, int Cols, int _Options = internal::traits<Matrix <T, 3, Cols> >::Options>
T Eigen::FclMatrix< T, Cols, _Options >::length ( ) const
inline

◆ negate()

template<typename T, int Cols, int _Options = internal::traits<Matrix <T, 3, Cols> >::Options>
FclMatrix& Eigen::FclMatrix< T, Cols, _Options >::negate ( )
inline

◆ normalize() [1/2]

template<typename T, int Cols, int _Options = internal::traits<Matrix <T, 3, Cols> >::Options>
FclMatrix& Eigen::FclMatrix< T, Cols, _Options >::normalize ( )
inline

References operator/=().

◆ normalize() [2/2]

template<typename T, int Cols, int _Options = internal::traits<Matrix <T, 3, Cols> >::Options>
FclMatrix& Eigen::FclMatrix< T, Cols, _Options >::normalize ( bool *  signal)
inline

References operator/=().

◆ operator!=()

template<typename T, int Cols, int _Options = internal::traits<Matrix <T, 3, Cols> >::Options>
bool Eigen::FclMatrix< T, Cols, _Options >::operator!= ( const FclMatrix< T, Cols, _Options > &  other) const
inline

◆ operator-() [1/2]

template<typename T, int Cols, int _Options = internal::traits<Matrix <T, 3, Cols> >::Options>
EIGEN_STRONG_INLINE const FclOp<const CwiseUnaryOp<internal::scalar_add_op<Scalar>, const Base> > Eigen::FclMatrix< T, Cols, _Options >::operator- ( const Scalar &  scalar) const
inline

create vector using the internal data type

References FCL_EIGEN_MAKE_CWISE_UNARY_OP, and FCL_EIGEN_MAKE_EXPOSE_PARENT_ARRAY_SCALAR1.

◆ operator-() [2/2]

template<typename T, int Cols, int _Options = internal::traits<Matrix <T, 3, Cols> >::Options>
const UnaryReturnType<Base>::Opposite Eigen::FclMatrix< T, Cols, _Options >::operator- ( ) const
inline

References FCL_EIGEN_MAKE_CROSS.

◆ operator=()

template<typename T, int Cols, int _Options = internal::traits<Matrix <T, 3, Cols> >::Options>
template<typename OtherDerived >
FclMatrix& Eigen::FclMatrix< T, Cols, _Options >::operator= ( const MatrixBase< OtherDerived > &  other)
inline

References operator=().

◆ operator==()

template<typename T, int Cols, int _Options = internal::traits<Matrix <T, 3, Cols> >::Options>
bool Eigen::FclMatrix< T, Cols, _Options >::operator== ( const FclMatrix< T, Cols, _Options > &  other) const
inline

References fcl::details::equal().

◆ setEulerYPR()

template<typename T, int Cols, int _Options = internal::traits<Matrix <T, 3, Cols> >::Options>
void Eigen::FclMatrix< T, Cols, _Options >::setEulerYPR ( Scalar  yaw,
Scalar  pitch,
Scalar  roll 
)
inline

Set the matrix from euler angles using YPR around YXZ respectively.

Parameters
yawYaw about Y axis
pitchPitch about X axis
rollRoll about Z axis

◆ setEulerZYX()

template<typename T, int Cols, int _Options = internal::traits<Matrix <T, 3, Cols> >::Options>
void Eigen::FclMatrix< T, Cols, _Options >::setEulerZYX ( Scalar  eulerX,
Scalar  eulerY,
Scalar  eulerZ 
)
inline

Set the matrix from euler angles YPR around ZYX axes.

Parameters
eulerXRoll about X axis
eulerYPitch around Y axis
eulerZYaw aboud Z axis

These angles are used to produce a rotation matrix. The euler angles are applied in ZYX order. I.e a vector is first rotated about X then Y and then Z

References setValue().

◆ setValue() [1/3]

template<typename T, int Cols, int _Options = internal::traits<Matrix <T, 3, Cols> >::Options>
void Eigen::FclMatrix< T, Cols, _Options >::setValue ( x,
y,
z 
)
inline

◆ setValue() [2/3]

template<typename T, int Cols, int _Options = internal::traits<Matrix <T, 3, Cols> >::Options>
void Eigen::FclMatrix< T, Cols, _Options >::setValue ( xx,
xy,
xz,
yx,
yy,
yz,
zx,
zy,
zz 
)
inline

◆ setValue() [3/3]

template<typename T, int Cols, int _Options = internal::traits<Matrix <T, 3, Cols> >::Options>
void Eigen::FclMatrix< T, Cols, _Options >::setValue ( x)
inline

◆ sqrLength()

template<typename T, int Cols, int _Options = internal::traits<Matrix <T, 3, Cols> >::Options>
T Eigen::FclMatrix< T, Cols, _Options >::sqrLength ( ) const
inline

◆ tensorTransform()

template<typename T, int Cols, int _Options = internal::traits<Matrix <T, 3, Cols> >::Options>
template<typename OtherDerived >
EIGEN_STRONG_INLINE const FclProduct<const Base,const OtherDerived>::TensorTransformType Eigen::FclMatrix< T, Cols, _Options >::tensorTransform ( const MatrixBase< OtherDerived > &  other) const
inline

◆ timesTranspose()

template<typename T, int Cols, int _Options = internal::traits<Matrix <T, 3, Cols> >::Options>
template<typename OtherDerived >
EIGEN_STRONG_INLINE const FclProduct<const Base,const OtherDerived>::TimesTransposeType Eigen::FclMatrix< T, Cols, _Options >::timesTranspose ( const MatrixBase< OtherDerived > &  other) const
inline

◆ transpose()

template<typename T, int Cols, int _Options = internal::traits<Matrix <T, 3, Cols> >::Options>
FclMatrix& Eigen::FclMatrix< T, Cols, _Options >::transpose ( )
inline

◆ transposeTimes()

template<typename T, int Cols, int _Options = internal::traits<Matrix <T, 3, Cols> >::Options>
template<typename OtherDerived >
EIGEN_STRONG_INLINE const FclProduct<const Base,const OtherDerived>::TransposeTimesType Eigen::FclMatrix< T, Cols, _Options >::transposeTimes ( const MatrixBase< OtherDerived > &  other) const
inline

◆ ubound()

template<typename T, int Cols, int _Options = internal::traits<Matrix <T, 3, Cols> >::Options>
FclMatrix& Eigen::FclMatrix< T, Cols, _Options >::ubound ( const FclMatrix< T, Cols, _Options > &  u)
inline