PTrack.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015-2018 Digital Barriers plc. All rights reserved.
3  * Contact: http://www.digitalbarriers.com/
4  *
5  * This file is part of the Papillon SDK.
6  *
7  * You can't use, modify or distribute any part of this file without
8  * the explicit written agreements of Digital Barriers.
9  */
10 
15 #pragma once
16 #include <PObject.h>
17 
18 PAPILLON_BEGIN_NAMESPACE
19 
20 class PGuid;
21 
28 class PAPILLON_API_CORE PTrack : public PObject
29 {
30 public:
34  PTrack();
35 
39  PTrack(const PGuid& id, float confidence);
40 
46  PTrack(const PTrack& other);
47 
51  virtual ~PTrack();
52 
58  PTrack& operator=(const PTrack& other);
59 
63  bool operator==(const PTrack& other) const;
64 
68  PTrack Clone() const;
69 
73  PGuid GetTrackId() const;
74 
79  float GetConfidence() const;
80 
84  void SetTrackId(const PGuid& val);
85 
89  void SetConfidence(float val);
90 
94  void Clear();
95 };
96 
97 PAPILLON_END_NAMESPACE
The PTrack class represents a Track of object as face or person.
Definition: PTrack.h:28
The PObject class is the root class of all Papillon classes; all PObject behaves like shared referenc...
Definition: PObject.h:27
The PGuid class represents a Globally Unique Identifier (GUID); PGuid instances are immutable (thread...
Definition: PGuid.h:28
Class PObject: the root class of all Papillon classes.
PObject & operator=(const PObject &obj)
Performs a shared copy of other to this object.
Definition: PObject.h:45