Class SensorMapping<T>
- java.lang.Object
-
- org.orekit.rugged.adjustment.measurements.SensorMapping<T>
-
public class SensorMapping<T> extends Object
Container for mapping sensor pixels with sensor pixels or ground points.- Since:
- 2.0
- Author:
- Lucie Labat-Allee, Guylaine Prat
-
-
Constructor Summary
Constructors Constructor Description SensorMapping(String sensorName)
Build a new instance (with default Rugged name).SensorMapping(String sensorName, String ruggedName)
Build a new instance with a specific Rugged name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMapping(SensorPixel pixel, T point)
Add a mapping between a sensor pixel and another point (sensor pixel or ground point).Set<Map.Entry<SensorPixel,T>>
getMapping()
Get all the mapping entries.String
getRuggedName()
Get the name of the Rugged to which mapping applies.String
getSensorName()
Get the name of the sensor to which mapping applies.
-
-
-
Constructor Detail
-
SensorMapping
public SensorMapping(String sensorName)
Build a new instance (with default Rugged name).- Parameters:
sensorName
- name of the sensor to which mapping applies
-
-
Method Detail
-
getSensorName
public String getSensorName()
Get the name of the sensor to which mapping applies.- Returns:
- name of the sensor to which mapping applies
-
getRuggedName
public String getRuggedName()
Get the name of the Rugged to which mapping applies.- Returns:
- name of the Rugged to which mapping applies
-
addMapping
public void addMapping(SensorPixel pixel, T point)
Add a mapping between a sensor pixel and another point (sensor pixel or ground point).- Parameters:
pixel
- sensor pixelpoint
- sensor pixel or ground point corresponding to the sensor pixel
-
getMapping
public Set<Map.Entry<SensorPixel,T>> getMapping()
Get all the mapping entries.- Returns:
- an unmodifiable view of all mapping entries
-
-