53 *
this = m.eval().cast<
float>();
67 template <
class OTHERMAT>
68 inline CMatrix & operator = (
const OTHERMAT& m)
70 CMatrixFloat::operator =(m);
75 template<
typename OtherDerived>
76 inline CMatrix & operator= (
const Eigen::MatrixBase <OtherDerived>& other) {
81 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 "CMatrixFloat".
CMatrix(size_t row, size_t col)
Constructor
CMatrix(const TPose2D &p)
Constructor from a TPose2D, which generates a 3x1 matrix .
CMatrix(const CMatrixTemplateNumeric< double > &m)
Copy constructor.
CMatrix(const CMatrixFloat &m)
Copy constructor.
CMatrix(const TPoint2D &p)
Constructor from a TPoint2D, which generates a 2x1 matrix
CMatrix(const TPoint3D &p)
Constructor from a TPoint3D, which generates a 3x1 matrix .
CMatrix(const Eigen::MatrixBase< OtherDerived > &other)
CMatrix(const TPose3D &p)
Constructor from a mrpt::poses::CPose6D, which generates a 6x1 matrix
A matrix of dynamic size.
The virtual base class which provides a unified interface for all persistent objects in MRPT.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
Lightweight 3D pose (three spatial coordinates, plus three angular coordinates).