SourceXtractorPlusPlus 0.21
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
VignetTaskFactory.cpp
Go to the documentation of this file.
1
32
33namespace SourceXtractor {
34
38
40 auto vignet_config = manager.getConfiguration<VignetConfig>();
41 m_vignet_size = vignet_config.getVignetSize();
42 m_vignet_default_pixval = vignet_config.getVignetDefaultPixval();
43
44 auto& measurement_config = manager.getConfiguration<MeasurementImageConfig>();
45 const auto& image_infos = measurement_config.getImageInfos();
46
48
49 for (size_t i = 0; i < image_infos.size(); ++i) {
51 }
52}
53
55 if (property_id.getTypeId() == typeid(Vignet)) {
57 }
58 else if (property_id == PropertyId::create<VignetArray>()) {
60 }
61 return nullptr;
62}
63
64} // end of namespace SourceXtractor
65
Identifier used to set and retrieve properties.
Definition PropertyId.h:40
void configure(Euclid::Configuration::ConfigManager &manager) override
Method which should initialize the object.
void reportConfigDependencies(Euclid::Configuration::ConfigManager &manager) const override
Registers all the Configuration dependencies.
std::shared_ptr< Task > createTask(const PropertyId &property_id) const override
Returns a Task producing a Property corresponding to the given PropertyId.
T push_back(T... args)