Public Types | Public Member Functions | List of all members
rtflann::Matrix< T > Class Template Reference

#include <matrix.h>

Inheritance diagram for rtflann::Matrix< T >:
Inheritance graph
[legend]

Public Types

typedef T type
 

Public Member Functions

 Matrix ()
 
 Matrix (T *data_, size_t rows_, size_t cols_, size_t stride_=0)
 
T * operator[] (size_t index) const
 
T * ptr () const
 
- Public Member Functions inherited from rtflann::Matrix_
 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
 

Additional Inherited Members

- Public Attributes inherited from rtflann::Matrix_
size_t cols
 
size_t rows
 
size_t stride
 
flann_datatype_t type
 
- Protected Member Functions inherited from rtflann::Matrix_
template<typename Archive >
void serialize (Archive &ar)
 
- Protected Attributes inherited from rtflann::Matrix_
uchardata
 

Detailed Description

template<typename T>
class rtflann::Matrix< T >

Class that implements a simple rectangular matrix stored in a memory buffer and provides convenient matrix-like access using the [] operators.

This class has the same memory structure as the un-templated class flann::Matrix_ and it's directly convertible from it.

Definition at line 103 of file matrix.h.

Member Typedef Documentation

template<typename T>
typedef T rtflann::Matrix< T >::type

Definition at line 106 of file matrix.h.

Constructor & Destructor Documentation

template<typename T>
rtflann::Matrix< T >::Matrix ( )
inline

Definition at line 108 of file matrix.h.

template<typename T>
rtflann::Matrix< T >::Matrix ( T *  data_,
size_t  rows_,
size_t  cols_,
size_t  stride_ = 0 
)
inline

Definition at line 112 of file matrix.h.

Member Function Documentation

template<typename T>
T* rtflann::Matrix< T >::operator[] ( size_t  index) const
inline

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

Definition at line 121 of file matrix.h.

template<typename T>
T* rtflann::Matrix< T >::ptr ( ) const
inline

Definition at line 127 of file matrix.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Dec 14 2020 03:37:09