Show / Hide Table of Contents

    Interface IArucoObjectsController

    Manages a list of ArucoObject.

    Namespace: ArucoUnity.Objects.Trackers
    Assembly: Assembly-CSharp.dll
    Syntax
    public interface IArucoObjectsController

    Properties

    | Improve this Doc View Source

    ArucoObjects

    Gets the list of the ArUco objects to detect.

    Declaration
    Dictionary<Aruco.Dictionary, Dictionary<int, ArucoObject>> ArucoObjects { get; }
    Property Value
    Type Description
    Dictionary<Aruco.Dictionary, Dictionary<Int32, ArucoObject>>

    Methods

    | Improve this Doc View Source

    AddArucoObject(ArucoObject)

    Adds an ArUco object to the ArucoObjects list.

    Declaration
    void AddArucoObject(ArucoObject arucoObject)
    Parameters
    Type Name Description
    ArucoObject arucoObject

    The ArUco object to add.

    | Improve this Doc View Source

    GetArucoObjects<U>(Aruco.Dictionary)

    Returns a sublist from ArucoObjects of ArUco objects of a precise type U in a certain dictionary.

    Declaration
    HashSet<U> GetArucoObjects<U>(Aruco.Dictionary dictionary)
        where U : ArucoObject
    Parameters
    Type Name Description
    Aruco.Dictionary dictionary

    The Aruco.Dictionary to use.

    Returns
    Type Description
    HashSet<U>

    The sublist.

    Type Parameters
    Name Description
    U

    The type of the ArUco objects in the returned sublist.

    | Improve this Doc View Source

    RemoveArucoObject(ArucoObject)

    Removes an ArUco object to the ArucoObjects list.

    Declaration
    void RemoveArucoObject(ArucoObject arucoObject)
    Parameters
    Type Name Description
    ArucoObject arucoObject

    The ArUco object to remove.

    Events

    | Improve this Doc View Source

    ArucoObjectAdded

    Called when an ArUco object has been added to ArucoObjects.

    Declaration
    event Action<ArucoObject> ArucoObjectAdded
    Event Type
    Type Description
    Action<ArucoObject>
    | Improve this Doc View Source

    ArucoObjectRemoved

    Called when an ArUco object has been removed from ArucoObjects.

    Declaration
    event Action<ArucoObject> ArucoObjectRemoved
    Event Type
    Type Description
    Action<ArucoObject>
    | Improve this Doc View Source

    DictionaryAdded

    Called when a new dictionary has been added to ArucoObjects.

    Declaration
    event Action<Aruco.Dictionary> DictionaryAdded
    Event Type
    Type Description
    Action<Aruco.Dictionary>
    | Improve this Doc View Source

    DictionaryRemoved

    Called when a dictionary has been removed from ArucoObjects.

    Declaration
    event Action<Aruco.Dictionary> DictionaryRemoved
    Event Type
    Type Description
    Action<Aruco.Dictionary>
    • Improve this Doc
    • View Source
    Back to top Aruco Unity - Erwan Normand