Class TofArCoordinateManager
Manage the connection with TofAr Coordinate component
Has the following functions
- Get conversion coordinates with GetProperty
Inheritance
Inherited Members
Namespace: TofAr.V0.Coordinate
Assembly: TofArCoordinateAssembly.dll
Syntax
public class TofArCoordinateManager : Singleton<TofArCoordinateManager>, IStreamStoppable, IDisposable, IStreamHolder
Properties
FrameRate
Actual FPS
Declaration
public float FrameRate { get; }
Property Value
Type |
---|
System.Single |
IsStreamActive
If true, it is streaming
Declaration
[Obsolete("IsStreamActive is obsolete and will be removed in a future version")]
public bool IsStreamActive { get; }
Property Value
Type |
---|
System.Boolean |
Stream
Stream
Declaration
[Obsolete("Stream is obsolete and will be removed in a future version. Always return null")]
public Stream Stream { get; }
Property Value
Type |
---|
SensCord.Stream |
Version
Component version No.
Declaration
public string Version { get; }
Property Value
Type |
---|
System.String |
Methods
Dispose()
Object disposal
Declaration
public void Dispose()
GetProperty<T>(T)
Get property of Component. Input parameter value may be designated.
Declaration
[Obsolete("GetProperty<T> is obsolete and will be removed in a future version. Always return null")]
public T GetProperty<T>(T value)
where T : class, IBaseProperty, new()
Parameters
Type | Name | Description |
---|---|---|
T | value | Input parameter |
Returns
Type | Description |
---|---|
T | Property class |
Type Parameters
Name | Description |
---|---|
T | Input parameter class |
GetProperty<T>(CameraPointToColorPointProperty)
Get property of Component. Input parameter value may be designated.
Declaration
public CameraPointToColorPointProperty GetProperty<T>(CameraPointToColorPointProperty value)
Parameters
Type | Name | Description |
---|---|---|
CameraPointToColorPointProperty | value | Input parameter |
Returns
Type | Description |
---|---|
CameraPointToColorPointProperty | Property class |
Type Parameters
Name | Description |
---|---|
T | Input parameter class |
GetProperty<T>(CameraPointToDepthPointProperty)
Get property of Component. Input parameter value may be designated.
Declaration
public CameraPointToDepthPointProperty GetProperty<T>(CameraPointToDepthPointProperty value)
Parameters
Type | Name | Description |
---|---|---|
CameraPointToDepthPointProperty | value | Input parameter |
Returns
Type | Description |
---|---|
CameraPointToDepthPointProperty | Property class |
Type Parameters
Name | Description |
---|---|
T | Input parameter class |
GetProperty<T>(ColorToCameraProperty)
Get property of Component. Input parameter value may be designated.
Declaration
public ColorToCameraProperty GetProperty<T>(ColorToCameraProperty value)
Parameters
Type | Name | Description |
---|---|---|
ColorToCameraProperty | value | Input parameter |
Returns
Type | Description |
---|---|
ColorToCameraProperty | Property class |
Type Parameters
Name | Description |
---|---|
T | Input parameter class |
GetProperty<T>(ColorToDepthProperty)
Get property of Component. Input parameter value may be designated.
Declaration
public ColorToDepthProperty GetProperty<T>(ColorToDepthProperty value)
Parameters
Type | Name | Description |
---|---|---|
ColorToDepthProperty | value | Input parameter |
Returns
Type | Description |
---|---|
ColorToDepthProperty | Property class |
Type Parameters
Name | Description |
---|---|
T | Input parameter class |
GetProperty<T>(DepthPointToCameraPointProperty)
Get property of Component. Input parameter value may be designated.
Declaration
public DepthPointToCameraPointProperty GetProperty<T>(DepthPointToCameraPointProperty value)
Parameters
Type | Name | Description |
---|---|---|
DepthPointToCameraPointProperty | value | Input parameter |
Returns
Type | Description |
---|---|
DepthPointToCameraPointProperty | Property class |
Type Parameters
Name | Description |
---|---|
T | Input parameter class |
GetProperty<T>(DepthPointToColorPointProperty)
Get property of Component. Input parameter value may be designated.
Declaration
public DepthPointToColorPointProperty GetProperty<T>(DepthPointToColorPointProperty value)
Parameters
Type | Name | Description |
---|---|---|
DepthPointToColorPointProperty | value | Input parameter |
Returns
Type | Description |
---|---|
DepthPointToColorPointProperty | Property class |
Type Parameters
Name | Description |
---|---|
T | Input parameter class |
GetProperty<T>(DepthToCameraProperty)
Get property of Component. Input parameter value may be designated.
Declaration
public DepthToCameraProperty GetProperty<T>(DepthToCameraProperty value)
Parameters
Type | Name | Description |
---|---|---|
DepthToCameraProperty | value | Input parameter |
Returns
Type | Description |
---|---|
DepthToCameraProperty | Property class |
Type Parameters
Name | Description |
---|---|
T | Input parameter class |
GetProperty<T>(DepthToColorProperty)
Get property of Component. Input parameter value may be designated.
Declaration
public DepthToColorProperty GetProperty<T>(DepthToColorProperty value)
Parameters
Type | Name | Description |
---|---|---|
DepthToColorProperty | value | Input parameter |
Returns
Type | Description |
---|---|
DepthToColorProperty | Property class |
Type Parameters
Name | Description |
---|---|
T | Input parameter class |
GetPropertyList()
Get property list
Declaration
[Obsolete("GetPropertyList is obsolete and will be removed in a future version. Always return empty list")]
public string[] GetPropertyList()
Returns
Type | Description |
---|---|
System.String[] | Property list |
SetProperty<T>(T)
Set component property
Declaration
[Obsolete("SetProperty<T> is obsolete and will be removed in a future version")]
public void SetProperty<T>(T value)
where T : class, IBaseProperty
Parameters
Type | Name | Description |
---|---|---|
T | value | Input parameter |
Type Parameters
Name | Description |
---|---|
T | Input parameter class |
StartStream()
Start streaming
Declaration
[Obsolete("StartStream is obsolete and will be removed in a future version")]
public void StartStream()
StopStream()
Stop streaming
Declaration
[Obsolete("StopStream is obsolete and will be removed in a future version")]
public void StopStream()
Events
OnApplicationPausing
Application pausing
Declaration
public static event TofArCoordinateManager.ApplicationPausingEventHandler OnApplicationPausing
Event Type
Type | Description |
---|---|
TofArCoordinateManager.ApplicationPausingEventHandler |
OnApplicationResuming
Application resuming
Declaration
public static event TofArCoordinateManager.ApplicationResumingEventHandler OnApplicationResuming
Event Type
Type | Description |
---|---|
TofArCoordinateManager.ApplicationResumingEventHandler |