Last change
on this file since 15 was 15, checked in by Bayard Gildas, 8 years ago |
sources reformatted with flair-format-dir script
|
File size:
1.2 KB
|
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 | // const since if element description is modified it would be a mess in the
|
---|
37 | // log
|
---|
38 | const flair::core::cvmatrix_descriptor *descriptor;
|
---|
39 |
|
---|
40 | private:
|
---|
41 | flair::core::cvmatrix *self;
|
---|
42 | void Init(flair::core::cvmatrix *self, int n);
|
---|
43 | };
|
---|
44 |
|
---|
45 | #endif // CVMATRIX_IMPL_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.