Exemplo n.º 1
0
 public override void OnPreparationStepCompleted(ICPPreparationStepCompletedMessage message)
 {
     if (message.IsFirstPreparationStep())
     {
         SendMessageToListeners("OnPreparationStepCompleted", message);
     }
 }
Exemplo n.º 2
0
        public void OnPreparationStepCompleted(ICPPreparationStepCompletedMessage message)
        {
            referenceToLocalTransform = message.Transform.LocalToOther(this.transform);

            ICPFragmentType type = parentsICPController.FragmentType;

            UpdatePoints(message.Correspondences.GetPointsByType(type));
        }
        public void OnPreparationStepCompleted(ICPPreparationStepCompletedMessage message)
        {
            if (!showCorrespondences)
            {
                return;
            }

            Correspondences.AddRange(message.Correspondences);
            ReferenceTransform = message.Transform;
        }
        public void OnPreparationStepCompleted(ICPPreparationStepCompletedMessage message)
        {
            ReferenceTransform = message.Transform;
            ICPFragmentType type = ICPControllerOfParent.FragmentType;

            if (ShowNormals)
            {
                StoreNormals(message.Correspondences.GetPointsByType(type));
            }
        }
Exemplo n.º 5
0
 /// <summary>
 /// Listener that is triggered when the preparation step of ICP has been
 ///  completed. No need to do anything.
 /// </summary>
 /// <param name="message">Message.</param>
 public void OnPreparationStepCompleted(ICPPreparationStepCompletedMessage message)
 {
 }
 public void OnPreparationStepCompleted(ICPPreparationStepCompletedMessage message)
 {
     StepButton.Button.interactable = true;
 }
Exemplo n.º 7
0
 public virtual void OnPreparationStepCompleted(ICPPreparationStepCompletedMessage message)
 {
     SendMessageToListeners("OnPreparationStepCompleted", message);
 }