Public Member Functions | Public Attributes
cvflann::Matrix< T > Class Template Reference

#include <matrix.h>

List of all members.

Public Member Functions

 Matrix ()
 Matrix (T *data_, long rows_, long cols_)
void release ()
 ~Matrix ()
Toperator[] (size_t index)
Toperator[] (size_t index) const

Public Attributes

size_t rows
size_t cols
Tdata

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.


Constructor & Destructor Documentation

template<typename T>
cvflann::Matrix< T >::Matrix ( )
template<typename T>
cvflann::Matrix< T >::Matrix ( T data_,
long  rows_,
long  cols_ 
)
template<typename T>
cvflann::Matrix< T >::~Matrix ( )

Member Function Documentation

template<typename T>
void cvflann::Matrix< T >::release ( )

Convenience function for deallocating the storage data.

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

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

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

Member Data Documentation

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

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