source: flair-src/trunk/lib/FlairCore/src/unexported/cvmatrix_impl.h@ 2

Last change on this file since 2 was 2, checked in by Sanahuja Guillaume, 8 years ago

flaircore

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
17#include <io_data.h>
18#include <cvmatrix.h>
19
20struct CvMat;
21
22/*! \class cvmatrix_impl
23* \brief Classe définissant une matrice opencv
24*
25*/
26class cvmatrix_impl
27{
28 public:
29 cvmatrix_impl(flair::core::cvmatrix* self,int rows,int cols,flair::core::ScalarType const &elementDataType,int n);
30 cvmatrix_impl(flair::core::cvmatrix* self,const flair::core::cvmatrix_descriptor *descriptor, flair::core::ScalarType const &elementDataType,int n);
31 ~cvmatrix_impl();
32
33 CvMat* mat;
34 flair::core::ScalarType const &elementDataType;
35 // const since if element description is modified it would be a mess in the log
36 const 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.