kfbxsdkmanager.h File Reference

#include <fbxfilesdk/fbxfilesdk_def.h>
#include <fbxfilesdk/kfbxplugins/kfbxobject.h>
#include <fbxfilesdk/kfbxplugins/kfbxmemoryallocator.h>
#include <fbxfilesdk/kfbxplugins/kfbxgeometryconverter.h>
#include <fbxfilesdk/kfbxplugins/kfbxproperty.h>
#include <fbxfilesdk/kfbxplugins/kfbxtypes.h>
#include <fbxfilesdk/kfbxplugins/kfbxlayer.h>
#include <fbxfilesdk/fbxfilesdk_nsbegin.h>
#include <fbxfilesdk/fbxfilesdk_nsend.h>

Go to the source code of this file.

Classes

class   KFbxSdkManager
  SDK object manager. More...

Defines

#define  TAKE_NO_ANIMATION   0
#define  TAKE_DEFAULT   -1
#define  TAKE_INVALID   -3

Typedefs

typedef KFbxSdkManager  KFbxSdk
typedef KFbxSdkManager HKFbxSdkManager

Functions

template<class T >
int  KFbxGetSrcCount (KFbxSdkManager *pObject)
template<class T >
int  KFbxGetSrcCount (KFbxSdkManager *pObject, T const *FBXTYPE)
template<class T >
T *  KFbxGetSrc (KFbxSdkManager *pObject, int pIndex=0)
template<class T >
T *  KFbxFindSrc (KFbxSdkManager *pObject, char const *pName)

Detailed Description

Definition in file kfbxsdkmanager.h.


Define Documentation

#define TAKE_NO_ANIMATION   0

Definition at line 811 of file kfbxsdkmanager.h.

#define TAKE_DEFAULT   -1

Definition at line 812 of file kfbxsdkmanager.h.

#define TAKE_INVALID   -3

Definition at line 813 of file kfbxsdkmanager.h.


Typedef Documentation


Function Documentation

int KFbxGetSrcCount ( KFbxSdkManager pObject ) [inline]

Definition at line 796 of file kfbxsdkmanager.h.

{ T const* FBXTYPE = 0; return pObject ? pObject->GetSrcObjectCount(FBXTYPE) : 0; }
int KFbxGetSrcCount ( KFbxSdkManager pObject,
T const *  FBXTYPE 
) [inline]

Definition at line 797 of file kfbxsdkmanager.h.

{ return pObject ? pObject->GetSrcObjectCount(FBXTYPE) : 0; }
T* KFbxGetSrc ( KFbxSdkManager pObject,
int  pIndex = 0 
) [inline]

Definition at line 798 of file kfbxsdkmanager.h.

{ T const* FBXTYPE = 0; return pObject ? (T *)pObject->GetSrcObject(FBXTYPE,pIndex) : 0; }
T* KFbxFindSrc ( KFbxSdkManager pObject,
char const *  pName 
) [inline]

Definition at line 799 of file kfbxsdkmanager.h.

    {
        for (int i=0; i<KFbxGetSrcCount<T>(pObject); i++) {
          T* lObject = KFbxGetSrc<T>(pObject,i);
            if (strcmp(lObject->GetName(),pName)==0 ){
                return lObject;
            }
        }
        return 0;
    }