TrackableObject.cs 524 B

12345678910111213141516171819202122
  1. namespace BBIWARG.Recognition.Tracking
  2. {
  3. /// <summary>
  4. /// A object that can be identified via a unique ID.
  5. /// </summary>
  6. public class TrackableObject
  7. {
  8. /// <summary>
  9. /// the track id
  10. /// </summary>
  11. public int TrackID { get; private set; }
  12. /// <summary>
  13. /// Sets the object's track id.
  14. /// </summary>
  15. /// <param name="id">the track id</param>
  16. public void setTracked(int id)
  17. {
  18. TrackID = id;
  19. }
  20. }
  21. }