Class ArucoCharucoBoard
Describes a ChArUco board.
Inherited Members
Namespace: ArucoUnity.Objects
Assembly: Assembly-CSharp.dll
Syntax
public class ArucoCharucoBoard : ArucoBoardProperties
| Improve this Doc View SourceDetectedCorners
Gets or sets the list of the detected marker by the tracker the last frame.
Declaration
public Std.VectorPoint2f DetectedCorners { get; }Property Value
| Type | Description | 
|---|---|
| Std.VectorPoint2f | 
DetectedIds
Gets or sets the list of the ids of the detected marker by the tracker the last frame.
Declaration
public Std.VectorInt DetectedIds { get; }Property Value
| Type | Description | 
|---|---|
| Std.VectorInt | 
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 | 
SquaresNumberX
Gets or sets the number of squares in the X direction.
Declaration
public int SquaresNumberX { get; set; }Property Value
| Type | Description | 
|---|---|
| Int32 | 
SquaresNumberY
Gets or sets the number of squares in the Y direction.
Declaration
public int SquaresNumberY { get; set; }Property Value
| Type | Description | 
|---|---|
| Int32 | 
ValidTransform
Gets or sets if the transform of the board has been correctly estimated by the tracker the last frame.
Declaration
public bool ValidTransform { get; }Property Value
| Type | Description | 
|---|---|
| Boolean | 
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 ChAruco board.
Declaration
public static int GetArucoHashCode(int squaresNumberX, int squaresNumberY, float markerSideLength, float squareSideLength)Parameters
| Type | Name | Description | 
|---|---|---|
| Int32 | squaresNumberX | The number of squares in the X direction. | 
| Int32 | squaresNumberY | The number of squares in the Y direction. | 
| Single | markerSideLength | The side length of each marker. | 
| Single | squareSideLength | The side length of each square. | 
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()