SourceXtractorPlusPlus
1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
SEImplementation
SEImplementation
Plugin
PixelCentroid
PixelCentroid.h
Go to the documentation of this file.
1
22
23
#ifndef _SEIMPLEMENTATION_PROPERTY_PIXELCENTROID_H
24
#define _SEIMPLEMENTATION_PROPERTY_PIXELCENTROID_H
25
26
#include "
SEUtils/Types.h
"
27
#include "
SEFramework/Property/Property.h
"
28
29
namespace
SourceXtractor
{
30
37
class
PixelCentroid
:
public
Property
{
38
public
:
39
43
virtual
~PixelCentroid
() =
default
;
44
45
PixelCentroid
(
SeFloat
centroid_x,
SeFloat
centroid_y) :
m_centroid_x
(centroid_x),
m_centroid_y
(centroid_y) {}
46
48
SeFloat
getCentroidX
()
const
{
49
return
m_centroid_x
;
50
}
51
53
SeFloat
getCentroidY
()
const
{
54
return
m_centroid_y
;
55
}
56
57
private
:
58
SeFloat
m_centroid_x
,
m_centroid_y
;
59
60
};
/* End of PixelCentroid class */
61
62
}
/* namespace SourceXtractor */
63
64
65
#endif
Property.h
Types.h
SourceXtractor::PixelCentroid::getCentroidX
SeFloat getCentroidX() const
X coordinate of centroid.
Definition
PixelCentroid.h:48
SourceXtractor::PixelCentroid::~PixelCentroid
virtual ~PixelCentroid()=default
Destructor.
SourceXtractor::PixelCentroid::getCentroidY
SeFloat getCentroidY() const
Y coordinate of centroid.
Definition
PixelCentroid.h:53
SourceXtractor::PixelCentroid::PixelCentroid
PixelCentroid(SeFloat centroid_x, SeFloat centroid_y)
Definition
PixelCentroid.h:45
SourceXtractor::PixelCentroid::m_centroid_y
SeFloat m_centroid_y
Definition
PixelCentroid.h:58
SourceXtractor::PixelCentroid::m_centroid_x
SeFloat m_centroid_x
Definition
PixelCentroid.h:58
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.15.0