49 *
this = m.eval().cast<
double>();
53 template<
typename OtherDerived>
54 inline CMatrixD & operator= (
const Eigen::MatrixBase <OtherDerived>& other) {
59 template<
typename OtherDerived>
#define DEFINE_MRPT_OBJECT_POST_CUSTOM_BASE_LINKAGE2(class_name, base_name, class_name_LINKAGE_)
This declaration must be inserted in all CObject classes definition, after the class declaration.
#define DEFINE_MRPT_OBJECT_PRE_CUSTOM_BASE_LINKAGE2(class_name, base_name, class_name_LINKAGE_)
This declaration must be inserted in all CObject classes definition, before the class declaration.
#define DEFINE_SERIALIZABLE_CUSTOM_LINKAGE(class_name, _VOID_LINKAGE_, _STATIC_LINKAGE_, _VIRTUAL_LINKAGE_)
Like DEFINE_SERIALIZABLE, but for template classes that need the DLL imp/exp keyword in Windows.
#define BASE_IMPEXP_TEMPL
This class is a "CSerializable" wrapper for "CMatrixTemplateNumeric<double>".
CMatrixD(const TPoint3D &p)
Constructor from a TPoint3D, which generates a 3x1 matrix .
CMatrixD(const Eigen::MatrixBase< OtherDerived > &other)
CMatrixD(const CMatrixFloat &m)
Copy constructor
CMatrixD(const TPoint2D &p)
Constructor from a TPoint2D, which generates a 2x1 matrix .
CMatrixD(size_t row, size_t col)
Constructor.
CMatrixD(const TPose2D &p)
Constructor from a TPose2D, which generates a 3x1 matrix
CMatrixD(const TPose3D &p)
Constructor from a TPose3D, which generates a 6x1 matrix
CMatrixD(const CMatrixTemplateNumeric< double > &m)
Copy constructor.
A matrix of dynamic size.
CMatrixTemplateNumeric< T > & operator=(const CMatrixTemplate< R > &m)
Assignment operator of other types.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
Lightweight 3D pose (three spatial coordinates, plus three angular coordinates).