SourceXtractorPlusPlus
0.19
SourceXtractor++, the next generation SExtractor
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
SEImplementation
SEImplementation
Plugin
ShapeParameters
ShapeParameters.h
Go to the documentation of this file.
1
17
/*
18
* ShapeParameters.h
19
*
20
* Created on: Jan 27, 2017
21
* Author: mschefer
22
*/
23
24
#ifndef _SEIMPLEMENTATION_PLUGIN_SHAPEPARAMETERS_SHAPEPARAMETERS_H_
25
#define _SEIMPLEMENTATION_PLUGIN_SHAPEPARAMETERS_SHAPEPARAMETERS_H_
26
27
#include "
SEUtils/Types.h
"
28
#include "
SEFramework/Property/Property.h
"
29
30
namespace
SourceXtractor {
31
32
class
ShapeParameters
:
public
Property
{
33
public
:
34
35
ShapeParameters
(
SeFloat
a,
SeFloat
b,
SeFloat
theta,
SeFloat
abcor,
SeFloat
cxx,
SeFloat
cyy,
SeFloat
cxy,
SeFloat
area,
SeFloat
intensity,
bool
singu)
36
:
m_a
(a),
m_b
(b),
m_theta
(theta),
m_abcor
(abcor),
m_cxx
(cxx),
m_cyy
(cyy),
m_cxy
(cxy),
m_area
(area),
m_intensity
(intensity),
m_singu_flag
(singu) {}
37
38
virtual
~ShapeParameters
() =
default
;
39
43
SeFloat
getEllipseA
()
const
{
44
return
m_a
;
45
}
46
50
SeFloat
getEllipseB
()
const
{
51
return
m_b
;
52
}
53
57
SeFloat
getEllipseTheta
()
const
{
58
return
m_theta
;
59
}
60
67
SeFloat
getEllipseCxx
()
const
{
68
return
m_cxx
;
69
}
70
77
SeFloat
getEllipseCyy
()
const
{
78
return
m_cyy
;
79
}
80
87
SeFloat
getEllipseCxy
()
const
{
88
return
m_cxy
;
89
}
90
91
SeFloat
getAbcor
()
const
{
92
return
m_abcor
;
93
}
94
95
SeFloat
getArea
()
const
{
96
return
m_area
;
97
}
98
99
SeFloat
getElongation
()
const
{
100
return
m_a
/
m_b
;
101
}
102
103
SeFloat
getEllipticity
()
const
{
104
return
1 -
m_b
/
m_a
;
105
}
106
107
SeFloat
getIntensity
()
const
{
108
return
m_intensity
;
109
}
110
111
bool
getSinguFlag
()
const
{
112
return
m_singu_flag
;
113
}
114
115
private
:
116
SeFloat
m_a
,
m_b
,
m_theta
;
// ellipse semi-major axis, semi-minor axis, and angle
117
SeFloat
m_abcor
;
118
SeFloat
m_cxx
,
m_cyy
,
m_cxy
;
119
SeFloat
m_area
;
120
SeFloat
m_intensity
;
121
bool
m_singu_flag
;
122
};
123
124
}
125
126
127
128
#endif
/* _SEIMPLEMENTATION_PLUGIN_SHAPEPARAMETERS_SHAPEPARAMETERS_H_ */
Types.h
SourceXtractor::ShapeParameters::getIntensity
SeFloat getIntensity() const
Definition:
ShapeParameters.h:107
SourceXtractor::ShapeParameters::getSinguFlag
bool getSinguFlag() const
Definition:
ShapeParameters.h:111
SourceXtractor::ShapeParameters::getElongation
SeFloat getElongation() const
Definition:
ShapeParameters.h:99
SourceXtractor::ShapeParameters::getEllipseA
SeFloat getEllipseA() const
Definition:
ShapeParameters.h:43
SourceXtractor::ShapeParameters::m_area
SeFloat m_area
Definition:
ShapeParameters.h:119
SourceXtractor::ShapeParameters::m_intensity
SeFloat m_intensity
Definition:
ShapeParameters.h:120
SourceXtractor::ShapeParameters::ShapeParameters
ShapeParameters(SeFloat a, SeFloat b, SeFloat theta, SeFloat abcor, SeFloat cxx, SeFloat cyy, SeFloat cxy, SeFloat area, SeFloat intensity, bool singu)
Definition:
ShapeParameters.h:35
SourceXtractor::ShapeParameters::getEllipseB
SeFloat getEllipseB() const
Definition:
ShapeParameters.h:50
Property.h
SourceXtractor::ShapeParameters::m_abcor
SeFloat m_abcor
Definition:
ShapeParameters.h:117
SourceXtractor::SeFloat
SeFloat32 SeFloat
Definition:
Types.h:32
SourceXtractor::ShapeParameters::getAbcor
SeFloat getAbcor() const
Definition:
ShapeParameters.h:91
SourceXtractor::ShapeParameters::getArea
SeFloat getArea() const
Definition:
ShapeParameters.h:95
SourceXtractor::ShapeParameters::getEllipseTheta
SeFloat getEllipseTheta() const
Definition:
ShapeParameters.h:57
SourceXtractor::ShapeParameters::getEllipseCxy
SeFloat getEllipseCxy() const
Definition:
ShapeParameters.h:87
SourceXtractor::Property
Base class for all Properties. (has no actual content)
Definition:
Property.h:33
SourceXtractor::ShapeParameters::m_cyy
SeFloat m_cyy
Definition:
ShapeParameters.h:118
SourceXtractor::ShapeParameters::m_a
SeFloat m_a
Definition:
ShapeParameters.h:116
SourceXtractor::ShapeParameters::~ShapeParameters
virtual ~ShapeParameters()=default
SourceXtractor::ShapeParameters::m_b
SeFloat m_b
Definition:
ShapeParameters.h:116
SourceXtractor::ShapeParameters::m_theta
SeFloat m_theta
Definition:
ShapeParameters.h:116
SourceXtractor::ShapeParameters::getEllipseCyy
SeFloat getEllipseCyy() const
Definition:
ShapeParameters.h:77
SourceXtractor::ShapeParameters::m_singu_flag
bool m_singu_flag
Definition:
ShapeParameters.h:121
SourceXtractor::ShapeParameters::m_cxy
SeFloat m_cxy
Definition:
ShapeParameters.h:118
SourceXtractor::ShapeParameters::m_cxx
SeFloat m_cxx
Definition:
ShapeParameters.h:118
SourceXtractor::ShapeParameters
Definition:
ShapeParameters.h:32
SourceXtractor::ShapeParameters::getEllipticity
SeFloat getEllipticity() const
Definition:
ShapeParameters.h:103
SourceXtractor::ShapeParameters::getEllipseCxx
SeFloat getEllipseCxx() const
Definition:
ShapeParameters.h:67
Generated by
1.8.5