cvflann::Matrix< T > Class Template Reference

#include <matrix.h>

List of all members.

Public Member Functions

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

Public Attributes

size_t cols
T * data
size_t rows

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.

Definition at line 47 of file matrix.h.


Constructor & Destructor Documentation

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

Definition at line 53 of file matrix.h.

template<typename T>
cvflann::Matrix< T >::Matrix ( T *  data_,
long  rows_,
long  cols_ 
) [inline]

Definition at line 57 of file matrix.h.

template<typename T>
cvflann::Matrix< T >::~Matrix (  )  [inline]

Definition at line 70 of file matrix.h.


Member Function Documentation

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

Definition at line 82 of file matrix.h.

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

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

Definition at line 77 of file matrix.h.

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

Convenience function for deallocating the storage data.

Definition at line 65 of file matrix.h.


Member Data Documentation

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

Definition at line 50 of file matrix.h.

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

Definition at line 51 of file matrix.h.

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

Definition at line 49 of file matrix.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


opencv2
Author(s): Gary Bradski and many others. See web page for a full contributor list. ROS package maintained by James Bowman.
autogenerated on Fri Jan 11 10:00:49 2013