esp::metadata::attributes::MarkerSet class

This class provides an alias for a single Configuration holding 1 or more marker points within a particular LinkSet.

Base classes

class esp::core::config::Configuration
This class holds Configuration data in a map of ConfigValues, and also supports nested Configurations via a map of smart pointers to this type.

Constructors, destructors, conversion operators

MarkerSet()

Public functions

auto getNumPoints() const -> int
Returns the number of existing marker points in this MarkerSet.
auto getAllPoints() const -> std::vector<Mn::Vector3>
Returns a list of all the marker points in this MarkerSet.
void setAllPoints(const std::vector<Mn::Vector3>& markers)
Set the list of all the marker points for this MarkerSet.
auto rekeyAllMarkers() -> int
Rekeys all marker points to have vector IDXs as string keys, retaining their original keys' natural ordering.

Function documentation

int esp::metadata::attributes::MarkerSet::rekeyAllMarkers()

Rekeys all marker points to have vector IDXs as string keys, retaining their original keys' natural ordering.

Returns returns how many marker points have been processed with new keys.