SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
VignetArraySourceTask.cpp
Go to the documentation of this file.
1
17
21
22namespace SourceXtractor {
23
26
29 for (auto img_idx : m_images) {
30 vignets.emplace_back(source.getProperty<Vignet>(img_idx));
31 }
32 source.setProperty<VignetArray>(vignets);
33}
34
35} // end of namespace SourceXtractor
The SourceInterface is an abstract "source" that has properties attached to it.
const PropertyType & getProperty(unsigned int index=0) const
Convenience template method to call getProperty() with a more user-friendly syntax.
void computeProperties(SourceInterface &source) const override
Computes one or more properties for the Source.
VignetArraySourceTask(const std::vector< unsigned > images)
T emplace_back(T... args)