Class ArucoDiamond
Describes an ChArUco diamond marker.
Assembly: Assembly-CSharp.dll
Syntax
public class ArucoDiamond : ArucoObject
Fields
|
Improve this Doc
View Source
ids
Declaration
Field Value
|
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
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
|
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
Methods
|
Improve this Doc
View Source
Draw()
Declaration
public override Cv.Mat Draw()
Returns
Overrides
|
Improve this Doc
View Source
GenerateName()
Declaration
public override string GenerateName()
Returns
Overrides
|
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
Overrides
|
Improve this Doc
View Source
OnValidate()
Declaration
protected override void OnValidate()
Overrides
|
Improve this Doc
View Source
UpdateArucoHashCode()
Declaration
protected override void UpdateArucoHashCode()
Overrides