This class is a "CSerializable" wrapper for "CMatrixTemplateNumeric<double>".
Definition at line 50 of file CMatrixD.h.
#include <mrpt/math/CMatrixD.h>
Public Types | |
typedef CMatrixDPtr | SmartPtr |
Public Member Functions | |
virtual BASE_IMPEXP const mrpt::utils::TRuntimeClassId * | GetRuntimeClass () const |
Returns information about the class of an object in runtime. | |
virtual BASE_IMPEXP mrpt::utils::CObject * | duplicate () const |
Returns a copy of the object, indepently of its class. | |
CMatrixD () | |
Constructor. | |
CMatrixD (size_t row, size_t col) | |
Constructor. | |
CMatrixD (const CMatrixTemplateNumeric< double > &m) | |
Copy constructor. | |
CMatrixD (const CMatrixFloat &m) | |
Copy constructor. | |
template<typename OtherDerived > | |
CMatrixD & | operator= (const Eigen::MatrixBase< OtherDerived > &other) |
template<typename OtherDerived > | |
CMatrixD (const Eigen::MatrixBase< OtherDerived > &other) | |
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 TPoint2D &p) | |
Constructor from a TPoint2D, which generates a 2x1 matrix ![]() | |
CMatrixD (const TPoint3D &p) | |
Constructor from a mrpt::poses::CPoint3D, which generates a 3x1 matrix ![]() | |
template<class OTHERMAT > | |
CMatrixD & | operator= (const OTHERMAT &m) |
Assignment operator for float matrixes. | |
Static Public Member Functions | |
static BASE_IMPEXP mrpt::utils::CObject * | CreateObject () |
static BASE_IMPEXP CMatrixDPtr | Create () |
Static Public Attributes | |
static BASE_IMPEXP mrpt::utils::TRuntimeClassId | classCMatrixD |
static BASE_IMPEXP const mrpt::utils::TRuntimeClassId * | classinfo |
Protected Member Functions | |
CSerializable virtual methods | |
BASE_IMPEXP void | writeToStream (mrpt::utils::CStream &out, int *getVersion) const |
BASE_IMPEXP void | readFromStream (mrpt::utils::CStream &in, int version) |
Introduces a pure virtual method responsible for loading from a CStream This can not be used directly be users, instead use "stream >> object;" for reading it from a stream or "stream >> object_ptr;" if the class is unknown apriori. | |
Static Protected Member Functions | |
static const mrpt::utils::TRuntimeClassId * | _GetBaseClass () |
Static Protected Attributes | |
static mrpt::utils::CLASSINIT | _init_CMatrixD |
A typedef for the associated smart pointer
Definition at line 60 of file CMatrixD.h.
mrpt::math::CMatrixD::CMatrixD | ( | ) | [inline] |
Constructor.
Definition at line 76 of file CMatrixD.h.
mrpt::math::CMatrixD::CMatrixD | ( | size_t | row, |
size_t | col | ||
) | [inline] |
Constructor.
Definition at line 80 of file CMatrixD.h.
mrpt::math::CMatrixD::CMatrixD | ( | const CMatrixTemplateNumeric< double > & | m | ) | [inline] |
Copy constructor.
Definition at line 84 of file CMatrixD.h.
mrpt::math::CMatrixD::CMatrixD | ( | const CMatrixFloat & | m | ) | [inline] |
Copy constructor.
Definition at line 89 of file CMatrixD.h.
mrpt::math::CMatrixD::CMatrixD | ( | const Eigen::MatrixBase< OtherDerived > & | other | ) | [inline] |
Constructor from any other Eigen class
Definition at line 102 of file CMatrixD.h.
mrpt::math::CMatrixD::CMatrixD | ( | const TPose2D & | p | ) | [inline, explicit] |
Constructor from a TPose2D, which generates a 3x1 matrix .
Definition at line 106 of file CMatrixD.h.
mrpt::math::CMatrixD::CMatrixD | ( | const TPose3D & | p | ) | [inline, explicit] |
Constructor from a TPose3D, which generates a 6x1 matrix .
Definition at line 110 of file CMatrixD.h.
mrpt::math::CMatrixD::CMatrixD | ( | const TPoint2D & | p | ) | [inline, explicit] |
Constructor from a TPoint2D, which generates a 2x1 matrix .
Definition at line 114 of file CMatrixD.h.
mrpt::math::CMatrixD::CMatrixD | ( | const TPoint3D & | p | ) | [inline, explicit] |
Constructor from a mrpt::poses::CPoint3D, which generates a 3x1 matrix .
Definition at line 118 of file CMatrixD.h.
static const mrpt::utils::TRuntimeClassId* mrpt::math::CMatrixD::_GetBaseClass | ( | ) | [static, protected] |
Reimplemented from mrpt::utils::CSerializable.
static BASE_IMPEXP CMatrixDPtr mrpt::math::CMatrixD::Create | ( | ) | [static] |
static BASE_IMPEXP mrpt::utils::CObject* mrpt::math::CMatrixD::CreateObject | ( | ) | [static] |
virtual BASE_IMPEXP mrpt::utils::CObject* mrpt::math::CMatrixD::duplicate | ( | ) | const [virtual] |
Returns a copy of the object, indepently of its class.
Implements mrpt::utils::CObject.
virtual BASE_IMPEXP const mrpt::utils::TRuntimeClassId* mrpt::math::CMatrixD::GetRuntimeClass | ( | ) | const [virtual] |
Returns information about the class of an object in runtime.
Reimplemented from mrpt::utils::CSerializable.
CMatrixD& mrpt::math::CMatrixD::operator= | ( | const OTHERMAT & | m | ) | [inline] |
Assignment operator for float matrixes.
Definition at line 124 of file CMatrixD.h.
CMatrixD& mrpt::math::CMatrixD::operator= | ( | const Eigen::MatrixBase< OtherDerived > & | other | ) | [inline] |
Assignment operator from any other Eigen class
Definition at line 96 of file CMatrixD.h.
BASE_IMPEXP void mrpt::math::CMatrixD::readFromStream | ( | mrpt::utils::CStream & | in, |
int | version | ||
) | [protected, virtual] |
Introduces a pure virtual method responsible for loading from a CStream This can not be used directly be users, instead use "stream >> object;" for reading it from a stream or "stream >> object_ptr;" if the class is unknown apriori.
in | The input binary stream where the object data must read from. |
version | The version of the object stored in the stream: use this version number in your code to know how to read the incoming data. |
std::exception | On any error, see CStream::ReadBuffer |
Implements mrpt::utils::CSerializable.
BASE_IMPEXP void mrpt::math::CMatrixD::writeToStream | ( | mrpt::utils::CStream & | out, |
int * | getVersion | ||
) | const [protected, virtual] |
Implements mrpt::utils::CSerializable.
mrpt::utils::CLASSINIT mrpt::math::CMatrixD::_init_CMatrixD [static, protected] |
Definition at line 57 of file CMatrixD.h.
BASE_IMPEXP mrpt::utils::TRuntimeClassId mrpt::math::CMatrixD::classCMatrixD [static] |
Definition at line 61 of file CMatrixD.h.
BASE_IMPEXP const mrpt::utils::TRuntimeClassId* mrpt::math::CMatrixD::classinfo [static] |
Definition at line 62 of file CMatrixD.h.
Page generated by Doxygen 1.7.3 for MRPT 0.9.4 SVN: at Sat Mar 26 06:40:17 UTC 2011 |