OpenCV  3.1.0
Open Source Computer Vision
Public Types | Public Member Functions | Public Attributes | List of all members
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 cols
 
T * data
 
size_t rows
 
size_t stride
 

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

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

Constructor & Destructor Documentation

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

Member Function Documentation

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

Convenience function for deallocating the storage data.

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

template<typename T>
size_t cvflann::Matrix< T >::cols
template<typename T>
T* cvflann::Matrix< T >::data
template<typename T>
size_t cvflann::Matrix< T >::rows
template<typename T>
size_t cvflann::Matrix< T >::stride

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