The Fib multimedia system
Fib is a system for storing multimedia data (like images or films).
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
iConvertToFib.h
Go to the documentation of this file.
1 /**
2  * @file iConvertToFib
3  * file name: iConvertToFib.h
4  * @author Betti Oesterholz
5  * @date 22.08.2012
6  * @mail webmaster@BioKom.info
7  *
8  * System: C++
9  *
10  * This header specifies a interface for converting data to a Fib object.
11  *
12  * Copyright (C) @c GPL3 2012 Betti Oesterholz
13  *
14  * This program is free software: you can redistribute it and/or modify
15  * it under the terms of the GNU General Public License (GPL) as
16  * published by the Free Software Foundation, either version 3 of the
17  * License, or any later version.
18  *
19  * This program is distributed in the hope that it will be useful,
20  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22  * GNU Lesser General Public License for more details.
23  *
24  * This header specifies a class to store the data for a search on image data.
25  * If you want to convert an image to Fib structures, you have to search
26  * the image for structures, which can be converted to Fib.
27  * To mark for which points structures wher found and which points you can
28  * set to any overwritten property because the points are overwritten, you
29  * can use this class.
30  *
31  * This header specifies a interface for converting data to a Fib object.
32  * For this an method convertToFib() is defined.
33  *
34  */
35 /*
36 History:
37 22.08.2012 Oesterholz created
38 */
39 
40 
41 #ifndef ___I_CONVERT_TO_FIB_H__
42 #define ___I_CONVERT_TO_FIB_H__
43 
44 #include "version.h"
45 
46 #include "cRoot.h"
47 
48 
49 
50 namespace fib{
51 
52 namespace algorithms{
53 
54 namespace nConvertToFib{
55 
56 
58 public:
59 
60  /**
61  * This method is for converting data to a Fib object.
62  *
63  * @return a Fib-object which represents the data of this object
64  * Beware: You have to delete the returned Fib object after usage.
65  * Also the given root element will contain no domains, you have to
66  * create them if needed (eg. with cRoot::generateNeededDomains() ).
67  */
68  virtual cRoot * convertToFib() const = 0;
69 
70 
71 };//interface iConvertToFib
72 
73 };//end namespace nConvertToFib
74 };//end namespace algorithms
75 };//end namespace fib
76 
77 
78 #endif //___I_CONVERT_TO_FIB_H__