Ocean
|
Definition of a sample holding one measurement values of a tracker. More...
#include <Tracker.h>
Public Member Functions | |
ReferenceSystem | referenceSystem () const |
Returns the reference system of the tracker. | |
![]() | |
const Timestamp & | timestamp () const |
Returns the sample timestamp. | |
const ObjectIds & | objectIds () const |
Returns the sample object ids specifying possible different measurement units. | |
const Metadata & | metadata () const |
Returns the metadata of this sample. | |
Protected Member Functions | |
TrackerSample (const Timestamp ×tamp, const ReferenceSystem referenceSystem, const ObjectIds &objectIds, const Metadata &metadata) | |
Creates a new tracker sample. | |
TrackerSample (const Timestamp ×tamp, const ReferenceSystem referenceSystem, ObjectIds &&objectIds, Metadata &&metadata) | |
Creates a new tracker sample. | |
![]() | |
Sample (const Timestamp ×tamp, const ObjectIds &objectIds, const Metadata &metadata=Metadata()) | |
Creates a new measurement sample. | |
Sample (const Timestamp ×tamp, ObjectIds &&objectIds, Metadata &&metadata=Metadata()) | |
Creates a new measurement sample. | |
virtual | ~Sample () |
Destructs a sample. | |
Protected Attributes | |
ReferenceSystem | referenceSystem_ |
Tracking reference system. | |
![]() | |
Timestamp | timestamp_ |
Sample timestamp. | |
ObjectIds | objectIds_ |
Measurement unit object ids. | |
Metadata | metadata_ |
The metadata of this sample. | |
Definition of a sample holding one measurement values of a tracker.
|
protected |
Creates a new tracker sample.
timestamp | Sample timestamp |
referenceSystem | Tracking reference system used by the underlying tracker |
objectIds | Object ids corresponding to different measurement units of one tracker |
metadata | Optional metadata of the new sample |
|
protected |
Creates a new tracker sample.
timestamp | Sample timestamp |
referenceSystem | Tracking reference system used by the underlying tracker |
objectIds | Object ids corresponding to different measurement units of one tracker |
metadata | Optional metadata of the new sample |
|
inline |
Returns the reference system of the tracker.
|
protected |
Tracking reference system.