8#ifndef META_OCEAN_DEVICES_ARCORE_AC_DEVICE_H
9#define META_OCEAN_DEVICES_ARCORE_AC_DEVICE_H
18#include <arcore_c_api.h>
63 const std::string&
library()
const override;
TrackerCapabilities
Definition of individual capabilities.
Definition ACDevice.h:46
@ TC_DEPTH
The tracker provides depth information.
Definition ACDevice.h:54
@ TC_PLANE_DETECTION
The tracker provide plane detection.
Definition ACDevice.h:52
@ TC_SLAM
The tracker provides basic SLAM.
Definition ACDevice.h:50
@ TC_INVALID
An invalid capability.
Definition ACDevice.h:48
bool stop() override
Stops the device.
void setInput(Media::FrameMediumRefs &&frameMediums) override
Sets the multi-view visual input of this tracker.
friend class ACFactory
Definition ACDevice.h:37
friend class ARSessionManager
Definition ACDevice.h:38
TrackerCapabilities trackerCapabilities_
The capabilities of the tracker for this device.
Definition ACDevice.h:119
bool pause() override
Pauses the device.
bool start() override
Starts the device.
bool isObjectTracked(const ObjectId &objectId) const override
Returns whether a specific object is currently actively tracked by this tracker.
ACDevice(const TrackerCapabilities trackerCapabilities, const std::string &name, const DeviceType type)
Creates a new device by is name.
TrackerCapabilities trackerCapabilities() const
Returns the capabilities of the tracker necessary for this device.
Definition ACDevice.h:131
ObjectId worldObjectId_
The id of the world object (the world coordinate system).
Definition ACDevice.h:125
~ACDevice() override
Destructs this tracker.
bool hasBeenRegistered_
True, if this tracker has been registered with the session manager.
Definition ACDevice.h:122
const std::string & library() const override
Returns the name of the owner library.
bool worldIsTracked_
True, if the world is currently tracked.
Definition ACDevice.h:128
Definition of a class holding the major and minor device type.
Definition devices/Device.h:62
DeviceType type() const
Returns the major and minor type of this device.
Definition devices/Device.h:345
Device(const Device &device)=delete
Disabled copy constructor.
const std::string & name() const
Returns the name of this device.
Definition devices/Device.h:340
ObjectId objectId(const std::string &description) const
Returns the object id for an object description.
static constexpr ObjectId invalidObjectId()
Returns an invalid object id.
Definition Measurement.h:631
uint32_t ObjectId
Definition of an object id.
Definition Measurement.h:47
VisualTracker(const std::string &name, const DeviceType type)
Creates a new visual tracker object.
Namespace of the Devices ARCore library.
Definition ACDepthTracker6DOF.h:23
Namespace of the Devices library.
Definition AccelerationSensor3DOF.h:24
The namespace covering the entire Ocean framework.
Definition Accessor.h:15