Go to the
documentation of this file.
00001 #ifndef __FBFBX_H__
00002 #define __FBFBX_H__
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00047 #include <kaydaradef.h>
00048 #ifndef FBSDK_DLL
00049
00052 #define FBSDK_DLL K_DLLIMPORT
00053 #endif
00054
00055 #include <fbsdk/fbcomponent.h>
00056 #include <fbsdk/fbfbxoptions.h>
00057
00058 #ifdef FBSDKUseNamespace
00059 namespace FBSDKNamespace {
00060 #endif
00061
00063
00065 FB_FORWARD( FBScene );
00066 FB_FORWARD( FBCharacter );
00067 FB_FORWARD( FBPlotOptions );
00068 FB_DEFINE_COMPONENT( FBSDK_DLL, Scene );
00069
00070 __FB_FORWARD( FBFbxObject );
00071 __FB_FORWARD( FBModel );
00072
00078 class FBSDK_DLL FBFbxObject : public FBComponent {
00079 __FBClassDeclare( FBFbxObject,FBComponent );
00080 public:
00087 FBFbxObject(HIObject pObject);
00088
00092 void FieldWriteBegin(char *pFieldName);
00093
00095 void FieldWriteEnd();
00096
00101 bool FieldReadBegin(char *pFieldName);
00102
00104 void FieldReadEnd();
00105
00109 int FieldReadGetCount();
00110
00112
00115 void FieldWriteI( int pValue );
00116 void FieldWriteC( char *pValue );
00117 void FieldWriteD( double pValue );
00119
00121
00125 void FieldWriteI( char *pFieldName, int pValue );
00126 void FieldWriteC( char *pFieldName, char *pValue );
00127 void FieldWriteD( char *pFieldName, double pValue );
00129
00131
00134 int FieldReadI();
00135 char *FieldReadC();
00136 double FieldReadD();
00138
00140
00144 int FieldReadI(char *pFieldName);
00145 char *FieldReadC(char *pFieldName);
00146 double FieldReadD(char *pFieldName);
00148
00153 void FieldWriteObjectReference (char *pFieldName,HFBComponent pObject);
00154
00158 void FieldWriteObjectReference (HFBComponent pObject);
00159
00166 HIObject FieldReadObjectReference (char * pFieldName);
00167
00173 HIObject FieldReadObjectReference ();
00174
00180 void FieldWriteBlockBegin ();
00181
00188 void FieldWriteBlockBegin (char *pFieldName);
00189
00191 void FieldWriteBlockEnd ();
00192
00196 bool FieldReadIsBlock ();
00197
00201 bool FieldReadBlockBegin();
00202
00204 void FieldReadBlockEnd ();
00205
00210 char *GetFullFilePath(char *pFilename);
00211 };
00212
00213 #ifdef FBSDKUseNamespace
00214 }
00215 #endif
00216
00217 #endif