类 GridBoard


  • public class GridBoard
    extends Board
    带有标记网格排列的平面板 更常见的板类型。所有标记都放置在同一平面上,呈网格排列。板图像可以使用 generateImage() 方法绘制。
    • 构造函数详细信息

      • GridBoard

        protected GridBoard​(long addr)
      • GridBoard

        public GridBoard​(Size size,
                         float markerLength,
                         float markerSeparation,
                         Dictionary dictionary,
                         Mat ids)
        GridBoard 构造函数
        参数
        size - x 和 y 方向上标记的数量
        markerLength - 标记边长(通常以米为单位)
        markerSeparation - 两个标记之间的间距(与 markerLength 相同的单位)
        dictionary - 标记字典,指示标记的类型
        ids - 要在板上使用的字典中的标记 id 集。
      • GridBoard

        public GridBoard​(Size size,
                         float markerLength,
                         float markerSeparation,
                         Dictionary dictionary)
        GridBoard 构造函数
        参数
        size - x 和 y 方向上标记的数量
        markerLength - 标记边长(通常以米为单位)
        markerSeparation - 两个标记之间的间距(与 markerLength 相同的单位)
        dictionary - 标记字典,指示标记的类型
    • 方法详细信息

      • __fromPtr__

        public static GridBoard __fromPtr__​(long addr)
      • getGridSize

        public Size getGridSize()
      • getMarkerLength

        public float getMarkerLength()
      • getMarkerSeparation

        public float getMarkerSeparation()
      • finalize

        protected void finalize()
                         throws java.lang.Throwable
        重写
        finalize 在类 Board
        抛出
        java.lang.Throwable