importexport/impexptool/orimpexptool_engine.h
#ifndef __ORIMPEXP_TOOL_ENGINE_H__
#define __ORIMPEXP_TOOL_ENGINE_H__
#define MESH_STEP_X 10
#define MESH_STEP_Y 10
class ORImportExportEngine
{
public:
bool ImportFile ( const char* pFileName );
void ImportScene ();
void ImportAnimation ();
void ImportOptical ();
bool ExportSelected ( const char* pFileName );
bool ExportVoice ( const char* pFileName );
private:
void ImportFCurve ( FBAnimationNode* pNode );
void ImportOpticalModelAnimation ( FBModelOptical* pModel );
bool ExportHierarchy (
FILE *pFile, FBModel* pModel,
bool pIfSelected );
bool ExportModel (
FILE *pFile, FBModel* pModel );
bool ExportOpticalModel (
FILE *pFile, FBModelOptical* pModel );
bool ExportAnimationNode (
FILE *pFile, FBAnimationNode* pNode,
const char* pFileName );
FBModelOptical* CreateOpticalModel ();
FBModel* CreateCube ( const char* pName );
FBModel* CreateTexturedMesh ( const char* pName );
FBAnimationNode* FindAnimationNode ( FBAnimationNode* pNode, const char* pName );
private:
FBSystem mSystem;
int V[MESH_STEP_X+1][MESH_STEP_Y+1];
};
#endif