c3d-utils
|
Main namespace of Utrecht University C3d support. More...
Classes | |
struct | BasicIO |
Class for encoding and decoding basic types to/from unsigned char sequence. More... | |
struct | IllegalValue |
struct | NotImplemented |
struct | ConstNameRange |
A range of strings with const access only. More... | |
struct | MarkerNames |
Abstract class for describing labels of a subject. More... | |
struct | SkeletonInfo |
Abstract class for describing skeletons. More... | |
struct | LabeledSubject |
A LabeledSubject is a subject with a name for which the markers are linked to a label index (or point index). More... | |
struct | LabeledSkeleton |
A LabeledSkeleton is a subject with a name for which the markers of a skeleton are linked to a label index (or point index). More... | |
struct | PreconditionError |
struct | OpenError |
OpenError is thrown if a file cannot be opened. More... | |
struct | ContentError |
ContentError is thrown if the content of a file is not valid. More... | |
struct | HeaderEvent |
struct | Header |
struct | GroupParamCommon |
The common part of groups and parameters. More... | |
struct | Parameter |
struct | Group |
class | Content |
Stores the header and parameter data of a C3d file. More... | |
struct | FileInfo1 |
The most important general data of a C3d file. More... | |
struct | DataPoint3d |
A single marker point as found in a C3d file. More... | |
struct | FrameData |
The data of a single frame. More... | |
struct | SpacePaddedString |
A string that is padded with spaces (e.g. to fit in a unform length array) More... | |
class | C3dFileInfo |
Class for storing data from the parameter section of a C3d file. More... | |
class | C3dFile |
Class for reading frame data of a C3d file. More... | |
Typedefs | |
typedef unsigned short | unsigned16_t |
Type used for 16 bit wide unsigned integers.. | |
typedef unsigned char | Block [512] |
Enumerations | |
enum | EncodingType { Pt_Intel = 84, Pt_Dec = 85, Pt_Mips = 86 } |
Enum describing the three possible binary encodings. | |
Functions | |
EncodingType | platform_encoding () |
Native, or otherwise preferred, encoding for this platform. | |
boost::shared_ptr< BasicIO > | get_basic_io (int pt) |
boost::shared_ptr< BasicIO > | get_native_io () |
std::vector< unsigned > | fill_subjects (std::vector< LabeledSubject > &subjects, std::vector< SpacePaddedString > const &labels, MarkerNames const &marker_names) |
std::vector< unsigned > | fill_skeletons (std::vector< LabeledSkeleton > &subjects, std::vector< SpacePaddedString > const &labels, SkeletonInfo const &skel_info) |
Content | open_c3d_file (char const *filename) |
Content | open_c3d_file (std::string const &filename) |
bool | write_with_same_header (std::string const &fn, C3dFileInfo const &fi, std::vector< FrameData > const &data) |
Deprecated function. | |
bool | write (std::string const &fn, C3dFileInfo fi, std::vector< FrameData > const &data, UuIcsC3d::BasicIO const *encoder) |
Main namespace of Utrecht University C3d support.
boost::shared_ptr<BasicIO> UuIcsC3d::get_basic_io | ( | int | pt | ) |
Get an encoder/decoder for a specific encoding type.
boost::shared_ptr<BasicIO> UuIcsC3d::get_native_io | ( | ) |
Get the native encoder/decoder for this platform