SourceXtractorPlusPlus  0.19
SourceXtractor++, the next generation SExtractor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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"
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 
48  return m_peak_x;
49  }
50 
52  return m_peak_y;
53  }
54 
55 private:
58 
59 };
60 
61 } /* namespace SourceXtractor */
62 
63 
64 
65 
66 
67 #endif /* SEIMPLEMENTATION_SEIMPLEMENTATION_PLUGIN_PEAKVALUE_PEAKVALUE_H_ */
SeFloat getMinValue() const
Definition: PeakValue.h:39
SeFloat getMaxValueX() const
Definition: PeakValue.h:47
SeFloat32 SeFloat
Definition: Types.h:32
virtual ~PeakValue()=default
SeFloat getMaxValueY() const
Definition: PeakValue.h:51
Base class for all Properties. (has no actual content)
Definition: Property.h:33
PeakValue(SeFloat min_value, SeFloat max_value, int max_value_x, int max_value_y)
Definition: PeakValue.h:37
SeFloat getMaxValue() const
Definition: PeakValue.h:43