IZEDManager.cs 884 B

1234567891011121314151617181920212223242526
  1. using sl;
  2. public interface IZEDManager
  3. {
  4. /// <summary>
  5. /// Whether the object detection module has been activated successfully.
  6. /// </summary>
  7. bool IsObjectDetectionRunning { get; }
  8. bool EstimateInitialPosition { get; }
  9. DETECTION_MODEL ObjectDetectionModel { get; }
  10. /// <summary>
  11. /// Event that's called whenever the Object Detection module detects a new frame.
  12. /// Supplies data in the form of a DetectionFrame instance, which has many helper functions for use in Unity.
  13. /// </summary>
  14. event ZEDManager.onNewDetectionTriggerDelegate OnObjectDetection;
  15. /// <summary>
  16. /// Called when the ZED has finished initializing successfully.
  17. /// Used by many scripts to run startup logic that requires that the ZED is active.
  18. /// </summary>
  19. event ZEDManager.OnZEDManagerReady OnZEDReady;
  20. void StartObjectDetection();
  21. }