KFbxCollection
#include<kfbxcollection.h>

Inheritance diagram for KFbxCollection:

Inheritance graph
[legend]

List of all members.

Detailed Description

This class contains objects.

This class also provides access to global settings and take information.

Definition at line62of filekfbxcollection.h.


Collection member management

virtual void Clear()
 Delete all contained objects.
void AddMember(KFbxObject*pMember)
 Add a member.
void RemoveMember(KFbxObject*pMember)
 Remove a member.
template<class T>
T * FindMember(T const *pfbxType, const char *pName)
 Find a member.
int GetMemberCount() const
 Return the number of objects in the collection.
template<class T>
int GetMemberCount(T const *pFBX_TYPE) const
 Return the number of objects in the collection.
int GetMemberCount(KFbxCriteria pCriteria) const
 Delete all contained objects.
KFbxObjectGetMember(int pIndex=0) const
 Return the index'th member of the collection.
template<class T>
T * GetMember(T const *pFBX_TYPE, int pIndex=0) const
 Return the index'th member of the collection.
KFbxObjectGetMember(KFbxCriteria pCriteria, int pIndex=0) const
 Delete all contained objects.
virtual bool IsMember(KFbxObject*pMember) const
 Is an object part of the collection.

Selection managent

virtual void SetSelectedAll(bool pSelection)
 Select/Unselect all contained objects.
virtual void SetSelected(KFbxObject*pObject, bool pSelection)
 Select/Unselect objects.
virtual bool GetSelected(KFbxObject*pSelection)
 Get Select/Unselect .

Member Function Documentation

virtual void Clear( ) [virtual]

Delete all contained objects.

Reimplemented inKFbxDocument, andKFbxScene.

void AddMember(KFbxObjectpMember ) [inline]

Add a member.

Definition at line74of filekfbxcollection.h.

Referenced byKFbxDocument::AddRootMember().

void RemoveMember(KFbxObjectpMember ) [inline]

Remove a member.

Definition at line76of filekfbxcollection.h.

Referenced byKFbxDocument::RootRootRemoveMember().

T* FindMember(T const * pfbxType,
const char * pName 
)[inline]

Find a member.

Definition at line78of filekfbxcollection.h.

int GetMemberCount( ) const[inline]

Return the number of objects in the collection.

Definition at line81of filekfbxcollection.h.

Referenced byKFbxLibrary::InstantiateMember().

int GetMemberCount(T const * pFBX_TYPE ) const[inline]

Return the number of objects in the collection.

Definition at line83of filekfbxcollection.h.

int GetMemberCount(KFbxCriteria pCriteria ) const

Delete all contained objects.

KFbxObject* GetMember(int pIndex=0 ) const[inline]

Return the index'th member of the collection.

Definition at line87of filekfbxcollection.h.

Referenced byKFbxLibrary::InstantiateMember().

T* GetMember(T const * pFBX_TYPE,
int pIndex=0 
)const[inline]

Return the index'th member of the collection.

Definition at line89of filekfbxcollection.h.

KFbxObject* GetMember(KFbxCriteria pCriteria,
int pIndex=0 
)const

Delete all contained objects.

virtual bool IsMember(KFbxObjectpMember ) const[virtual]

Is an object part of the collection.

virtual void SetSelectedAll(bool pSelection ) [virtual]

Select/Unselect all contained objects.

virtual void SetSelected(KFbxObjectpObject,
bool pSelection 
)[virtual]

Select/Unselect objects.

virtual bool GetSelected(KFbxObjectpSelection ) [virtual]

Get Select/Unselect .