Tracore
Static Public Member Functions | List of all members
util::Parser Class Reference

#include <Parser.h>

Static Public Member Functions

static void ParseObjectDataMap (const std::vector< std::string > &keys, const core::Vector3d &values, core::DetectionSequence &sequence)
 
static void ParseObjectData3D (const core::Vector3d &values, core::DetectionSequence &sequence)
 
static void ParseObjectDataAngular (const core::Vector3d &values, core::DetectionSequence &sequence)
 
static void ParseObjectDataAngular (const core::Vector3d &values, core::DetectionSequence &sequence, double temporal_weight, double spatial_weight, double angular_weight)
 

Detailed Description

Utility class for parsing diverse objects.

Member Function Documentation

void util::Parser::ParseObjectData3D ( const core::Vector3d &  values,
core::DetectionSequence sequence 
)
static

Parses the values into a DetectionSequence of ObjectData3D

Parameters
valuesA 3D vector of values
sequenceThe sequence to store the created objects in
void util::Parser::ParseObjectDataAngular ( const core::Vector3d &  values,
core::DetectionSequence sequence 
)
static

Parses the values into a DetectionSequence of ObjectDataAngular objects.

Parameters
valuesA 3D vector of values
sequenceThe sequence to store the created objects in
void util::Parser::ParseObjectDataAngular ( const core::Vector3d &  values,
core::DetectionSequence sequence,
double  temporal_weight,
double  spatial_weight,
double  angular_weight 
)
static

Parses the values into a DetectionSequence of ObjectDataAngular objects. The keys are used for the third dimension in the values list.

Parameters
valuesA 3D vector of values
sequenceThe sequence to store the created objects in
temporal_weightThe temporal weight
spatial_weightThe spatial weight
angular_weightThe angular weight
void util::Parser::ParseObjectDataMap ( const std::vector< std::string > &  keys,
const core::Vector3d &  values,
core::DetectionSequence sequence 
)
static

Parses the keys and values into a DetectionSequence of ObjectDataMap objects. The keys are used for the third dimension in the values list.

Parameters
keysA 1D vector of keys
valuesA 3D vector of values
sequenceThe sequence to store the created objects in

The documentation for this class was generated from the following files: