Class SceneObservations.View

  • Enclosing class:
    SceneObservations

    public static class SceneObservations.View
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      org.ddogleg.struct.GrowQueue_F32 observations  
      org.ddogleg.struct.GrowQueue_I32 point  
    • Constructor Summary

      Constructors 
      Constructor Description
      View()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(int featureIndex, float x, float y)
      Adds an observation of the specified feature.
      void checkDuplicatePoints()  
      void get​(int index, PointIndex2D_F64 observation)  
      void get​(int index, georegression.struct.point.Point2D_F64 p)  
      int getPointId​(int index)  
      void remove​(int index)
      Removes the feature and observation at the specified element
      void reset()
      Puts it back into its original state.
      void set​(int index, float x, float y)  
      int size()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • point

        public org.ddogleg.struct.GrowQueue_I32 point
      • observations

        public org.ddogleg.struct.GrowQueue_F32 observations
    • Constructor Detail

      • View

        public View()
    • Method Detail

      • size

        public int size()
      • remove

        public void remove​(int index)
        Removes the feature and observation at the specified element
      • set

        public void set​(int index,
                        float x,
                        float y)
      • getPointId

        public int getPointId​(int index)
      • get

        public void get​(int index,
                        georegression.struct.point.Point2D_F64 p)
      • add

        public void add​(int featureIndex,
                        float x,
                        float y)
        Adds an observation of the specified feature.
        Parameters:
        featureIndex - Feature index
        x - pixel x-coordinate
        y - pixel y-coordinate
      • checkDuplicatePoints

        public void checkDuplicatePoints()
      • reset

        public void reset()
        Puts it back into its original state.