TrackableObject.cs 642 B

12345678910111213141516171819202122232425262728
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace bbiwarg.Recognition.Tracking
  7. {
  8. /// <summary>
  9. /// A object that can be identified via a unique ID.
  10. /// </summary>
  11. public class TrackableObject
  12. {
  13. /// <summary>
  14. /// the track id
  15. /// </summary>
  16. public int TrackID { get; private set; }
  17. /// <summary>
  18. /// Sets the object's track id.
  19. /// </summary>
  20. /// <param name="id">the track id</param>
  21. public void setTracked(int id)
  22. {
  23. TrackID = id;
  24. }
  25. }
  26. }