(core): new service module::data::SGetCamera
Description
This service is introduced in the context of the rework of sight::module::data::SExtractObj
. Please refer to #799 (closed) for details.
Proposal
The service sight::module::core::data::SGetCamera
extracts camera parameters from a camera series. The XML configuration will be:
<service uid="..." type="sight::module::data::SGetCamera" >
<inout key="cameraSeries" uid="..."/>
<out group="camera" >
<key index="0" uid="..." />
<key index="1" uid="..." />
</out>
<out group="extrinsic" >
<key index="1" uid="..." />
</out>
</service>
where:
- cameraSeries is a
sight::data::CameraSeries
- camera group data are
sight::data::Camera
- extrinsic matrix data are
sight::data::Matrix4
The service must be implemented, tested (in a unit-test). In existing XML configurations, the occurrences of SExtractObj
where this service is used to extract camera parameters must be replaced.
Links / references
#799 (closed) for details.