All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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>
class Eigen::FclMatrix< T, Cols, Options >

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

Member Typedef Documentation

template<typename T, int Cols, int Options>
typedef Matrix<T, 3, Cols, _Options> Eigen::FclMatrix< T, Cols, Options >::Base
template<typename T, int Cols, int Options>
typedef T Eigen::FclMatrix< T, Cols, Options >::meta_type
template<typename T, int Cols, int Options>
typedef T Eigen::FclMatrix< T, Cols, Options >::U

Constructor & Destructor Documentation

template<typename T, int Cols, int Options>
Eigen::FclMatrix< T, Cols, Options >::FclMatrix ( void  )
inline
template<typename T, int Cols, int Options>
template<typename OtherDerived >
Eigen::FclMatrix< T, Cols, Options >::FclMatrix ( const MatrixBase< OtherDerived > &  other)
inline
template<typename T, int Cols, int Options>
Eigen::FclMatrix< T, Cols, Options >::FclMatrix ( x,
y,
z 
)
inline

create Vector (x, y, z)

template<typename T, int Cols, int Options>
Eigen::FclMatrix< T, Cols, Options >::FclMatrix ( xx,
xy,
xz,
yx,
yy,
yz,
zx,
zy,
zz 
)
inline
template<typename T, int Cols, int 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
template<typename T, int Cols, int Options>
Eigen::FclMatrix< T, Cols, Options >::FclMatrix ( x)
inline

create vector (x, x, x)

Member Function Documentation

template<typename T, int Cols, int Options>
FclMatrix& Eigen::FclMatrix< T, Cols, Options >::abs ( )
inline
template<typename T, int Cols, int Options>
bool Eigen::FclMatrix< T, Cols, Options >::equal ( const FclMatrix< T, Cols, Options > &  other,
epsilon = std::numeric_limits<T>::epsilon() * 100 
) const
inline
template<typename T, int Cols, int Options>
static const FclMatrix& Eigen::FclMatrix< T, Cols, Options >::getIdentity ( )
inlinestatic
template<typename T, int Cols, int Options>
FclMatrix& Eigen::FclMatrix< T, Cols, Options >::inverse ( )
inline

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

Referenced by fcl::inverse().

template<typename T, int Cols, int Options>
bool Eigen::FclMatrix< T, Cols, Options >::isZero ( ) const
inline
template<typename T, int Cols, int Options>
FclMatrix& Eigen::FclMatrix< T, Cols, Options >::lbound ( const FclMatrix< T, Cols, Options > &  l)
inline
template<typename T, int Cols, int Options>
T Eigen::FclMatrix< T, Cols, Options >::length ( ) const
inline
template<typename T, int Cols, int Options>
FclMatrix& Eigen::FclMatrix< T, Cols, Options >::negate ( )
inline
template<typename T, int Cols, int Options>
FclMatrix& Eigen::FclMatrix< T, Cols, Options >::normalize ( )
inline

References operator/=().

template<typename T, int Cols, int Options>
FclMatrix& Eigen::FclMatrix< T, Cols, Options >::normalize ( bool *  signal)
inline

References operator/=().

template<typename T, int Cols, int Options>
bool Eigen::FclMatrix< T, Cols, Options >::operator!= ( const FclMatrix< T, Cols, Options > &  other) const
inline
template<typename T, int Cols, int 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

template<typename T, int Cols, int Options>
const UnaryReturnType<Base>::Opposite Eigen::FclMatrix< T, Cols, Options >::operator- ( ) const
inline
template<typename T, int Cols, int Options>
template<typename OtherDerived >
FclMatrix& Eigen::FclMatrix< T, Cols, Options >::operator= ( const MatrixBase< OtherDerived > &  other)
inline

References operator=().

template<typename T, int Cols, int Options>
bool Eigen::FclMatrix< T, Cols, Options >::operator== ( const FclMatrix< T, Cols, Options > &  other) const
inline
template<typename T, int Cols, int 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

References Eigen::FclMatrix< T, Cols, Options >::setEulerZYX().

template<typename T, int Cols, int 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 Eigen::FclMatrix< T, Cols, Options >::setValue().

Referenced by Eigen::FclMatrix< T, Cols, Options >::setEulerYPR().

template<typename T, int Cols, int Options>
void Eigen::FclMatrix< T, Cols, Options >::setValue ( x,
y,
z 
)
inline
template<typename T, int Cols, int Options>
void Eigen::FclMatrix< T, Cols, Options >::setValue ( xx,
xy,
xz,
yx,
yy,
yz,
zx,
zy,
zz 
)
inline
template<typename T, int Cols, int Options>
void Eigen::FclMatrix< T, Cols, Options >::setValue ( x)
inline
template<typename T, int Cols, int Options>
T Eigen::FclMatrix< T, Cols, Options >::sqrLength ( ) const
inline
template<typename T, int Cols, int 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
template<typename T, int Cols, int 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
template<typename T, int Cols, int Options>
FclMatrix& Eigen::FclMatrix< T, Cols, Options >::transpose ( )
inline
template<typename T, int Cols, int 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
template<typename T, int Cols, int Options>
FclMatrix& Eigen::FclMatrix< T, Cols, Options >::ubound ( const FclMatrix< T, Cols, Options > &  u)
inline