SourceXtractorPlusPlus
1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
SEImplementation
SEImplementation
Plugin
PeakValue
PeakValue.h
Go to the documentation of this file.
1
17
/*
18
* PeakValue.h
19
*
20
* Created on: Feb 9, 2017
21
* Author: mschefer
22
*/
23
24
#ifndef _SEIMPLEMENTATION_PLUGIN_PEAKVALUE_PEAKVALUE_H_
25
#define _SEIMPLEMENTATION_PLUGIN_PEAKVALUE_PEAKVALUE_H_
26
27
#include "
SEUtils/Types.h
"
28
#include "
SEFramework/Property/Property.h
"
29
30
namespace
SourceXtractor
{
31
32
class
PeakValue
:
public
Property
{
33
public
:
34
35
virtual
~PeakValue
() =
default
;
36
37
PeakValue
(
SeFloat
min_value,
SeFloat
max_value,
int
max_value_x,
int
max_value_y) :
m_min_value
(min_value),
m_max_value
(max_value),
m_peak_x
(max_value_x),
m_peak_y
(max_value_y) {}
38
39
SeFloat
getMinValue
()
const
{
40
return
m_min_value
;
41
}
42
43
SeFloat
getMaxValue
()
const
{
44
return
m_max_value
;
45
}
46
47
SeFloat
getMaxValueX
()
const
{
48
return
m_peak_x
;
49
}
50
51
SeFloat
getMaxValueY
()
const
{
52
return
m_peak_y
;
53
}
54
55
private
:
56
SeFloat
m_min_value
,
m_max_value
;
57
int
m_peak_x
,
m_peak_y
;
58
59
};
60
61
}
/* namespace SourceXtractor */
62
63
64
65
66
67
#endif
/* SEIMPLEMENTATION_SEIMPLEMENTATION_PLUGIN_PEAKVALUE_PEAKVALUE_H_ */
Property.h
Types.h
SourceXtractor::PeakValue::m_peak_x
int m_peak_x
Definition
PeakValue.h:57
SourceXtractor::PeakValue::getMinValue
SeFloat getMinValue() const
Definition
PeakValue.h:39
SourceXtractor::PeakValue::PeakValue
PeakValue(SeFloat min_value, SeFloat max_value, int max_value_x, int max_value_y)
Definition
PeakValue.h:37
SourceXtractor::PeakValue::getMaxValueX
SeFloat getMaxValueX() const
Definition
PeakValue.h:47
SourceXtractor::PeakValue::getMaxValueY
SeFloat getMaxValueY() const
Definition
PeakValue.h:51
SourceXtractor::PeakValue::m_min_value
SeFloat m_min_value
Definition
PeakValue.h:56
SourceXtractor::PeakValue::~PeakValue
virtual ~PeakValue()=default
SourceXtractor::PeakValue::getMaxValue
SeFloat getMaxValue() const
Definition
PeakValue.h:43
SourceXtractor::PeakValue::m_peak_y
int m_peak_y
Definition
PeakValue.h:57
SourceXtractor::PeakValue::m_max_value
SeFloat m_max_value
Definition
PeakValue.h:56
SourceXtractor::Property
Base class for all Properties. (has no actual content)
Definition
Property.h:33
SourceXtractor
Definition
Aperture.h:30
SourceXtractor::SeFloat
SeFloat32 SeFloat
Definition
Types.h:32
Generated by
1.14.0