Show / Hide Table of Contents

    Class ArucoGridBoard

    Describes an ArUco grid board.

    Inheritance
    Object
    ArucoObject
    ArucoBoard
    ArucoGridBoard
    Inherited Members
    ArucoBoard.MarginsLength
    ArucoBoard.ImageSize
    ArucoBoard.Board
    ArucoBoard.AxisLength
    ArucoBoard.Rvec
    ArucoBoard.Tvec
    ArucoBoard.Awake()
    ArucoBoard.UpdateProperties()
    ArucoObject.metersToPixels300ppp
    ArucoObject.PropertyUpdating
    ArucoObject.PropertyUpdated
    ArucoObject.ArucoHashCode
    ArucoObject.Dictionary
    ArucoObject.MarkerSideLength
    ArucoObject.MarkerBorderBits
    ArucoObject.DisplayInEditor
    ArucoObject.OnValidate()
    ArucoObject.OnPropertyUpdating()
    ArucoObject.OnPropertyUpdated()
    ArucoObject.GetInPixels(Single)
    Namespace: ArucoUnity.Objects
    Assembly: Assembly-CSharp.dll
    Syntax
    public class ArucoGridBoard : ArucoBoard

    Properties

    | Improve this Doc View Source

    MarkerSeparation

    Gets or sets the separation between two consecutive markers in the grid. In pixels for Creators. In meters for Trackers and Calibrators.

    Declaration
    public float MarkerSeparation { get; set; }
    Property Value
    Type Description
    Single
    | Improve this Doc View Source

    MarkersNumberX

    Gets or sets the number of markers in the X direction.

    Declaration
    public int MarkersNumberX { get; set; }
    Property Value
    Type Description
    Int32
    | Improve this Doc View Source

    MarkersNumberY

    Gets or sets the number of markers in the Y direction.

    Declaration
    public int MarkersNumberY { get; set; }
    Property Value
    Type Description
    Int32
    | Improve this Doc View Source

    MarkersUsedForEstimation

    Gets or sets the number of markers employed by the tracker the last frame for the estimation of the transform of the board.

    Declaration
    public int MarkersUsedForEstimation { get; }
    Property Value
    Type Description
    Int32

    Methods

    | Improve this Doc View Source

    Draw()

    Declaration
    public override Cv.Mat Draw()
    Returns
    Type Description
    Cv.Mat
    Overrides
    ArucoObject.Draw()
    | Improve this Doc View Source

    GenerateName()

    Declaration
    public override string GenerateName()
    Returns
    Type Description
    String
    Overrides
    ArucoObject.GenerateName()
    | Improve this Doc View Source

    GetArucoHashCode(Int32, Int32, Single, Single)

    Computes the hash code of a grid board.

    Declaration
    public static int GetArucoHashCode(int markersNumberX, int markersNumberY, float markerSideLength, float markerSeparation)
    Parameters
    Type Name Description
    Int32 markersNumberX

    The number of markers in the X direction.

    Int32 markersNumberY

    The number of markers in the Y direction.

    Single markerSideLength

    The side length of each marker.

    Single markerSeparation

    The separation between two consecutive markers in the grid.

    Returns
    Type Description
    Int32

    The calculated ArUco hash code.

    | Improve this Doc View Source

    GetGameObjectScale()

    Declaration
    public override Vector3 GetGameObjectScale()
    Returns
    Type Description
    Vector3
    Overrides
    ArucoObject.GetGameObjectScale()
    | Improve this Doc View Source

    UpdateArucoHashCode()

    Declaration
    protected override void UpdateArucoHashCode()
    Overrides
    ArucoObject.UpdateArucoHashCode()
    | Improve this Doc View Source

    UpdateBoard()

    Declaration
    protected override void UpdateBoard()
    Overrides
    ArucoBoard.UpdateBoard()
    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • MarkerSeparation
      • MarkersNumberX
      • MarkersNumberY
      • MarkersUsedForEstimation
    • Methods
      • Draw()
      • GenerateName()
      • GetArucoHashCode(Int32, Int32, Single, Single)
      • GetGameObjectScale()
      • UpdateArucoHashCode()
      • UpdateBoard()
    Back to top Aruco Unity - Erwan Normand