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 71 of file matrix.h.

Constructor & Destructor Documentation

◆ Matrix_() [1/2]

rtflann::Matrix_::Matrix_ ( )
inline

Definition at line 75 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 79 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 90 of file matrix.h.

◆ ptr()

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

Definition at line 95 of file matrix.h.

◆ serialize()

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

Definition at line 108 of file matrix.h.

Friends And Related Function Documentation

◆ serialization::access

friend struct serialization::access
friend

Definition at line 119 of file matrix.h.

Member Data Documentation

◆ cols

size_t rtflann::Matrix_::cols

Definition at line 101 of file matrix.h.

◆ data

uchar* rtflann::Matrix_::data
protected

Definition at line 105 of file matrix.h.

◆ rows

size_t rtflann::Matrix_::rows

Definition at line 100 of file matrix.h.

◆ stride

size_t rtflann::Matrix_::stride

Definition at line 102 of file matrix.h.

◆ type

flann_datatype_t rtflann::Matrix_::type

Definition at line 103 of file matrix.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:29