SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
VignetSourceTask.h
Go to the documentation of this file.
1
17
24
25#ifndef _SEIMPLEMENTATION_PLUGIN_VIGNETSOURCETASK_H_
26#define _SEIMPLEMENTATION_PLUGIN_VIGNETSOURCETASK_H_
27
29#include <array>
30
31namespace SourceXtractor {
33public:
34 VignetSourceTask(unsigned instance, std::array<int, 2> vignet_size, double vignet_default_pixval) :
35 m_instance(instance),
36 m_vignet_size(vignet_size),
37 m_vignet_default_pixval((SeFloat) vignet_default_pixval) {};
38
39 virtual ~VignetSourceTask() = default;
40
41 virtual void computeProperties(SourceInterface& source) const;
42
43private:
44 unsigned m_instance;
47}; // End of VignetSourceTask class
48
49} // namespace SourceXtractor
50
51#endif /* _SEIMPLEMENTATION_PLUGIN_VIGNETSOURCETASK_H_ */
The SourceInterface is an abstract "source" that has properties attached to it.
A Task that acts on a Source to compute one or more properties.
Definition SourceTask.h:36
virtual void computeProperties(SourceInterface &source) const
Computes one or more properties for the Source.
virtual ~VignetSourceTask()=default
VignetSourceTask(unsigned instance, std::array< int, 2 > vignet_size, double vignet_default_pixval)
SeFloat32 SeFloat
Definition Types.h:32