Tracore
|
#include <Parser.h>
Static Public Member Functions | |
static void | ParseObjectDataMap (const std::vector< std::string > &keys, const Vector3d &values, core::DetectionSequence &sequence) |
static void | ParseObjectData3D (const Vector3d &values, core::DetectionSequence &sequence) |
static void | ParseObjectDataAngular (const Vector3d &values, core::DetectionSequence &sequence) |
static void | ParseObjectDataAngular (const Vector3d &values, core::DetectionSequence &sequence, double temporal_weight, double spatial_weight, double angular_weight) |
Utility class for parsing diverse objects.
|
static |
Parses the values into a DetectionSequence of ObjectData3D
values | A 3D vector of values |
sequence | The sequence to store the created objects in |
|
static |
Parses the values into a DetectionSequence of ObjectDataAngular objects.
values | A 3D vector of values |
sequence | The sequence to store the created objects in |
|
static |
Parses the values into a DetectionSequence of ObjectDataAngular objects. The keys are used for the third dimension in the values list.
values | A 3D vector of values |
sequence | The sequence to store the created objects in |
temporal_weight | The temporal weight |
spatial_weight | The spatial weight |
angular_weight | The angular weight |
|
static |
Parses the keys and values into a DetectionSequence of ObjectDataMap objects. The keys are used for the third dimension in the values list.
keys | A 1D vector of keys |
values | A 3D vector of values |
sequence | The sequence to store the created objects in |