OpenCV  2.4.13.4
Open Source Computer Vision
cvflann::Matrix< T > Class Template Reference

#include <matrix.h>

Public Types

typedef T type
 

Public Member Functions

 Matrix ()
 
 Matrix (T *data_, size_t rows_, size_t cols_, size_t stride_=0)
 
void free ()
 
T * operator[] (size_t index) const
 

Public Attributes

size_t rows
 
size_t cols
 
size_t stride
 
T * data
 

Detailed Description

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

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

Member Typedef Documentation

§ type

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

Constructor & Destructor Documentation

§ Matrix() [1/2]

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

§ Matrix() [2/2]

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

Member Function Documentation

§ free()

template<typename T>
void cvflann::Matrix< T >::free ( )
inline

Convenience function for deallocating the storage data.

§ operator[]()

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

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

Member Data Documentation

§ cols

template<typename T>
size_t cvflann::Matrix< T >::cols

§ data

template<typename T>
T* cvflann::Matrix< T >::data

§ rows

template<typename T>
size_t cvflann::Matrix< T >::rows

§ stride

template<typename T>
size_t cvflann::Matrix< T >::stride

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