#include<kfbxcollection.h>
This class also provides access to global settings and take information.
Definition at line58of 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 of class T in the collection. | |
| int | GetMemberCount(KFbxCriteriapCriteria) const |
| Return the number of objects satisfying given criteria in the collection. | |
| KFbxObject* | GetMember(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 class T in the collection. | |
| KFbxObject* | GetMember(KFbxCriteriapCriteria, int pIndex=0) const |
| Return the index'th member of the collection which satisfies given criteria. | |
| 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*pObject) |
| Get Select/Unselect . | |
| virtual void Clear | ( | ) | [virtual] |
Delete all contained objects.
Reimplemented inKFbxDocument, andKFbxScene.
| void AddMember | ( | KFbxObject* | pMember | ) | [inline] |
Add a member.
| pMember | Object to be added. |
Definition at line72of filekfbxcollection.h.
Referenced byKFbxDocument::AddRootMember().
| void RemoveMember | ( | KFbxObject* | pMember | ) | [inline] |
Remove a member.
| pMember | Object to be removed. |
Definition at line76of filekfbxcollection.h.
Referenced byKFbxDocument::RootRootRemoveMember().
| T* FindMember | ( | T const * | pfbxType, | |
| const char * | pName | |||
| ) | [inline] |
Find a member.
| pfbxType | Member type. | |
| pName | Member name. |
Definition at line81of filekfbxcollection.h.
| int GetMemberCount | ( | ) | const[inline] |
Return the number of objects in the collection.
Definition at line85of filekfbxcollection.h.
Referenced byKFbxLibrary::InstantiateMember().
| int GetMemberCount | ( | T const * | pFBX_TYPE | ) | const[inline] |
Return the number of objects of class T in the collection.
| pFBX_TYPE | Member type. |
Definition at line90of filekfbxcollection.h.
| int GetMemberCount | ( | KFbxCriteria | pCriteria | ) | const |
Return the number of objects satisfying given criteria in the collection.
| pCriteria | The given criteria |
| KFbxObject* GetMember | ( | int | pIndex=0 | ) | const[inline] |
Return the index'th member of the collection.
| pIndex | The member index. |
Definition at line101of filekfbxcollection.h.
Referenced byKFbxLibrary::InstantiateMember().
| T* GetMember | ( | T const * | pFBX_TYPE, | |
| int | pIndex=0 | |||
| ) | const[inline] |
Return the index'th member of class T in the collection.
| pFBX_TYPE | Member type information. | |
| pIndex | The member index. |
Definition at line107of filekfbxcollection.h.
| KFbxObject* GetMember | ( | KFbxCriteria | pCriteria, | |
| int | pIndex=0 | |||
| ) | const |
Return the index'th member of the collection which satisfies given criteria.
| pCriteria | The given criteria. | |
| pIndex | The member index. |
| virtual bool IsMember | ( | KFbxObject* | pMember | ) | const[virtual] |
Is an object part of the collection.
| pMember | Whether pMember is part of the collection. |
Trueif is,falseotherwise.| virtual void SetSelectedAll | ( | bool | pSelection | ) | [virtual] |
Select/Unselect all contained objects.
| pSelection | Iftrue, all object are selected, otherwise all objects are unselected. |
| virtual void SetSelected | ( | KFbxObject* | pObject, | |
| bool | pSelection | |||
| ) | [virtual] |
Select/Unselect objects.
| pObject | ||
| pSelection | Iftrue, pObject are selected, otherwise pObject are unselected. |
| virtual bool GetSelected | ( | KFbxObject* | pObject | ) | [virtual] |
Get Select/Unselect .
| pObject | Get whether pObject is selected or unselected. |