c3d-utils
Classes | Typedefs | Functions
Low level C3d functionality

The low level interface is close to the C3d file format. A basic understanding of the C3D specification is necessary to understand it. More...

Classes

struct  UuIcsC3d::HeaderEvent
struct  UuIcsC3d::Header
struct  UuIcsC3d::GroupParamCommon
 The common part of groups and parameters. More...
struct  UuIcsC3d::Parameter
struct  UuIcsC3d::Group
class  UuIcsC3d::Content
 Stores the header and parameter data of a C3d file. More...
struct  UuIcsC3d::FileInfo1
 The most important general data of a C3d file. More...

Typedefs

typedef unsigned char UuIcsC3d::Block [512]

Functions

Content UuIcsC3d::open_c3d_file (char const *filename)
Content UuIcsC3d::open_c3d_file (std::string const &filename)

Detailed Description

The low level interface is close to the C3d file format. A basic understanding of the C3D specification is necessary to understand it.

The low level interface is accessed from the high level UuIcsC3d::C3dFileinfo class. The main access class is UuIcsC3d::Content, which holds the content of the header and parameter sections. Another class is UuIcsC3d::FileInfo1, which holds the most important parameters. This class is only used internally.


Typedef Documentation

typedef unsigned char UuIcsC3d::Block[512]

A C3d file is divided in blockes of 512 bytes (or 256 words). When referring to these bytes or blocks, we use 1-based indexes, just like the specification does. In the API, we use 0-based indexes, which is usual in C-based languages.


Function Documentation

Content UuIcsC3d::open_c3d_file ( char const *  filename)

Opens a C3d file, read the header and parameter section and return a UuIcsC3d::Content object.

Content UuIcsC3d::open_c3d_file ( std::string const &  filename)

Opens a C3d file, read the header and parameter section and return a UuIcsC3d::Content object.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations