Skip to main content

Class index — C# API (AR51.Net)

Every public type of the AR51.Net assembly, grouped by area. All types are in the one namespace AR51.Net.

Units

Positions are in meters, in the AR 51 world: left-handed, X right, Y up, Z forward (the same axes as Unity). Rotations are System.Numerics.Quaternion. See Data conventions.

Connecting​

TypeKind
AR51Clientstatic classCreates IAR51Client instances.
AR51ClientOptionsrecord · sealedSettings for AR51Client.Create.
AR51ErrorCodeenumWhat went wrong in a AR51Exception.
AR51Exceptionclass · sealedThrown when a call to the AR 51 system fails.
ConnectionStateenumThe connection state of an IAR51Client.
ConnectionStateChangedEventArgsclass · sealedData for IAR51Client.ConnectionStateChanged.
IAR51ClientinterfaceThe AR 51 system: finds the server, connects, and gives you every service through one object.

Skeletons​

TypeKind
HandJointenumHand joints reported in a HandPose.
HandPoseclass · sealedThe joint positions of one hand, from a headset with hand tracking.
ISkeletonClientinterfaceLive skeletons of the people the AR 51 system tracks.
JointenumBody joints reported in a Skeleton.
Skeletonclass · sealedOne tracked person at one moment: the 3D position and confidence of each body joint, the hands when a hand-tracking headset reports them, plus identity and timing.
SkeletonClientclass · sealedReceives live skeletons from the AR 51 skeleton service.
SkeletonEventArgsclass · sealedData for ISkeletonClient.SkeletonReceived.

Object detection​

TypeKind
IObjectDetectionClientinterfaceLive tracked objects, for example props.
ObjectDetectionClientclass · sealedReceives live tracked objects from the AR 51 object detection service.
TrackedObjectclass · sealedOne tracked object at one moment, for example a prop: its position and rotation, plus identity and timing.
TrackedObjectEventArgsclass · sealedData for IObjectDetectionClient.ObjectReceived.

Servers​

TypeKind
IServerClientinterfaceThe AR 51 server machines: see their status, launch or quit the AR 51 server program, and start or stop tracking.
ServerInforecord · sealedAn AR 51 server machine.
ServersChangedEventArgsclass · sealedData for IServerClient.ServersChanged.
ServerStateenumWhether the AR 51 server program is running on a machine.
ServerStatusrecord · sealedThe status of an AR 51 server machine.
TrackingStateenumWhether the AR 51 server program is tracking.

Cameras​

TypeKind
AutoTuneEndedEventArgsclass · sealedData for ICameraClient.AutoTuneEnded.
AutoTuneOptionsrecord · sealedOptions for ICameraClient.StartAutoTuneAsync.
AutoTuneOutcomeenumHow an auto-tune ended.
AutoTuneStatusrecord · sealedThe status of an auto-tune across all camera servers.
AutoTuneStatusEventArgsclass · sealedData for ICameraClient.AutoTuneStarted and ICameraClient.AutoTuneProgressChanged.
CameraAutoTuneStatusrecord · sealedThe auto-tune status of one camera.
CameraCalibrationrecord · sealedA camera's calibration values, in the OpenCV convention.
CameraFramerecord · sealedOne preview image from a camera.
CameraInforecord · sealedAn AR 51 camera.
CameraSettingsrecord · sealedA camera's image settings.
ICameraClientinterfaceThe AR 51 cameras: list them with their calibration values, preview their video, change their image settings, and tune those settings automatically.
LensDistortionrecord struct · readonlyLens distortion coefficients, in the OpenCV order (k1, k2, p1, p2, k3).
PreviewOptionsrecord · sealedOptions for ICameraClient.StreamPreviewAsync.

Calibration​

TypeKind
CalibrationEndedEventArgsclass · sealedData for ICalibrationClient.CalibrationEnded.
CalibrationOutcomeenumHow a calibration ended.
CalibrationResultrecord · sealedThe result of a calibration.
CalibrationStatusrecord · sealedThe status of camera calibration.
CalibrationStatusEventArgsclass · sealedData for ICalibrationClient.CalibrationStarted and ICalibrationClient.CalibrationProgressChanged.
CaptureBoundsrecord · sealedThe tracked area: a box in the AR 51 world (meters; left-handed, X right, Y up, Z forward).
ICalibrationClientinterfaceCamera calibration and the tracked area (capture bounds).

Recording​

TypeKind
IRecordingClientinterfaceRecords camera video and tracking data on the AR 51 servers.
RecordingOptionsrecord · sealedOptions for IRecordingClient.StartRecordingAsync.
RecordingStateEventArgsclass · sealedData for IRecordingClient.RecordingStateChanged.

Devices​

TypeKind
DeviceInforecord · sealedA device connected to the AR 51 system.
DevicePlatformenumThe platform of a connected device.
DevicesChangedEventArgsclass · sealedData for IDeviceClient.DevicesChanged.
DeviceTypeenumThe kind of a connected device.
IDeviceClientinterfaceThe apps and devices connected to the AR 51 system: headsets, Unity and Unreal apps, phones and Mocap Studio.
Was this page helpful?