36 lines
913 B
C#
36 lines
913 B
C#
using RobotNet10.Shared.Enum;
|
|
using RobotNet10.Shared.Numbers;
|
|
|
|
namespace RobotNet10.Shared.Detection;
|
|
|
|
|
|
/// <summary>
|
|
/// Request to search for a specific marker
|
|
/// </summary>
|
|
public struct MarkerEntry
|
|
{
|
|
/// <summary>
|
|
/// Marker ID from database
|
|
/// </summary>
|
|
public string MarkerId { get; set; }
|
|
|
|
public MarkerType Type { get; set; }
|
|
|
|
/// <summary>
|
|
/// Search priority (1 = highest, 2 = second highest, etc.)
|
|
/// Lower number = higher priority
|
|
/// </summary>
|
|
public int Priority { get; set; }
|
|
|
|
public string DeviceId { get; set; }
|
|
|
|
public string Code { get; set; }
|
|
|
|
/// <summary>
|
|
/// Optional: Override detection parameters for this session
|
|
/// If null, use default parameters from marker definition
|
|
/// Tọa độ trong marker frame
|
|
/// </summary>
|
|
public Vector2[] ReferencePoints { get; set; }
|
|
}
|