SourceXtractorPlusPlus
0.15
Please provide a description of the project.
SEImplementation
src
lib
Plugin
DetectionFrameCoordinates
DetectionFrameCoordinatesTask.cpp
Go to the documentation of this file.
1
18
#include "
SEFramework/Property/DetectionFrame.h
"
19
20
21
#include "
SEImplementation/Plugin/DetectionFrameCoordinates/DetectionFrameCoordinates.h
"
22
#include "
SEImplementation/Plugin/DetectionFrameCoordinates/DetectionFrameCoordinatesTask.h
"
23
24
namespace
SourceXtractor
{
25
26
void
DetectionFrameCoordinatesTask::computeProperties
(
SourceInterface
& source)
const
{
27
auto
coordinate_system = source.
getProperty
<
DetectionFrame
>().getFrame()->getCoordinateSystem();
28
source.
setProperty
<
DetectionFrameCoordinates
>(coordinate_system);
29
}
30
31
}
// SEImplementation namespace
32
DetectionFrameCoordinates.h
SourceXtractor::DetectionFrameCoordinates
Definition:
DetectionFrameCoordinates.h:26
DetectionFrame.h
DetectionFrameCoordinatesTask.h
SourceXtractor
Definition:
Aperture.h:30
SourceXtractor::DetectionFrameCoordinatesTask::computeProperties
void computeProperties(SourceInterface &source) const override
Computes one or more properties for the Source.
Definition:
DetectionFrameCoordinatesTask.cpp:26
SourceXtractor::DetectionFrame
Definition:
DetectionFrame.h:33
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::SourceInterface::setProperty
void setProperty(Args... args)
Definition:
SourceInterface.h:72
Generated by
1.8.20