The Fib multimedia system
Fib is a system for storing multimedia data (like images or films).
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
cOp2DFibFindEvenAreaNSplineMax4BorderOrg.h
Go to the documentation of this file.
1
/**
2
* @file cOp2DFibFindEvenAreaNSplineMax4BorderOrg
3
* file name: cOp2DFibFindEvenAreaNSplineMax4BorderOrg.h
4
* @author Betti Oesterholz
5
* @date 25.02.2011
6
* @mail webmaster@BioKom.info
7
*
8
* System: C++
9
*
10
* This Operator evalues the areas with the same properties and combines
11
* n to an complex fib -underobject.
12
* Copyright (C) @c GPL3 2010 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
* You should have received a copy of the GNU General Public License
25
* along with this program. If not, see <http://www.gnu.org/licenses/>.
26
*
27
*
28
* Evalues the areas with the same properties in the original fib -object
29
* and combines n random to an complex fib -underobject.
30
* This is done with the help of area- and functionelements.
31
* The area borders are approximated with the help of splines with maximal
32
* 4 parameters.
33
* In an last step it removes from the created fib -object all underobjects
34
* which point properties are overwritten and so not necessary.
35
* The number n is random choosen betwean 1 and log( Datapoints ) .
36
* Smaler numbers will be prevered.
37
*
38
* @see cOperationFib
39
* @see cOperation
40
* @see cEnviroment
41
*/
42
/*
43
History:
44
25.02.2011 Oesterholz created
45
*/
46
47
48
#ifndef ___C_OP_2D_FIB_FIND_EVEN_AREA_N_SPLINE_MAX_4_BORDER_ORG_H__
49
#define ___C_OP_2D_FIB_FIND_EVEN_AREA_N_SPLINE_MAX_4_BORDER_ORG_H__
50
51
#include "version.h"
52
53
#include "
cOperationFib.h
"
54
55
#include <string>
56
57
58
namespace
enviroment{
59
namespace
fib{
60
61
62
class
cOp2DFibFindEvenAreaNSplineMax4BorderOrg
:
public
cOperationFib
{
63
public
:
64
65
/**
66
* The standardconstructor for the operation.
67
* It will create the operation, but won't start it.
68
*
69
* @param operationId the identifer for the operation
70
*/
71
cOp2DFibFindEvenAreaNSplineMax4BorderOrg
(
const
cOperationIdentifier
& operationId );
72
73
/**
74
* Destructor of the class cOp2DFibFindEvenAreaNSplineMax4BorderOrg.
75
*/
76
virtual
~cOp2DFibFindEvenAreaNSplineMax4BorderOrg
();
77
78
/**
79
* This method creats a new instance of this operator.
80
* Beware: You have to delete the instance after usage.
81
*
82
* @param operationId the identifer for the operation
83
* @return a pointer to a new instance of this operation
84
*/
85
virtual
cOp2DFibFindEvenAreaNSplineMax4BorderOrg
*
createInstance
(
const
cOperationIdentifier
& operationId )
const
;
86
87
/**
88
* This method runs the operation.
89
* It will wait till the operation is ended befor returning.
90
* Beware: If overwriten call setIsRunning( false ), when the operation
91
* is done.
92
*
93
* @see start()
94
* @see stop()
95
* @see setIsRunning()
96
* @return true if the operation was started
97
*/
98
virtual
bool
run
();
99
100
/**
101
* @return the (class-)name of the operation
102
*/
103
virtual
std::string
getName
()
const
;
104
105
/**
106
* This function compares two property elemente pairs.
107
* It is used for ordering property elemente pairs.
108
*
109
* @param paPropertyElement1 the first property elemente pair to compare
110
* @param paPropertyElement2 the second property elemente pair to compare
111
* @return true if the propertietype of the first pair is lower or,
112
* if the propertietyps are equal, if the second element number of the
113
* first pair is lower
114
*/
115
static
bool
lowerPropertyElement
(
116
const
pair< cTypeProperty, unsignedIntFib > & paPropertyElement1,
117
const
pair< cTypeProperty, unsignedIntFib > & paPropertyElement2 );
118
119
protected
:
120
121
/**
122
* @param dValue the value for which to check, if it is 0
123
* @return true if the given value is 0, else false
124
*/
125
static
bool
isNull
(
const
double
& dValue );
126
127
};
//end class cOp2DFibFindEvenAreaNSplineMax4BorderOrg
128
129
130
};
//end namespace fib
131
};
//end namespace enviroment
132
133
#endif //___C_OP_2D_FIB_FIND_EVEN_AREA_N_SPLINE_MAX_4_BORDER_ORG_H__
134
135
136
137
138
139
140
enviroment.fib
operators
findArea
even
splineMax4ParamBorder
incl
cOp2DFibFindEvenAreaNSplineMax4BorderOrg.h
Generated on Thu Feb 14 2013 14:06:55 for The Fib multimedia system by
1.8.1