C# 클래스 TangoARPoseController, project-tango-poc

상속: MonoBehaviour, ITangoLifecycle
파일 보기 프로젝트 열기: stetro/project-tango-poc 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
m_useAreaDescriptionPose bool

공개 메소드들

메소드 설명
Awake ( ) : void

Awake is called when the script instance is being loaded.

OnApplicationPause ( bool pauseStatus ) : void

Unity callback when application is paused.

OnTangoPermissions ( bool permissionsGranted ) : void

This is called when the permission granting process is finished.

OnTangoServiceConnected ( ) : void

This is called when succesfully connected to the Tango service.

OnTangoServiceDisconnected ( ) : void

This is called when disconnected from the Tango service.

Start ( ) : void

Start is called on the frame when a script is enabled.

Update ( ) : void

Update is called every frame.

비공개 메소드들

메소드 설명
_SetCameraExtrinsics ( ) : void

The function is for querying the camera extrinsic, for example: the transformation between IMU and device frame. These extrinsics is used to transform the pose from the color camera frame to the device frame. Because the extrinsic is being queried using the GetPoseAtTime() with a desired frame pair, it can only be queried after the ConnectToService() is called. The device with respect to IMU frame is not directly queryable from API, so we use the IMU frame as a temporary value to get the device frame with respect to IMU frame.

_UpdateTransformation ( double timestamp ) : void

Update the transformation to the pose for that timestamp.

메소드 상세

Awake() 공개 메소드

Awake is called when the script instance is being loaded.
public Awake ( ) : void
리턴 void

OnApplicationPause() 공개 메소드

Unity callback when application is paused.
public OnApplicationPause ( bool pauseStatus ) : void
pauseStatus bool The pauseStatus as reported by Unity.
리턴 void

OnTangoPermissions() 공개 메소드

This is called when the permission granting process is finished.
public OnTangoPermissions ( bool permissionsGranted ) : void
permissionsGranted bool true if permissions were granted, otherwise false.
리턴 void

OnTangoServiceConnected() 공개 메소드

This is called when succesfully connected to the Tango service.
public OnTangoServiceConnected ( ) : void
리턴 void

OnTangoServiceDisconnected() 공개 메소드

This is called when disconnected from the Tango service.
public OnTangoServiceDisconnected ( ) : void
리턴 void

Start() 공개 메소드

Start is called on the frame when a script is enabled.
public Start ( ) : void
리턴 void

Update() 공개 메소드

Update is called every frame.
public Update ( ) : void
리턴 void

프로퍼티 상세

m_useAreaDescriptionPose 공개적으로 프로퍼티

If set, this contoller will use the Device with respect Area Description frame pose.
public bool m_useAreaDescriptionPose
리턴 bool