Line | |
---|
1 | // %flair:license{ |
---|
2 | // This file is part of the Flair framework distributed under the |
---|
3 | // CECILL-C License, Version 1.0. |
---|
4 | // %flair:license} |
---|
5 | /*! |
---|
6 | * \file cvmatrix_impl.h |
---|
7 | * \brief Classe définissant une matrice opencv |
---|
8 | * \author Guillaume Sanahuja, Copyright Heudiasyc UMR UTC/CNRS 7253 |
---|
9 | * \date 2012/03/21 |
---|
10 | * \version 4.0 |
---|
11 | */ |
---|
12 | |
---|
13 | #ifndef CVMATRIX_IMPL_H |
---|
14 | #define CVMATRIX_IMPL_H |
---|
15 | |
---|
16 | #include <io_data.h> |
---|
17 | #include <cvmatrix.h> |
---|
18 | |
---|
19 | struct CvMat; |
---|
20 | |
---|
21 | /*! \class cvmatrix_impl |
---|
22 | * \brief Classe définissant une matrice opencv |
---|
23 | * |
---|
24 | */ |
---|
25 | class cvmatrix_impl { |
---|
26 | public: |
---|
27 | cvmatrix_impl(flair::core::cvmatrix *self, int rows, int cols, |
---|
28 | flair::core::ScalarType const &elementDataType, int n); |
---|
29 | cvmatrix_impl(flair::core::cvmatrix *self, |
---|
30 | const flair::core::cvmatrix_descriptor *descriptor, |
---|
31 | flair::core::ScalarType const &elementDataType, int n); |
---|
32 | ~cvmatrix_impl(); |
---|
33 | |
---|
34 | CvMat *mat; |
---|
35 | flair::core::ScalarType const &elementDataType; |
---|
36 | flair::core::cvmatrix_descriptor *descriptor; |
---|
37 | |
---|
38 | private: |
---|
39 | flair::core::cvmatrix *self; |
---|
40 | void Init(flair::core::cvmatrix *self, int n); |
---|
41 | }; |
---|
42 | |
---|
43 | #endif // CVMATRIX_IMPL_H |
---|
Note: See
TracBrowser
for help on using the repository browser.