コード例 #1
0
        /// <summary>
        /// Registers the callback.
        /// </summary>
        /// <param name="framePairs">Frame pairs.</param>
        public void SetCallback(TangoCoordinateFramePair[] framePairs)
        {
            m_poseAvailableCallback = new Tango.PoseProvider.TangoService_onPoseAvailable(_OnPoseAvailable);
            Tango.PoseProvider.SetCallback(framePairs, m_poseAvailableCallback);

            m_motionTrackingData = new TangoPoseData();
            m_areaLearningData   = new TangoPoseData();
            m_relocalizationData = new TangoPoseData();
        }
コード例 #2
0
 /// <summary>
 /// Registers the callback.
 /// </summary>
 /// <param name="framePairs">Frame pairs.</param>
 public virtual void SetCallback(TangoCoordinateFramePair[] framePairs)
 {
     m_poseAvailableCallback = new Tango.PoseProvider.TangoService_onPoseAvailable(_OnPoseAvailable);
     Tango.PoseProvider.SetCallback(framePairs, m_poseAvailableCallback);
 }
コード例 #3
0
        /// <summary>
        /// Registers the callback.
        /// </summary>
        /// <param name="framePairs">Frame pairs.</param>
        public void SetCallback(TangoCoordinateFramePair[] framePairs)
        {
            m_poseAvailableCallback = new Tango.PoseProvider.TangoService_onPoseAvailable(_OnPoseAvailable);
            Tango.PoseProvider.SetCallback(framePairs, m_poseAvailableCallback);

            m_motionTrackingData = new TangoPoseData();
            m_areaLearningData = new TangoPoseData();
            m_relocalizationData = new TangoPoseData();
        }