Class TofArCoordinateManager
TofAr Coordinateコンポーネントとの接続を管理する
下記機能を有する
- GetPropertyによる変換座標の取得
Inheritance
Inherited Members
Namespace: TofAr.V0.Coordinate
Assembly: TofArCoordinateAssembly.dll
Syntax
public class TofArCoordinateManager : Singleton<TofArCoordinateManager>, IStreamStoppable, IDisposable, IStreamHolder
Properties
FrameRate
実測FPS
Declaration
public float FrameRate { get; }
Property Value
Type |
---|
System.Single |
IsStreamActive
trueの場合ストリーミングを行っている
Declaration
[Obsolete("IsStreamActive is obsolete and will be removed in a future version")]
public bool IsStreamActive { get; }
Property Value
Type |
---|
System.Boolean |
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
コンポーネントのバージョン番号
Declaration
public string Version { get; }
Property Value
Type |
---|
System.String |
Methods
Dispose()
オブジェクト破棄
Declaration
public void Dispose()
Dispose(Boolean)
破棄処理
Declaration
public void Dispose(bool ignoreEventRelease)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | ignoreEventRelease | trueの場合、イベントハンドラのクリアをスキップする |
GetProperty<T>(T)
コンポーネントプロパティを取得する。入力パラメータvalueを指定可能。
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 | 入力パラメータ |
Returns
Type | Description |
---|---|
T | プロパティクラス |
Type Parameters
Name | Description |
---|---|
T | 入力パラメータクラス |
GetProperty<T>(CameraPointToColorPointProperty)
コンポーネントプロパティを取得する。入力パラメータvalueを指定可能。
Declaration
public CameraPointToColorPointProperty GetProperty<T>(CameraPointToColorPointProperty value)
Parameters
Type | Name | Description |
---|---|---|
CameraPointToColorPointProperty | value | 入力パラメータ |
Returns
Type | Description |
---|---|
CameraPointToColorPointProperty | プロパティクラス |
Type Parameters
Name | Description |
---|---|
T | 入力パラメータクラス |
GetProperty<T>(CameraPointToDepthPointProperty)
コンポーネントプロパティを取得する。入力パラメータvalueを指定可能。
Declaration
public CameraPointToDepthPointProperty GetProperty<T>(CameraPointToDepthPointProperty value)
Parameters
Type | Name | Description |
---|---|---|
CameraPointToDepthPointProperty | value | 入力パラメータ |
Returns
Type | Description |
---|---|
CameraPointToDepthPointProperty | プロパティクラス |
Type Parameters
Name | Description |
---|---|
T | 入力パラメータクラス |
GetProperty<T>(ColorToCameraProperty)
コンポーネントプロパティを取得する。入力パラメータvalueを指定可能。
Declaration
public ColorToCameraProperty GetProperty<T>(ColorToCameraProperty value)
Parameters
Type | Name | Description |
---|---|---|
ColorToCameraProperty | value | 入力パラメータ |
Returns
Type | Description |
---|---|
ColorToCameraProperty | プロパティクラス |
Type Parameters
Name | Description |
---|---|
T | 入力パラメータクラス |
GetProperty<T>(ColorToDepthProperty)
コンポーネントプロパティを取得する。入力パラメータvalueを指定可能。
Declaration
public ColorToDepthProperty GetProperty<T>(ColorToDepthProperty value)
Parameters
Type | Name | Description |
---|---|---|
ColorToDepthProperty | value | 入力パラメータ |
Returns
Type | Description |
---|---|
ColorToDepthProperty | プロパティクラス |
Type Parameters
Name | Description |
---|---|
T | 入力パラメータクラス |
GetProperty<T>(DepthPointToCameraPointProperty)
コンポーネントプロパティを取得する。入力パラメータvalueを指定可能。
Declaration
public DepthPointToCameraPointProperty GetProperty<T>(DepthPointToCameraPointProperty value)
Parameters
Type | Name | Description |
---|---|---|
DepthPointToCameraPointProperty | value | 入力パラメータ |
Returns
Type | Description |
---|---|
DepthPointToCameraPointProperty | プロパティクラス |
Type Parameters
Name | Description |
---|---|
T | 入力パラメータクラス |
GetProperty<T>(DepthPointToColorPointProperty)
コンポーネントプロパティを取得する。入力パラメータvalueを指定可能。
Declaration
public DepthPointToColorPointProperty GetProperty<T>(DepthPointToColorPointProperty value)
Parameters
Type | Name | Description |
---|---|---|
DepthPointToColorPointProperty | value | 入力パラメータ |
Returns
Type | Description |
---|---|
DepthPointToColorPointProperty | プロパティクラス |
Type Parameters
Name | Description |
---|---|
T | 入力パラメータクラス |
GetProperty<T>(DepthToCameraProperty)
コンポーネントプロパティを取得する。入力パラメータvalueを指定可能。
Declaration
public DepthToCameraProperty GetProperty<T>(DepthToCameraProperty value)
Parameters
Type | Name | Description |
---|---|---|
DepthToCameraProperty | value | 入力パラメータ |
Returns
Type | Description |
---|---|
DepthToCameraProperty | プロパティクラス |
Type Parameters
Name | Description |
---|---|
T | 入力パラメータクラス |
GetProperty<T>(DepthToColorProperty)
コンポーネントプロパティを取得する。入力パラメータvalueを指定可能。
Declaration
public DepthToColorProperty GetProperty<T>(DepthToColorProperty value)
Parameters
Type | Name | Description |
---|---|---|
DepthToColorProperty | value | 入力パラメータ |
Returns
Type | Description |
---|---|
DepthToColorProperty | プロパティクラス |
Type Parameters
Name | Description |
---|---|
T | 入力パラメータクラス |
GetPropertyList()
Propertyリスト取得
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のリスト |
SetProperty<T>(T)
コンポーネントプロパティを設定する
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 | 入力パラメータ |
Type Parameters
Name | Description |
---|---|
T | 入力パラメータクラス |
StartStream()
ストリーミングを開始する
Declaration
[Obsolete("StartStream is obsolete and will be removed in a future version")]
public void StartStream()
StopStream()
ストリーミングを停止する
Declaration
[Obsolete("StopStream is obsolete and will be removed in a future version")]
public void StopStream()
Events
OnApplicationPausing
アプリケーション一時停止開始時
Declaration
public static event TofArCoordinateManager.ApplicationPausingEventHandler OnApplicationPausing
Event Type
Type | Description |
---|---|
TofArCoordinateManager.ApplicationPausingEventHandler |
OnApplicationResuming
アプリケーション復帰開始時
Declaration
public static event TofArCoordinateManager.ApplicationResumingEventHandler OnApplicationResuming
Event Type
Type | Description |
---|---|
TofArCoordinateManager.ApplicationResumingEventHandler |