Class SceneStructureMetric.Rigid

  • Enclosing class:
    SceneStructureMetric

    public static class SceneStructureMetric.Rigid
    extends java.lang.Object
    A set of connected points that form a rigid structure. The 3D location of points in the rigid body's reference frame is constant.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int indexFirst
      Index of the first point in the list
      boolean known  
      georegression.struct.se.Se3_F64 objectToWorld
      Transform from world into the rigid object's frame
      SceneStructureCommon.Point[] points
      Location of points in object's reference frame.
    • Constructor Summary

      Constructors 
      Constructor Description
      Rigid()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void getPoint​(int which, georegression.struct.point.Point3D_F64 p)  
      void getPoint​(int which, georegression.struct.point.Point4D_F64 p)  
      int getTotalPoints()  
      void reset()  
      void setPoint​(int which, double x, double y, double z)  
      void setPoint​(int which, double x, double y, double z, double w)  
      • Methods inherited from class java.lang.Object

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

      • known

        public boolean known
      • objectToWorld

        public georegression.struct.se.Se3_F64 objectToWorld
        Transform from world into the rigid object's frame
      • points

        public SceneStructureCommon.Point[] points
        Location of points in object's reference frame. The coordinate is always fixed.
      • indexFirst

        public int indexFirst
        Index of the first point in the list
    • Constructor Detail

      • Rigid

        public Rigid()
    • Method Detail

      • reset

        public void reset()
      • setPoint

        public void setPoint​(int which,
                             double x,
                             double y,
                             double z)
      • setPoint

        public void setPoint​(int which,
                             double x,
                             double y,
                             double z,
                             double w)
      • getPoint

        public void getPoint​(int which,
                             georegression.struct.point.Point3D_F64 p)
      • getPoint

        public void getPoint​(int which,
                             georegression.struct.point.Point4D_F64 p)
      • getTotalPoints

        public int getTotalPoints()