JunkBox_Win_Lib 1.5.3
|
#include <NiBVHTool.h>
Public Member Functions | |
CNiBVHTool (void) | |
virtual | ~CNiBVHTool (void) |
void | free_data (void) |
void | clear_data (void) |
virtual NiJointData * | getJointsData (int frmnum, int fps) |
virtual int | getPlayBackFPS (void) |
virtual BOOL | readFile (FILE *fp) |
virtual BOOL | writeFile (FILE *fp) |
![]() | |
CBaseFrameTool (void) | |
virtual | ~CBaseFrameTool (void) |
virtual unsigned int | getFramesNumber (void) |
virtual int | getJointsNumber (void) |
virtual NiFrameData * | getFramesData (void) |
virtual int | getPlayBackTime (void) |
Private Member Functions | |
void | init (void) |
Private Attributes | |
CBVHTool * | bvh_tool |
tList * | bvh_name_list |
Additional Inherited Members | |
![]() | |
void | init_data (void) |
void | free_data (void) |
void | clear_data (void) |
void | clearJointsData (int jnum) |
void | clearVectorData (int jnum) |
![]() | |
unsigned int | frames_num |
int | joints_num |
int | start_time |
int | stop_time |
int | exec_time |
NiFrameData * | framesData |
NiJointData * | jointsData |
Vector< double > * | posVect |
Quaternion< double > * | rotQuat |
Definition at line 25 of file NiBVHTool.h.
|
inline |
Definition at line 28 of file NiBVHTool.h.
References CNiBVHTool::init().
|
virtual |
Definition at line 11 of file NiBVHTool.cpp.
References CNiBVHTool::free_data().
void clear_data | ( | void | ) |
Definition at line 45 of file NiBVHTool.cpp.
References CNiBVHTool::bvh_tool, and CBaseFrameTool::free_data().
Referenced by CNiFileTool::clearFrameData(), CNiBVHTool::free_data(), and CNiBVHTool::readFile().
void free_data | ( | void | ) |
Definition at line 29 of file NiBVHTool.cpp.
References CNiBVHTool::bvh_name_list, CNiBVHTool::bvh_tool, and CNiBVHTool::clear_data().
Referenced by CNiBVHTool::~CNiBVHTool().
|
virtual |
Reimplemented from CBaseFrameTool.
Definition at line 159 of file NiBVHTool.cpp.
References CBaseFrameTool::clearJointsData(), CBaseFrameTool::exec_time, CBaseFrameTool::frames_num, CBaseFrameTool::framesData, NiJointData::index, NiFrameData::jdat, NiJointData::joint, CBaseFrameTool::joints_num, CBaseFrameTool::jointsData, NiJointData::quat, CBaseFrameTool::start_time, and NiJointData::vect.
|
virtual |
Reimplemented from CBaseFrameTool.
Definition at line 147 of file NiBVHTool.cpp.
References CNiBVHTool::bvh_tool.
Referenced by CNiFileTool::readBVHFile().
|
private |
Definition at line 20 of file NiBVHTool.cpp.
References CNiBVHTool::bvh_name_list, CNiBVHTool::bvh_tool, and jbxwl::setBVHJointName().
Referenced by CNiBVHTool::CNiBVHTool().
|
virtual |
Reimplemented from CBaseFrameTool.
Definition at line 58 of file NiBVHTool.cpp.
References jbxwl::addBVHJointName(), BVH_ADD_JOINTNAME_TXT, CNiBVHTool::bvh_name_list, CNiBVHTool::bvh_tool, jbxwl::BVHJoint2NiJointNum(), CNiBVHTool::clear_data(), CBaseFrameTool::clearJointsData(), CBaseFrameTool::exec_time, CBaseFrameTool::frames_num, CBaseFrameTool::framesData, NiFrameData::frmn, NiJointData::index, NiFrameData::jdat, NiFrameData::jnum, NiJointData::joint, CBaseFrameTool::joints_num, CBaseFrameTool::jointsData, jbxwl::makeFramesData(), NiFrameData::msec, CBaseFrameTool::posVect, NiJointData::quat, CBaseFrameTool::rotQuat, CBaseFrameTool::start_time, CBaseFrameTool::stop_time, and NiJointData::vect.
Referenced by CNiFileTool::readBVHFile().
|
virtual |
Reimplemented from CBaseFrameTool.
Definition at line 134 of file NiBVHTool.cpp.
References CNiBVHTool::bvh_tool.
|
private |
Definition at line 46 of file NiBVHTool.h.
Referenced by CNiBVHTool::free_data(), CNiBVHTool::init(), and CNiBVHTool::readFile().
|
private |
Definition at line 45 of file NiBVHTool.h.
Referenced by CNiBVHTool::clear_data(), CNiBVHTool::free_data(), CNiBVHTool::getPlayBackFPS(), CNiBVHTool::init(), CNiBVHTool::readFile(), and CNiBVHTool::writeFile().