SourceXtractorPlusPlus  0.13
Please provide a description of the project.
MeasurementFrameCoordinatesTask.cpp
Go to the documentation of this file.
1 
19 
22 
23 namespace SourceXtractor {
24 
26  auto coordinate_system = source.getProperty<MeasurementFrame>(m_instance).getFrame()->getCoordinateSystem();
27  source.setIndexedProperty<MeasurementFrameCoordinates>(m_instance, coordinate_system);
28 }
29 
30 } // SEImplementation namespace
31 
MeasurementFrame.h
SourceXtractor::MeasurementFrameCoordinates
Definition: MeasurementFrameCoordinates.h:26
MeasurementFrameCoordinatesTask.h
SourceXtractor::MeasurementFrameCoordinatesTask::computeProperties
void computeProperties(SourceInterface &source) const override
Computes one or more properties for the Source.
Definition: MeasurementFrameCoordinatesTask.cpp:25
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
MeasurementFrameCoordinates.h
SourceXtractor::MeasurementFrame
Definition: MeasurementFrame.h:36
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::MeasurementFrameCoordinatesTask::m_instance
unsigned int m_instance
Definition: MeasurementFrameCoordinatesTask.h:44