ObjectDataSDK.cs 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. using UnityEngine;
  2. namespace Assets.Logging.Poco
  3. {
  4. public class ObjectDataSDK
  5. {
  6. public int id;
  7. public string uniqueObjectId;
  8. public int rawLabel;
  9. public sl.OBJECT_CLASS objectClass;
  10. public sl.OBJECT_SUBCLASS objectSubClass;
  11. public sl.OBJECT_TRACK_STATE objectTrackingState;
  12. public sl.OBJECT_ACTION_STATE actionState;
  13. public float confidence;
  14. public System.IntPtr mask;
  15. public Vector2[] imageBoundingBox;
  16. public Vector3 rootWorldPosition; //object root position
  17. public Vector3 headWorldPosition; //object head position (only for HUMAN detectionModel)
  18. public Vector3 rootWorldVelocity; //object root velocity
  19. public Vector3[] worldBoundingBox; // 3D Bounding Box of object
  20. public Vector3[] headBoundingBox;// 3D Bounding Box of head (only for HUMAN detectionModel)
  21. public Vector2[] skeletonJointPosition2D;// 2D position of the joints of the skeleton
  22. public Vector3[] skeletonJointPosition;// 3D position of the joints of the skeleton
  23. public float[] positionCovariance;// covariance matrix of the 3d position, represented by its upper triangular matrix value
  24. public float[] keypointConfidence;
  25. public Vector3[] localPositionPerJoint;
  26. public Quaternion[] localOrientationPerJoint;
  27. public Quaternion globalRootOrientation;
  28. }
  29. }