Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Friends | List of all members
rtflann::Matrix_ Class Reference

#include <matrix.h>

Inheritance diagram for rtflann::Matrix_:
Inheritance graph
[legend]

Public Member Functions

 Matrix_ ()
 
 Matrix_ (void *data_, size_t rows_, size_t cols_, flann_datatype_t type_, size_t stride_=0)
 
void * operator[] (size_t index) const
 
void * ptr () const
 

Public Attributes

size_t cols
 
size_t rows
 
size_t stride
 
flann_datatype_t type
 

Protected Member Functions

template<typename Archive >
void serialize (Archive &ar)
 

Protected Attributes

uchardata
 

Friends

struct serialization::access
 

Detailed Description

Definition at line 43 of file matrix.h.

Constructor & Destructor Documentation

◆ Matrix_() [1/2]

rtflann::Matrix_::Matrix_ ( )
inline

Definition at line 47 of file matrix.h.

◆ Matrix_() [2/2]

rtflann::Matrix_::Matrix_ ( void *  data_,
size_t  rows_,
size_t  cols_,
flann_datatype_t  type_,
size_t  stride_ = 0 
)
inline

Definition at line 51 of file matrix.h.

Member Function Documentation

◆ operator[]()

void* rtflann::Matrix_::operator[] ( size_t  index) const
inline

Operator that returns a (pointer to a) row of the data.

Definition at line 62 of file matrix.h.

◆ ptr()

void* rtflann::Matrix_::ptr ( ) const
inline

Definition at line 67 of file matrix.h.

◆ serialize()

template<typename Archive >
void rtflann::Matrix_::serialize ( Archive &  ar)
inlineprotected

Definition at line 80 of file matrix.h.

Friends And Related Function Documentation

◆ serialization::access

friend struct serialization::access
friend

Definition at line 91 of file matrix.h.

Member Data Documentation

◆ cols

size_t rtflann::Matrix_::cols

Definition at line 73 of file matrix.h.

◆ data

uchar* rtflann::Matrix_::data
protected

Definition at line 77 of file matrix.h.

◆ rows

size_t rtflann::Matrix_::rows

Definition at line 72 of file matrix.h.

◆ stride

size_t rtflann::Matrix_::stride

Definition at line 74 of file matrix.h.

◆ type

flann_datatype_t rtflann::Matrix_::type

Definition at line 75 of file matrix.h.


The documentation for this class was generated from the following file:


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Jan 23 2023 03:39:00