SourceXtractorPlusPlus
0.12
Please provide a description of the project.
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
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
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::DetectionFrame
Definition:
DetectionFrame.h:33
SourceXtractor::SourceInterface::setProperty
void setProperty(Args...args)
Definition:
SourceInterface.h:72
DetectionFrameCoordinatesTask.h
DetectionFrameCoordinates.h
SourceXtractor::DetectionFrameCoordinatesTask::computeProperties
void computeProperties(SourceInterface &source) const override
Computes one or more properties for the Source.
Definition:
DetectionFrameCoordinatesTask.cpp:26
DetectionFrame.h
SourceXtractor::SourceInterface
The SourceInterface is an abstract "source" that has properties attached to it.
Definition:
SourceInterface.h:46
SourceXtractor::DetectionFrameCoordinates
Definition:
DetectionFrameCoordinates.h:26
Generated by
1.8.5