Momentum
A library for solving nonlinear optimization problems related to human body kinematics
Loading...
Searching...
No Matches
momentum::MarkerSequence Struct Reference

All frames from a single motion capture sequence for one subject (actor). More...

#include <marker.h>

Public Attributes

std::string name
 Identifier for the actor or subject this sequence belongs to.
std::vector< std::vector< Marker > > frames
 All marker observations across the sequence. Layout: [numFrames][numMarkers].
float fps = 30.0f
 Frame rate of the capture, in frames per second.

Detailed Description

All frames from a single motion capture sequence for one subject (actor).

Invariant
Every inner frames[i] vector must have the same size — markers are indexed positionally and the marker count is fixed across the sequence.

Definition at line 37 of file marker.h.

Member Data Documentation

◆ fps

float momentum::MarkerSequence::fps = 30.0f

Frame rate of the capture, in frames per second.

Definition at line 45 of file marker.h.

Referenced by momentum::loadMarkerSequenceFromUsd(), and momentum::loadTrc().

◆ frames

std::vector<std::vector<Marker> > momentum::MarkerSequence::frames

All marker observations across the sequence. Layout: [numFrames][numMarkers].

Definition at line 42 of file marker.h.

Referenced by momentum::loadMarkerSequenceFromUsd(), and momentum::loadTrc().

◆ name

std::string momentum::MarkerSequence::name

Identifier for the actor or subject this sequence belongs to.

Definition at line 39 of file marker.h.


The documentation for this struct was generated from the following file: