SensorModel factory for external models
Part of #1506
This item has a low priority for now, but it will be a real asset in the future.
The idea is to improve the SensorModel factory mechanism to load external sensor models. They should be used in association with the metadata entry
MDGeom::SensorModel. The model is stored as a
boost::any, the SensorModel will be in charge of its usage and serialization (so that GDAL can read/write the model to its metadata).
The SensorModel should derive from
otb::GenericRSTransform (after its refactoring).
I don't think we need to include the optimization functions in the SensorModel (
Optimize), they can be handled separately. The optimization functions are not top priority in this refactoring.
On the packaging side, we can:
- use a plugin mechanism to detect external sensor models in
- use the variable
ITK_AUTOLOAD_PATHto load the plugins