Classes | Modules | Functions | Variables

The BVH Format - Motion Capture (Animation)
[3D Model Formats]

Simple reference implementation for the BioVision Hierarchical data file format. More...

Collaboration diagram for The BVH Format - Motion Capture (Animation):

Classes

struct  bvh::node_position_t
class  bvh::Skeleton
 basic class containing a skeleton and a single animation More...

Modules

 BVH File Format and Transformations
 

This is a quick description of the BVH file format and how transformations work.


Functions

 bvh::node_position_t::node_position_t (void) throw ()
void bvh::node_position_t::clear (void) throw ()
virtual int bvh::Skeleton::getObjectCount (void) const =0 throw ()
 number of objects (root skeleton nodes)
virtual int bvh::Skeleton::getNodeCount (IN int objIndex) const =0 throw ()
 get count of nodes (vertices) for this object
virtual void bvh::Skeleton::getNodePositions (IN int objIndex, IN float time, OUT node_position_t *p) const =0 throw ()
 Get the positions of all nodes for this object at the given time.
virtual void bvh::Skeleton::dump (IN const char *title) const =0 throw ()
 helper method for debugging
static smart_ptr< Skeleton > bvh::Skeleton::load (IN const char *filename)

Variables

char bvh::node_position_t::name [eMaxNameSize]
point3d_t bvh::node_position_t::pos
node_position_t * bvh::node_position_t::parent
matrix4_t bvh::node_position_t::T

Detailed Description

Simple reference implementation for the BioVision Hierarchical data file format.

See http://en.wikipedia.org/wiki/Biovision_Hierarchy


Function Documentation

bvh::node_position_t::node_position_t ( void   )  throw () [inline, inherited]

Definition at line 67 of file bvh.h.

void bvh::node_position_t::clear ( void   )  throw () [inline, inherited]

Definition at line 68 of file bvh.h.

virtual int bvh::Skeleton::getObjectCount ( void   )  const throw () [pure virtual, inherited]

number of objects (root skeleton nodes)

virtual int bvh::Skeleton::getNodeCount ( IN int  objIndex  )  const throw () [pure virtual, inherited]

get count of nodes (vertices) for this object

virtual void bvh::Skeleton::getNodePositions ( IN int  objIndex,
IN float  time,
OUT node_position_t p 
) const throw () [pure virtual, inherited]

Get the positions of all nodes for this object at the given time.

NOTE: the caller must provide a pre-allocated array of node_position_t objects, of size getNodeCount(objIndex).

virtual void bvh::Skeleton::dump ( IN const char *  title  )  const throw () [pure virtual, inherited]

helper method for debugging

smart_ptr< Skeleton > bvh::Skeleton::load ( IN const char *  filename  )  [static, inherited]

Definition at line 688 of file bvh.cpp.


Variable Documentation

char bvh::node_position_t::name[eMaxNameSize] [inherited]

Definition at line 74 of file bvh.h.

point3d_t bvh::node_position_t::pos [inherited]

Definition at line 75 of file bvh.h.

node_position_t* bvh::node_position_t::parent [inherited]

Definition at line 76 of file bvh.h.

matrix4_t bvh::node_position_t::T [inherited]

Definition at line 77 of file bvh.h.