OpenCV  4.1.1-pre
Open Source Computer Vision
Looking for a C++ dev who knows OpenCV?
I'm looking for work. Hire me!
cvflann::Matrix< T > Class Template Reference

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

#include <opencv2/flann/matrix.h>

Inheritance diagram for cvflann::Matrix< T >:
Collaboration diagram for cvflann::Matrix< T >:

Public Types

typedef T type
 

Public Member Functions

 Matrix ()
 
 Matrix (T *data_, size_t rows_, size_t cols_, size_t stride_=0)
 
void free ()
 Convenience function for deallocating the storage data. More...
 
T * operator[] (size_t index) const
 Operator that return a (pointer to a) row of the data. More...
 

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

◆ 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

◆ data

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

◆ rows

◆ stride

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

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