Spelunx Cavern SDK
 
Loading...
Searching...
No Matches
Spelunx.Orbbec.FrameDataProvider Class Reference

Processes data from the ORBBEC sensor in a background thread to produce FrameData. More...

Inheritance diagram for Spelunx.Orbbec.FrameDataProvider:
Inheritance graph
Collaboration diagram for Spelunx.Orbbec.FrameDataProvider:
Collaboration graph

Public Member Functions

delegate void FinishCallback ()
 
 FrameDataProvider (int deviceId, SensorOrientation orientation, FinishCallback onFinish)
 
void Dispose ()
 
bool GetData (ref FrameData output)
 

Protected Member Functions

void RunBackgroundThreadAsync (int deviceId, CancellationToken token, FinishCallback onFinish)
 

Properties

bool HasStarted = false [get, protected set]
 Flag to determine of the background thread has started.
 
bool HasData = false [get]
 
string DeviceSerial [get]
 
SensorOrientation Orientation [get]
 

Detailed Description

Processes data from the ORBBEC sensor in a background thread to produce FrameData.

Definition at line 11 of file FrameDataProvider.cs.

Constructor & Destructor Documentation

◆ FrameDataProvider()

Spelunx.Orbbec.FrameDataProvider.FrameDataProvider ( int  deviceId,
SensorOrientation  orientation,
FinishCallback  onFinish 
)
inline

Definition at line 26 of file FrameDataProvider.cs.

Member Function Documentation

◆ Dispose()

void Spelunx.Orbbec.FrameDataProvider.Dispose ( )
inline

Definition at line 36 of file FrameDataProvider.cs.

◆ FinishCallback()

delegate void Spelunx.Orbbec.FrameDataProvider.FinishCallback ( )

◆ GetData()

bool Spelunx.Orbbec.FrameDataProvider.GetData ( ref FrameData  output)
inline

Definition at line 46 of file FrameDataProvider.cs.

◆ RunBackgroundThreadAsync()

void Spelunx.Orbbec.FrameDataProvider.RunBackgroundThreadAsync ( int  deviceId,
CancellationToken  token,
FinishCallback  onFinish 
)
inlineprotected

Definition at line 59 of file FrameDataProvider.cs.

Property Documentation

◆ DeviceSerial

string Spelunx.Orbbec.FrameDataProvider.DeviceSerial
get

Definition at line 17 of file FrameDataProvider.cs.

◆ HasData

bool Spelunx.Orbbec.FrameDataProvider.HasData = false
get

Definition at line 16 of file FrameDataProvider.cs.

◆ HasStarted

bool Spelunx.Orbbec.FrameDataProvider.HasStarted = false
getprotected set

Flag to determine of the background thread has started.

Definition at line 15 of file FrameDataProvider.cs.

◆ Orientation

SensorOrientation Spelunx.Orbbec.FrameDataProvider.Orientation
get

Definition at line 18 of file FrameDataProvider.cs.


The documentation for this class was generated from the following file: