Go to the documentation of this file.
22 #define XSMATRIX_INITIALIZER \
24 nullptr, 0, 0, 0, XSDF_Managed \
56 #define XsMatrix_offsetM(thisPtr, row, column) \
57 (thisPtr->m_stride * row + column)
82 inline int flags() {
return m_flags; }
231 if (
this == &other)
return true;
243 #ifndef XSENS_NO_PACK
XSTYPES_DLL_API void XsMatrix_destruct(XsMatrix *thisPtr)
XSTYPES_DLL_API void XsMatrix_swap(XsMatrix *a, XsMatrix *b)
const XsSize m_rows
Number of rows in the matrix.
XSTYPES_DLL_API XsReal XsMatrix_value(const XsMatrix *thisPtr, XsSize row, XsSize column)
XSTYPES_DLL_API void XsMatrix_construct(XsMatrix *thisPtr, XsSize rows, XsSize cols, XsSize stride, const XsReal *src, XsSize srcStride)
XSTYPES_DLL_API void XsMatrix_fromQuaternion(XsMatrix *thisPtr, const struct XsQuaternion *quat)
const XsSize m_cols
Number of columns in the matrix.
VALUE & operator[](const KEY &key)
Write/read via [i] operator, that creates an element if it didn't exist already.
XSTYPES_DLL_API XsSize XsMatrix_offset(const XsMatrix *thisPtr, XsSize row, XsSize column)
GLenum GLenum GLvoid GLvoid * column
const XsSize m_stride
Number of items per row in memory (usually equal to cols but not always)
XSTYPES_DLL_API void XsMatrix_ref(XsMatrix *thisPtr, XsSize rows, XsSize cols, XsSize stride, XsReal *buffer, XsDataFlags flags)
bool operator==(const mrpt::img::TCamera &a, const mrpt::img::TCamera &b)
GLdouble GLdouble GLdouble r
XSCPPPROTECTED XsReal *const m_data
Contained data.
GLsizei GLsizei GLenum GLenum const GLvoid * data
#define XsMatrix_offsetM(thisPtr, row, column)
double XsReal
Defines the floating point type used by the Xsens libraries.
size_t XsSize
XsSize must be unsigned number!
XSTYPES_DLL_API int XsMatrix_empty(const XsMatrix *thisPtr)
XSTYPES_DLL_API void XsMatrix_multiplyScalar(const XsMatrix *thisPtr, XsReal scalar, XsMatrix *dest)
EIGEN_STRONG_INLINE void setSize(size_t row, size_t col)
Changes the size of matrix, maintaining its previous content as possible and padding with zeros where...
XSTYPES_DLL_API void XsMatrix_assign(XsMatrix *thisPtr, XsSize rows, XsSize cols, XsSize stride, const XsReal *src, XsSize srcStride)
const XSTYPES_DLL_API XsReal XsMath_zero
GLenum GLenum GLvoid * row
std::vector< T1 > operator*(const std::vector< T1 > &a, const std::vector< T2 > &b)
a*b (element-wise multiplication)
GLsizei const GLfloat * value
XSTYPES_DLL_API void XsMatrix_setValue(XsMatrix *thisPtr, XsSize row, XsSize column, XsReal value)
XsDataFlags
These flags define the behaviour of data contained by Xsens data structures.
EIGEN_STRONG_INLINE bool empty() const
XSTYPES_DLL_API void XsMatrix_copy(XsMatrix *copy, XsMatrix const *src)
const int m_flags
Flags for data management.
XSTYPES_DLL_API int XsMatrix_dimensionsMatch(const XsMatrix *thisPtr, XsSize rows, XsSize columns)
GLubyte GLubyte GLubyte a
XSTYPES_DLL_API void XsMatrix_setZero(XsMatrix *thisPtr)
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST | |