Parser for a NatNet data frame packet. More...
#include <mocap_datapackets.h>
Public Member Functions | |
MoCapDataFormat (const char *packet, unsigned short length) | |
void | parse () |
Parses a NatNet data frame packet as it is streamed by the Arena software according to the descriptions in the NatNet SDK v1.4. | |
~MoCapDataFormat () | |
Public Attributes | |
int | frameNumber |
unsigned short | length |
ModelFrame | model |
const char * | packet |
Private Member Functions | |
template<typename T > | |
void | read_and_seek (T &target) |
void | seek (size_t count) |
Parser for a NatNet data frame packet.
Definition at line 134 of file mocap_datapackets.h.
MoCapDataFormat::MoCapDataFormat | ( | const char * | packet, |
unsigned short | length | ||
) |
Definition at line 66 of file mocap_datapackets.cpp.
Definition at line 71 of file mocap_datapackets.cpp.
void MoCapDataFormat::parse | ( | ) |
Parses a NatNet data frame packet as it is streamed by the Arena software according to the descriptions in the NatNet SDK v1.4.
Definition at line 81 of file mocap_datapackets.cpp.
void MoCapDataFormat::read_and_seek | ( | T & | target | ) | [inline, private] |
Definition at line 152 of file mocap_datapackets.h.
void MoCapDataFormat::seek | ( | size_t | count | ) | [private] |
Definition at line 75 of file mocap_datapackets.cpp.
Definition at line 147 of file mocap_datapackets.h.
unsigned short MoCapDataFormat::length |
Definition at line 145 of file mocap_datapackets.h.
Definition at line 148 of file mocap_datapackets.h.
const char* MoCapDataFormat::packet |
Definition at line 144 of file mocap_datapackets.h.