8 #ifndef META_OCEAN_DEVICES_ARKIT_AK_PLANE_TRACKER_6_DOF_H
9 #define META_OCEAN_DEVICES_ARKIT_AK_PLANE_TRACKER_6_DOF_H
98 static inline std::
string deviceNameAKPlaneTracker6DOF();
104 static inline
DeviceType deviceTypeAKPlaneTracker6DOF();
124 bool isStarted_ = false;
127 bool worldIsTracked_ = false;
133 unsigned int planeIdCounter_ = 0u;
138 return std::string(
"ARKit 6DOF Plane Tracker");
143 return DeviceType(deviceTypeTracker6DOF(), TRACKER_VISUAL | SCENE_TRACKER_6DOF);
This class implements a device for the ARKit library.
Definition: AKDevice.h:48
This class implements a device factory for the ARKit tracking library.
Definition: AKFactory.h:32
This class implements a 6DOF plane tracker based on ARKit.
Definition: AKPlaneTracker6DOF.h:34
bool isObjectTracked(const ObjectId &objectId) const override
Returns whether a specific object is currently actively tracked by this tracker.
bool stop() override
Stops the device.
bool pause() override
Pauses the device.
API_AVAILABLE(ios(11.3)) void onNewSample(const HomogenousMatrix4 &world_T_camera
Event function for a new 6DOF pose.
std::unordered_map< std::string, Index32 > IdentifierMap
Definition of an unordered map mapping anchor identifier strings to unique ids.
Definition: AKPlaneTracker6DOF.h:42
bool start() override
Starts the device.
static DeviceType deviceTypeAKPlaneTracker6DOF()
Returns the device type of this tracker.
Definition: AKPlaneTracker6DOF.h:141
void setInput(Media::FrameMediumRefs &&frameMediums) override
Sets the multi-view visual input of this tracker.
Definition of a class holding the major and minor device type.
Definition: devices/Device.h:62
unsigned int ObjectId
Definition of an object id.
Definition: Measurement.h:46
std::unordered_map< std::string, Value > Metadata
Definition of an unordered map mapping keys to values.
Definition: Measurement.h:61
This class implements the base for all 6-DOF scene trackers.
Definition: SceneTracker6DOF.h:42
std::shared_ptr< SceneElement > SharedSceneElement
Definition of a shared pointer holding a scene element.
Definition: SceneTracker6DOF.h:896
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 timestamp.
Definition: Timestamp.h:36
const ObjectId invalidObjectId
Definition of an invalid object id.
Definition: rendering/Rendering.h:65
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15