sofa::helper::io::bvh::BVHLoader Class Reference

This class defines a BVH File Loader This files describe a hierarchical articulated model and also an associated motion see http://www.cs.wisc.edu/graphics/Courses/cs-838-1999/Jeff/BVH.html for the file format specification. More...

#include <BVHLoader.h>


Public Member Functions

 BVHLoader ()
virtual ~BVHLoader ()
BVHJoint * load (const char *filename)

Private Member Functions

BVHJoint * parseJoint (FILE *f, bool isEndSite=false, BVHJoint *parent=NULL)
BVHOffset * parseOffset (FILE *f)
BVHChannels * parseChannels (FILE *f)
void parseMotion (FILE *f, BVHJoint *j)
void setFrameTime (BVHJoint *j, double _frameTime)
void parseFrames (BVHJoint *j, unsigned int frameIndex, FILE *f)


Detailed Description

This class defines a BVH File Loader This files describe a hierarchical articulated model and also an associated motion see http://www.cs.wisc.edu/graphics/Courses/cs-838-1999/Jeff/BVH.html for the file format specification.

Definition at line 50 of file BVHLoader.h.


Constructor & Destructor Documentation

sofa::helper::io::bvh::BVHLoader::BVHLoader (  )  [inline]

Definition at line 53 of file BVHLoader.h.

virtual sofa::helper::io::bvh::BVHLoader::~BVHLoader (  )  [inline, virtual]

Definition at line 54 of file BVHLoader.h.


Member Function Documentation

BVHJoint * sofa::helper::io::bvh::BVHLoader::load ( const char *  filename  ) 

BVHChannels * sofa::helper::io::bvh::BVHLoader::parseChannels ( FILE *  f  )  [private]

void sofa::helper::io::bvh::BVHLoader::parseFrames ( BVHJoint *  j,
unsigned int  frameIndex,
FILE *  f 
) [private]

BVHJoint * sofa::helper::io::bvh::BVHLoader::parseJoint ( FILE *  f,
bool  isEndSite = false,
BVHJoint *  parent = NULL 
) [private]

void sofa::helper::io::bvh::BVHLoader::parseMotion ( FILE *  f,
BVHJoint *  j 
) [private]

Definition at line 155 of file BVHLoader.cpp.

References sofa::helper::io::bvh::BVHJoint::initMotion(), and parseFrames().

Referenced by load().

BVHOffset * sofa::helper::io::bvh::BVHLoader::parseOffset ( FILE *  f  )  [private]

Definition at line 106 of file BVHLoader.cpp.

Referenced by parseJoint().

void sofa::helper::io::bvh::BVHLoader::setFrameTime ( BVHJoint *  j,
double  _frameTime 
) [private]


The documentation for this class was generated from the following files:

Generated on Sun Nov 23 04:24:20 2008 for Sofa by  doxygen 1.5.7.1