Class ArucoGridBoard
Describes an ArUco grid board.
Inherited Members
Namespace: ArucoUnity.Objects
Assembly: Assembly-CSharp.dll
Syntax
public class ArucoGridBoard : ArucoBoard
Properties
| Improve this Doc View SourceMarkerSeparation
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 |
MarkersNumberX
Gets or sets the number of markers in the X direction.
Declaration
public int MarkersNumberX { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
MarkersNumberY
Gets or sets the number of markers in the Y direction.
Declaration
public int MarkersNumberY { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
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 SourceDraw()
Declaration
public override Cv.Mat Draw()
Returns
Type | Description |
---|---|
Cv.Mat |
Overrides
| Improve this Doc View SourceGenerateName()
Declaration
public override string GenerateName()
Returns
Type | Description |
---|---|
String |
Overrides
| Improve this Doc View SourceGetArucoHashCode(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. |
GetGameObjectScale()
Declaration
public override Vector3 GetGameObjectScale()
Returns
Type | Description |
---|---|
Vector3 |
Overrides
| Improve this Doc View SourceUpdateArucoHashCode()
Declaration
protected override void UpdateArucoHashCode()
Overrides
| Improve this Doc View SourceUpdateBoard()
Declaration
protected override void UpdateBoard()