Exemplo n.º 1
0
 /// <summary>
 /// On deselection, informs the preview window that this object no longer sends preview data to be displayed.
 /// </summary>
 public void Deselected()
 {
     // Remove the preview window listener.
     processing.cameraSetup.onPreviewIndexChangeEvent.RemoveListener(OnPreviewIndexChange);
     // Inform the preview window that this object no longer sends preview data to be displayed.
     PreviewWindow.RemoveCaller(_renderCallerName);
     PreviewWindow.RemoveCaller(_evalCallerName);
 }
Exemplo n.º 2
0
 /// <summary>
 /// On deselection, informs the preview window that this object no longer sends preview data to be displayed.
 /// </summary>
 public void Deselected()
 {
     // Notify the camera setup.
     cameraSetup.Deselected();
     // Remove the preview window listener.
     cameraSetup.onPreviewIndexChangeEvent.RemoveListener(OnPreviewIndexChange);
     // Inform the preview window that this object no longer sends preview data to be displayed.
     PreviewWindow.RemoveCaller(_sourceCallerName);
 }
 /// <summary>
 /// On deselection, reset certain properties.
 /// </summary>
 public void Deselected()
 {
     // Notify the camera setup.
     cameraSetup.Deselected();
     // Destroy any objects created for preview.
     DestroyPreviewObjects();
     // Remove the preview window listener.
     cameraSetup.onPreviewIndexChangeEvent.RemoveListener(OnPreviewIndexChange);
     // Inform the preview window that this object no longer sends preview data to be displayed.
     PreviewWindow.RemoveCaller(_colorCallerName);
     PreviewWindow.RemoveCaller(_depthCallerName);
 }
 /// <inheritdoc/>
 public override void Deselected()
 {
     base.Deselected();
     // Notify the preview window that this object will no longer send images for preview.
     PreviewWindow.RemoveCaller(_previewCallerName);
 }