Show / Hide Table of Contents

    Class ArucoDiamond

    Describes an ChArUco diamond marker.

    Inheritance
    Object
    ArucoObject
    ArucoDiamond
    Inherited Members
    ArucoObject.metersToPixels300ppp
    ArucoObject.PropertyUpdating
    ArucoObject.PropertyUpdated
    ArucoObject.ArucoHashCode
    ArucoObject.Dictionary
    ArucoObject.MarkerSideLength
    ArucoObject.MarkerBorderBits
    ArucoObject.DisplayInEditor
    ArucoObject.Awake()
    ArucoObject.OnPropertyUpdating()
    ArucoObject.OnPropertyUpdated()
    ArucoObject.UpdateProperties()
    ArucoObject.GetInPixels(Single)
    Namespace: ArucoUnity.Objects
    Assembly: Assembly-CSharp.dll
    Syntax
    public class ArucoDiamond : ArucoObject

    Fields

    | Improve this Doc View Source

    ids

    Declaration
    protected int[] ids
    Field Value
    Type Description
    Int32[]
    | Improve this Doc View Source

    SquareNumberPerSide

    A ChArUco diamond marker is composed of 3x3 squares(3 per side).

    Declaration
    protected const int SquareNumberPerSide = 3
    Field Value
    Type Description
    Int32

    Properties

    | Improve this Doc View Source

    Ids

    Gets or sets the four ids of the four markers of the diamond.

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

    SquareSideLength

    Gets or sets the side length of each square. In pixels for Creators. In meters for Trackers and Calibrators.

    Declaration
    public float SquareSideLength { get; set; }
    Property Value
    Type Description
    Single

    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[])

    Computes the hash code of a ChArUco diamond marker.

    Declaration
    public static int GetArucoHashCode(int[] ids)
    Parameters
    Type Name Description
    Int32[] ids

    The list of ids of the four markers.

    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

    OnValidate()

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

    UpdateArucoHashCode()

    Declaration
    protected override void UpdateArucoHashCode()
    Overrides
    ArucoObject.UpdateArucoHashCode()
    • Improve this Doc
    • View Source
    Back to top Aruco Unity - Erwan Normand