Interface IArucoObjectsController
Manages a list of ArucoObject.
Namespace: ArucoUnity.Objects.Trackers
Assembly: Assembly-CSharp.dll
Syntax
public interface IArucoObjectsController
Properties
| Improve this Doc View SourceArucoObjects
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 SourceAddArucoObject(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. |
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. |
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 SourceArucoObjectAdded
Called when an ArUco object has been added to ArucoObjects.
Declaration
event Action<ArucoObject> ArucoObjectAdded
Event Type
Type | Description |
---|---|
Action<ArucoObject> |
ArucoObjectRemoved
Called when an ArUco object has been removed from ArucoObjects.
Declaration
event Action<ArucoObject> ArucoObjectRemoved
Event Type
Type | Description |
---|---|
Action<ArucoObject> |
DictionaryAdded
Called when a new dictionary has been added to ArucoObjects.
Declaration
event Action<Aruco.Dictionary> DictionaryAdded
Event Type
Type | Description |
---|---|
Action<Aruco.Dictionary> |
DictionaryRemoved
Called when a dictionary has been removed from ArucoObjects.
Declaration
event Action<Aruco.Dictionary> DictionaryRemoved
Event Type
Type | Description |
---|---|
Action<Aruco.Dictionary> |