Class 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 Detail

      • SensorMapping

        public SensorMapping​(String sensorName)
        Build a new instance (with default Rugged name).
        Parameters:
        sensorName - name of the sensor to which mapping applies
      • SensorMapping

        public SensorMapping​(String sensorName,
                             String ruggedName)
        Build a new instance with a specific Rugged name.
        Parameters:
        sensorName - name of the sensor to which mapping applies
        ruggedName - name of the Rugged 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 pixel
        point - 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