SourceXtractorPlusPlus  0.15
Please provide a description of the project.
MeasurementFrameImagesTask.cpp
Go to the documentation of this file.
1 
21 
22 namespace SourceXtractor {
23 
25  auto frame = source.getProperty<MeasurementFrame>(m_instance).getFrame();
26  auto width = frame->getOriginalImage()->getWidth();
27  auto height = frame->getOriginalImage()->getHeight();
28 
29  source.setIndexedProperty<MeasurementFrameImages>(m_instance, frame, width, height);
30 }
31 
32 } // SEImplementation namespace
33 
MeasurementFrame.h
SourceXtractor::MeasurementFrameImages
Definition: MeasurementFrameImages.h:31
SourceXtractor
Definition: Aperture.h:30
SourceXtractor::SourceInterface::setIndexedProperty
void setIndexedProperty(std::size_t index, Args... args)
Convenience template method to call setProperty() with a more user-friendly syntax.
Definition: SourceInterface.h:64
SourceXtractor::MeasurementFrame
Definition: MeasurementFrame.h:36
SourceXtractor::MeasurementFrameImagesTask::m_instance
unsigned int m_instance
Definition: MeasurementFrameImagesTask.h:44
SourceXtractor::SourceInterface::getProperty
const PropertyType & getProperty(unsigned int index=0) const
Convenience template method to call getProperty() with a more user-friendly syntax.
Definition: SourceInterface.h:57
SourceXtractor::SourceInterface
The SourceInterface is an abstract "source" that has properties attached to it.
Definition: SourceInterface.h:46
SourceXtractor::MeasurementFrameImagesTask::computeProperties
void computeProperties(SourceInterface &source) const override
Computes one or more properties for the Source.
Definition: MeasurementFrameImagesTask.cpp:24
MeasurementFrameImages.h
MeasurementFrameImagesTask.h