8 #ifndef META_OCEAN_DEVICES_PATTERN_TRACKER_6DOF_H
9 #define META_OCEAN_DEVICES_PATTERN_TRACKER_6DOF_H
98 static inline std::string deviceNamePatternTracker6DOF();
104 static inline DeviceType deviceTypePatternTracker6DOF();
147 bool noFrameToFrameTracking_ =
false;
150 bool noDownsamplingOnAndroid_ =
false;
155 return std::string(
"Pattern 6DOF Tracker");
Definition of a class holding the major and minor device type.
Definition: devices/Device.h:62
This class implements a helper class to simplify the mapping between internal object ids (of the actu...
Definition: Measurement.h:239
unsigned int ObjectId
Definition of an object id.
Definition: Measurement.h:46
std::unordered_set< ObjectId > ObjectIdSet
Definition of an unordered set holding object ids.
Definition: Measurement.h:56
This class is the base class for all tracker allowing to track an object or location.
Definition: ObjectTracker.h:38
This class implements a base class for all devices of the Pattern library.
Definition: PatternDevice.h:29
This class implements a device factory for the Pattern feature based tracking system.
Definition: PatternFactory.h:29
This class implements a Pattern feature-based tracker.
Definition: devices/pattern/PatternTracker6DOF.h:44
bool stop() override
Stops the device.
void ensureTrackerExists()
Ensures that the tracker exists, if the tracker does not yet exist, it will be created.
OrientationTracker3DOFRef orientationTracker3DOF_
The 3DOF orientation tracker which is used to support the tracker.
Definition: devices/pattern/PatternTracker6DOF.h:141
bool start() override
Starts the device.
Tracking::VisualTrackerRef visualTracker_
Holds the 6DOF tracker object.
Definition: devices/pattern/PatternTracker6DOF.h:135
bool isStarted() const override
Returns whether this device is active.
static DeviceType deviceTypePatternTracker6DOF()
Returns the type of this tracker.
Definition: devices/pattern/PatternTracker6DOF.h:158
ObjectIdSet visiblePatterns_
Set holding all visible marker from the most recent frame.
Definition: devices/pattern/PatternTracker6DOF.h:138
void threadRun() override
Thread function.
static std::string deviceNamePatternTracker6DOF()
Returns the name of this tracker.
Definition: devices/pattern/PatternTracker6DOF.h:153
bool isObjectTracked(const ObjectId &objectId) const override
Returns whether a specific object is currently actively tracked by this tracker.
ObjectMapper< unsigned int > objectIdMapper_
The mapper between internal and external object ids.
Definition: devices/pattern/PatternTracker6DOF.h:144
~PatternTracker6DOF() override
Destructs an Pattern feature based 6DOF tracker object.
Timestamp frameTimestamp_
Frame timestamp.
Definition: devices/pattern/PatternTracker6DOF.h:132
bool setParameter(const std::string ¶meter, const Value &value) override
Sets a parameter for this tracker.
bool parameter(const std::string ¶meter, Value &value) override
Returns a parameter of this device.
ObjectId registerObject(const std::string &description, const Vector3 &dimension) override
Adds a new tracking pattern.
PatternTracker6DOF()
Creates a new Pattern feature based 6DOF tracker object.
This class implements the base for all 6DOF trackers.
Definition: Tracker6DOF.h:39
static DeviceType deviceTypeTracker6DOF()
Definition of this device type.
Definition: Tracker6DOF.h:100
@ TRACKER_VISUAL
Tracker using a visual input for their measurements.
Definition: devices/Tracker.h:62
@ TRACKER_OBJECT
Tracker allowing to register tracking objects at runtime.
Definition: devices/Tracker.h:64
This class is the base class for all tracker using visual input to create the tracking results.
Definition: devices/VisualTracker.h:41
This class implements a thread.
Definition: Thread.h:115
This class implements a timestamp.
Definition: Timestamp.h:36
This class implements a type independent value.
Definition: Value.h:23
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15