SourceXtractorPlusPlus  0.11
Please provide a description of the project.
AutoPhotometryTask.h
Go to the documentation of this file.
1 
17 /*
18  * AperturePhotometryTask.h
19  *
20  * Created on: Sep 22, 2016
21  * Author: mschefer
22  */
23 
24 #ifndef _SEIMPLEMENTATION_PLUGIN_AUTOPHOTOMETRY_AUTOPHOTOMETRYTASK_H_
25 #define _SEIMPLEMENTATION_PLUGIN_AUTOPHOTOMETRY_AUTOPHOTOMETRYTASK_H_
26 
27 #include "SEUtils/Types.h"
29 
30 namespace SourceXtractor {
31 
33 public:
34 
36  virtual ~AutoPhotometryTask() = default;
37 
38  AutoPhotometryTask(unsigned instance, SeFloat magnitude_zero_point, SeFloat kron_factor, SeFloat kron_minrad, bool use_symmetry) :
39  m_instance(instance),
40  m_magnitude_zero_point(magnitude_zero_point),
41  m_kron_factor(kron_factor),
42  m_kron_minrad(kron_minrad),
43  m_use_symmetry(use_symmetry) {}
44 
45  virtual void computeProperties(SourceInterface& source) const override;
46 
47 private:
48  unsigned m_instance;
53 };
54 
55 }
56 
57 #endif /* _SEIMPLEMENTATION_PLUGIN_AUTOPHOTOMETRY_AUTOPHOTOMETRYTASK_H_ */
virtual ~AutoPhotometryTask()=default
Destructor.
SeFloat32 SeFloat
Definition: Types.h:32
A Task that acts on a Source to compute one or more properties.
Definition: SourceTask.h:36
virtual void computeProperties(SourceInterface &source) const override
Computes one or more properties for the Source.
The SourceInterface is an abstract "source" that has properties attached to it.
AutoPhotometryTask(unsigned instance, SeFloat magnitude_zero_point, SeFloat kron_factor, SeFloat kron_minrad, bool use_symmetry)