Public Types | Public Member Functions
rtflann::Matrix< T > Class Template Reference

#include <matrix.h>

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

List of all members.

Public Types

typedef T type

Public Member Functions

 Matrix ()
 Matrix (T *data_, size_t rows_, size_t cols_, size_t stride_=0)
Toperator[] (size_t index) const
Tptr () const

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

Reimplemented from rtflann::Matrix_.

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.

Reimplemented from rtflann::Matrix_.

Definition at line 121 of file matrix.h.

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

Reimplemented from rtflann::Matrix_.

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 Thu Jun 6 2019 21:59:43