Replace SensorModelBase with SensorTransformBase authored by Julien Osman's avatar Julien Osman
...@@ -213,7 +213,7 @@ classDiagram ...@@ -213,7 +213,7 @@ classDiagram
-TransformPoint(Point)* Point -TransformPoint(Point)* Point
} }
class SensorModelBase~TScalarType, NInputDimensions, NOutputDimensions~{ class SensorTransformBase~TScalarType, NInputDimensions, NOutputDimensions~{
-SetMetadataModel(boost_any)* bool -SetMetadataModel(boost_any)* bool
-IsValidSensorModel()* bool -IsValidSensorModel()* bool
} }
...@@ -233,17 +233,17 @@ classDiagram ...@@ -233,17 +233,17 @@ classDiagram
-TransformPoint(Point) Point -TransformPoint(Point) Point
} }
Transform <|-- SensorModelBase Transform <|-- SensorTransformBase
SensorModelBase <|-- RPCTransformBase SensorTransformBase <|-- RPCTransformBase
RPCTransformBase <|-- RPCForwardTransform RPCTransformBase <|-- RPCForwardTransform
RPCTransformBase <|-- RPCInverseTransform RPCTransformBase <|-- RPCInverseTransform
``` ```
The class ```otb::SensorModelBase``` is the new base class for sensor The class ```otb::SensorTransformBase``` is the new base class for
models. It inherits from ```otb::Transform```, which inherits from sensor models. It inherits from ```otb::Transform```, which inherits
```itk::Transform```. It is templated over the data type, and input from ```itk::Transform```. It is templated over the data type, and
and output dimentions. All sensor model classes should inherit from input and output dimentions. All sensor model classes should inherit
it, and implement the methods: from it, and implement the methods:
- ```SetMetadataModel``` that takes a boost::any object representing - ```SetMetadataModel``` that takes a boost::any object representing
the model; the model;
... ...
......