#include <fbxobject.h>
The base class of most FBX objects.
Provides the benefits of connectivity, identity, run-time typing, properties, naming, copying, cloning, selection, and automated file IO. Most of the FBX SDK API deals with FbxObject pointers when it comes to manipulate objects in its simplest form.
The ClassID mechanism replaces the dynamic_cast mechanism for efficient run-time type information.
The FbxObject provides methods for managing the connections between objects. Using connections, objects can be related to each other to form hierarchies or structures. All of the FBX scene's object relations are expressed as connections between objects. Those connections can be altered as needed to reflect most kind of setups encountered in this world. For example, connections can be used to express parenting between transform nodes. Connections are not strict in the sense that we allow any type of objects to connect to any other type of objects. The meaning of the connection is purely semantic. As of yet, we do not provide the functionality to validate if the connections made by the users are allowed or not.
FbxObject provide a property (FbxProperty) mechanism to describe characteristics of objects in a scene. Properties may be either static or dynamic. Static properties are defined in the class direction and can be accessed directly by their name on the object exposing them without the need for a search in the property list of the object. Dynamic properties can be added during run-time, while the program is running. Objects can have an unlimited amount of properties. Properties can be listed at run-time, allowing for a flexible support of custom data on objects, since they might be considered by the FBX file readers/writers depending on the flags set.
Here is an example of a new empty minimal class template for FBX objects:
Before the new class can be used, it needs to be registered to the manager with the following method:
Then to create or delete instances of your new class, the following methods must be used:
Definition at line 157 of file fbxobject.h.
Public Types | |
typedef FbxEmitter | ParentClass |
Public Member Functions | |
virtual FbxClassId | GetClassId () const |
virtual void | Compact () |
Compact the memory used by this object. More... | |
General Object Management | |
FBX_DEPRECATED bool | Is (const FbxClassId &pClassId) const |
Test if this class is a hierarchical children of the specified class type. More... | |
template<class T > | |
bool | Is () const |
Templated test if this class is a hierarchical children of the specified class type. More... | |
FbxManager * | GetFbxManager () const |
Retrieve the FbxManager this object belongs to. More... | |
FbxDocument * | GetDocument () const |
Returns a const pointer to the document that contains this object. More... | |
FbxDocument * | GetRootDocument () const |
Returns a const pointer to the root document that contains this object. More... | |
FbxScene * | GetScene () const |
Returns a const pointer to the scene that contains this object. More... | |
void | Destroy (bool pRecursive=false) |
Unregister and delete this object from memory. More... | |
void | ResetProperties () |
Reset all the properties of this object to their default values. More... | |
Selection management | |
virtual bool | GetSelected () |
Returns if this object is currently in a selected state. More... | |
virtual void | SetSelected (bool pSelected) |
Sets whether this object is currently selected. More... | |
User data | |
void | SetUserDataPtr (const FbxUInt64 &pUserID, void *pUserData) |
Sets the data pointer for an user data record whose ID is pUserID. More... | |
void * | GetUserDataPtr (const FbxUInt64 &pUserID) const |
Returns the data pointer of an user data record whose ID is pUserID. More... | |
void | SetUserDataPtr (void *pUserData) |
Sets the data pointer for the user data record whose ID is the object ID. More... | |
void * | GetUserDataPtr () const |
Returns the data pointer of the user data record whose ID is the object ID. More... | |
General Object Connection and Relationship Management | |
bool | ConnectSrcObject (FbxObject *pObject, FbxConnection::EType pType=FbxConnection::eNone) |
Connects this object to a source object. More... | |
bool | IsConnectedSrcObject (const FbxObject *pObject) const |
Judges whether this object connects with the source object. More... | |
bool | DisconnectSrcObject (FbxObject *pObject) |
Disconnects this object from a source object. More... | |
bool | DisconnectAllSrcObject () |
Disconnects this object from all source objects. More... | |
bool | DisconnectAllSrcObject (const FbxCriteria &pCriteria) |
Disconnects this object from all source objects that satisfy a given criteria. More... | |
FBX_DEPRECATED bool | DisconnectAllSrcObject (FbxClassId pClassId) |
Disconnects this object from all source objects of a specific class type. More... | |
int | GetSrcObjectCount () const |
Returns the number of source objects with which this object connects. More... | |
int | GetSrcObjectCount (const FbxCriteria &pCriteria) const |
Returns the number of source objects that satisfy the given criteria with which this object connects. More... | |
FBX_DEPRECATED int | GetSrcObjectCount (FbxClassId pClassId) const |
Returns the number of source objects of the specific class type with which this object connects. More... | |
FbxObject * | GetSrcObject (int pIndex=0) const |
Returns the source object with which this object connects at the specified index. More... | |
FbxObject * | GetSrcObject (const FbxCriteria &pCriteria, int pIndex=0) const |
Returns the source object that satisfies the criteria at the specified index with which this object connects. More... | |
FBX_DEPRECATED FbxObject * | GetSrcObject (FbxClassId pClassId, int pIndex=0) const |
Returns the source object of the specified class type at the specified index with which this object connects. More... | |
FbxObject * | FindSrcObject (const char *pName, int pStartIndex=0) const |
Searches the source object with the specified name, starting at the specified index. More... | |
FbxObject * | FindSrcObject (const FbxCriteria &pCriteria, const char *pName, int pStartIndex=0) const |
Searches the source object with the specified name which satisfies the given criteria, starting at the specified index. More... | |
FBX_DEPRECATED FbxObject * | FindSrcObject (FbxClassId pClassId, const char *pName, int pStartIndex=0) const |
Searches the source object with the specified name which is also the specified class type, starting at the specified index. More... | |
template<class T > | |
bool | DisconnectAllSrcObject () |
Disconnects this object from all source objects of the specified class type. More... | |
template<class T > | |
bool | DisconnectAllSrcObject (const FbxCriteria &pCriteria) |
Disconnects this object from all source objects that are of the specified class type and that satisfy the given criteria. More... | |
template<class T > | |
int | GetSrcObjectCount () const |
Returns the number of source objects of a specific class type with which this object connects. More... | |
template<class T > | |
int | GetSrcObjectCount (const FbxCriteria &pCriteria) const |
Returns the number of source objects with which this object connects that are the specified class type and that satisfy the given criteria. More... | |
template<class T > | |
T * | GetSrcObject (int pIndex=0) const |
Returns the source object of the specified class type at the specified index. More... | |
template<class T > | |
T * | GetSrcObject (const FbxCriteria &pCriteria, int pIndex=0) const |
Returns the source object that is the specified class type and that satisfies the given criteria at the specified index. More... | |
template<class T > | |
T * | FindSrcObject (const char *pName, int pStartIndex=0) const |
Searches the source object with the specified name that is the specified class type, starting at the specified index. More... | |
template<class T > | |
T * | FindSrcObject (const FbxCriteria &pCriteria, const char *pName, int pStartIndex=0) const |
Searches the source object with the specified name that is the specified class type and that satisfies the given criteria, starting at the specified index. More... | |
bool | ConnectDstObject (FbxObject *pObject, FbxConnection::EType pType=FbxConnection::eNone) |
Connects this object to one destination object. More... | |
bool | IsConnectedDstObject (const FbxObject *pObject) const |
Judges whether this object connects with the destination object. More... | |
bool | DisconnectDstObject (FbxObject *pObject) |
Disconnects this object from the destination object. More... | |
bool | DisconnectAllDstObject () |
Disconnects this object from all destination objects. More... | |
bool | DisconnectAllDstObject (const FbxCriteria &pCriteria) |
Disconnects this object from all destination objects that satisfy given criteria. More... | |
FBX_DEPRECATED bool | DisconnectAllDstObject (FbxClassId pClassId) |
Disconnects this object from all destination objects of the specified class type. More... | |
int | GetDstObjectCount () const |
Returns the number of destination objects with which this object connects. More... | |
int | GetDstObjectCount (const FbxCriteria &pCriteria) const |
Returns the number of destination objects with which this object connects that satisfy the given criteria. More... | |
FBX_DEPRECATED int | GetDstObjectCount (FbxClassId pClassId) const |
Returns the number of destination objects of the specified class type with which this object connects. More... | |
FbxObject * | GetDstObject (int pIndex=0) const |
Returns the destination object at the specified index with which this object connects. More... | |
FbxObject * | GetDstObject (const FbxCriteria &pCriteria, int pIndex=0) const |
Returns the destination object with which this object connects that satisfies the given criteria at the specified index. More... | |
FBX_DEPRECATED FbxObject * | GetDstObject (FbxClassId pClassId, int pIndex=0) const |
Returns the destination object of the specified class type with which this object connects at the specified index. More... | |
FbxObject * | FindDstObject (const char *pName, int pStartIndex=0) const |
Searches the destination object with the specified name, starting at the specified index. More... | |
FbxObject * | FindDstObject (const FbxCriteria &pCriteria, const char *pName, int pStartIndex=0) const |
Searches the destination object with the specified name which satisfies the given criteria, starting at the specified index. More... | |
FBX_DEPRECATED FbxObject * | FindDstObject (FbxClassId pClassId, const char *pName, int pStartIndex=0) const |
Searches the destination object with the specified name which is the specified class type, starting at the specified index. More... | |
template<class T > | |
bool | DisconnectAllDstObject () |
Disconnects this object from all destination objects of the specified class type. More... | |
template<class T > | |
bool | DisconnectAllDstObject (const FbxCriteria &pCriteria) |
Disconnects this object from all destination objects that are the specified class type and that satisfy the given criteria. More... | |
template<class T > | |
int | GetDstObjectCount () const |
Returns the number of destination objects of the specified class type with which this object connects. More... | |
template<class T > | |
int | GetDstObjectCount (const FbxCriteria &pCriteria) const |
Returns the number of destination objects with which this object connects that are the specified class type and that satisfy the given criteria. More... | |
template<class T > | |
T * | GetDstObject (int pIndex=0) const |
Returns the destination object with which this object connects that is the specified class type at the specified index. More... | |
template<class T > | |
T * | GetDstObject (const FbxCriteria &pCriteria, int pIndex=0) const |
Returns the destination object with which this object connects that is the specified class type and that satisfies the given criteria at the specified index. More... | |
template<class T > | |
T * | FindDstObject (const char *pName, int pStartIndex=0) const |
Searches the destination object with the specified name which is of the specified class type, starting at the specified index. More... | |
template<class T > | |
T * | FindDstObject (const FbxCriteria &pCriteria, const char *pName, int pStartIndex=0) const |
Searches the destination object with the specified name that is the specified class type and that satisfies the given criteria, starting at the specified index. More... | |
Property Management | |
FbxProperty | GetFirstProperty () const |
Returns the first property of this object. More... | |
FbxProperty | GetNextProperty (const FbxProperty &pProperty) const |
Returns the next property of this object that follows the specified property. More... | |
FbxProperty | FindProperty (const char *pName, bool pCaseSensitive=true) const |
Searches a property by name. More... | |
FbxProperty | FindProperty (const char *pName, const FbxDataType &pDataType, bool pCaseSensitive=true) const |
Searches a property by name and data type. More... | |
FbxProperty | FindPropertyHierarchical (const char *pName, bool pCaseSensitive=true) const |
Searches a property by full name. More... | |
FbxProperty | FindPropertyHierarchical (const char *pName, const FbxDataType &pDataType, bool pCaseSensitive=true) const |
Searches a property by full name and data type. More... | |
FbxProperty | GetClassRootProperty () |
Returns the class root property. More... | |
bool | ConnectSrcProperty (const FbxProperty &pProperty) |
Connects this object to a source property. More... | |
bool | IsConnectedSrcProperty (const FbxProperty &pProperty) |
Determines whether this object connects with the specified source property. More... | |
bool | DisconnectSrcProperty (const FbxProperty &pProperty) |
Disconnects this object from the specified source property. More... | |
int | GetSrcPropertyCount () const |
Returns the number of source properties with which this object connects. More... | |
FbxProperty | GetSrcProperty (int pIndex=0) const |
Returns the source property at the specified index with which this object connects. More... | |
FbxProperty | FindSrcProperty (const char *pName, int pStartIndex=0) const |
Searches a source property with which this object connects that has a specific name, starting at the specified index. More... | |
bool | ConnectDstProperty (const FbxProperty &pProperty) |
Connects this object to a destination property. More... | |
bool | IsConnectedDstProperty (const FbxProperty &pProperty) |
Determines if this object connects with the specified destination property. More... | |
bool | DisconnectDstProperty (const FbxProperty &pProperty) |
Disconnects this object from the specified destination property. More... | |
int | GetDstPropertyCount () const |
Returns the number of destination properties with which this object connects. More... | |
FbxProperty | GetDstProperty (int pIndex=0) const |
Returns the destination property at the specified index with which this object connects. More... | |
FbxProperty | FindDstProperty (const char *pName, int pStartIndex=0) const |
Searches a destination property with which this object connects that has a specific name, starting at the specified index. More... | |
Off-Loading Management | |
| |
int | ContentUnload () |
Unloads this object's content using the offload peripheral that is currently set in the document then flushes it from memory. More... | |
int | ContentLoad () |
Loads this object's content using the offload peripheral that is currently set in the document. More... | |
bool | ContentIsLoaded () const |
Judges if this object's content is loaded. More... | |
void | ContentDecrementLockCount () |
Decreases the content lock count of an object. More... | |
void | ContentIncrementLockCount () |
Increases the content lock count of an object. More... | |
bool | ContentIsLocked () const |
Judges if this object's content is locked. More... | |
virtual bool | ContentWriteTo (FbxStream &pStream) const |
Writes the content of the object to the given stream. More... | |
virtual bool | ContentReadFrom (const FbxStream &pStream) |
Reads the content of the object from the given stream. More... | |
Logging. | |
void | EmitMessage (FbxMessage *pMessage) const |
Emits a message in all available message emitters in the document or SDK manager. More... | |
Localization helper. | |
virtual const char * | Localize (const char *pID, const char *pDefault=((void *) 0)) const |
Localization helper function, it calls the implementation of FBX SDK manager. More... | |
Application Implementation Management | |
FbxLibrary * | GetParentLibrary () const |
Returns a handle on the parent library of this object. More... | |
bool | AddImplementation (FbxImplementation *pImplementation) |
Adds an implementation. More... | |
bool | RemoveImplementation (FbxImplementation *pImplementation) |
Removes an implementation. More... | |
bool | HasDefaultImplementation (void) const |
Determines if this shading node has a default implementation. More... | |
FbxImplementation * | GetDefaultImplementation (void) const |
Returns the default implementation of this shading node. More... | |
bool | SetDefaultImplementation (FbxImplementation *pImplementation) |
Sets the default implementation of this shading node. More... | |
int | GetImplementationCount (const FbxImplementationFilter *pCriteria=((void *) 0)) const |
Returns the number of implementations that satisfy a given criteria. More... | |
FbxImplementation * | GetImplementation (int pIndex, const FbxImplementationFilter *pCriteria=((void *) 0)) const |
Returns the implementation at the specified index that satisfies the given criteria. More... | |
Object Storage && Retrieval | |
virtual FbxString | GetUrl () const |
Returns the URL of this object. More... | |
virtual bool | SetUrl (char *pUrl) |
Sets the URL of this object. More... | |
Run-time ClassId Management | |
void | SetRuntimeClassId (const FbxClassId &pClassId) |
Set the run-time ClassId for this class. More... | |
FbxClassId | GetRuntimeClassId () const |
Retrieve the run-time ClassId for this object. More... | |
bool | IsRuntime (const FbxClassId &pClassId) const |
Test if this class is a hierarchical children of the specified class type. More... | |
bool | IsRuntimePlug () const |
Find out if the ClassId was registered during run-time rather than at compile time. More... | |
![]() | |
void | AddListener (FbxEventHandler &pHandler) |
Add the specified event handler to current emitter list. More... | |
void | RemoveListener (FbxEventHandler &pHandler) |
Remove the specified event handler from current emitter list. More... | |
template<typename EventType > | |
void | Emit (const EventType &pEvent) const |
Emit an event with the specified the event type. More... | |
Static Public Member Functions | |
static FbxObject * | Create (FbxManager *pManager, const char *pName) |
static FbxObject * | Create (FbxObject *pContainer, const char *pName) |
Public Attributes | |
FbxProperty | RootProperty |
The root property that holds all children property for this object. More... | |
Static Public Attributes | |
static FbxClassId | ClassId |
Protected Member Functions | |
virtual | ~FbxObject () |
virtual void | Construct (const FbxObject *pFrom) |
Optional constructor override, automatically called by default constructor. More... | |
virtual void | ConstructProperties (bool pForceSet) |
Optional property constructor override, automatically called by default constructor. More... | |
virtual void | Destruct (bool pRecursive) |
Optional destructor override, automatically called by default destructor. More... | |
virtual void | ContentClear () |
Clears this object's content from memory. More... | |
virtual FbxPeripheral * | GetPeripheral () |
Retrieves the peripheral of that object. More... | |
Static Protected Member Functions | |
static FbxObject * | Allocate (FbxManager *pManager, const char *pName, const FbxObject *pFrom) |
Friends | |
class | fbxsdk::FbxManager |
template<typename T > | |
T * | fbxsdk::FbxNew () |
template<typename T , typename T1 > | |
T * | fbxsdk::FbxNew (T1 &p1) |
template<typename T , typename T1 > | |
T * | fbxsdk::FbxNew (const T1 &p1) |
template<typename T , typename T1 , typename T2 > | |
T * | fbxsdk::FbxNew (T1 &p1, T2 &p2) |
template<typename T , typename T1 , typename T2 > | |
T * | fbxsdk::FbxNew (T1 &p1, const T2 &p2) |
template<typename T , typename T1 , typename T2 > | |
T * | fbxsdk::FbxNew (const T1 &p1, T2 &p2) |
template<typename T , typename T1 , typename T2 > | |
T * | fbxsdk::FbxNew (const T1 &p1, const T2 &p2) |
template<typename T , typename T1 , typename T2 , typename T3 > | |
T * | fbxsdk::FbxNew (T1 &p1, T2 &p2, T3 &p3) |
template<typename T , typename T1 , typename T2 , typename T3 > | |
T * | fbxsdk::FbxNew (T1 &p1, T2 &p2, const T3 &p3) |
template<typename T , typename T1 , typename T2 , typename T3 > | |
T * | fbxsdk::FbxNew (T1 &p1, const T2 &p2, T3 &p3) |
template<typename T , typename T1 , typename T2 , typename T3 > | |
T * | fbxsdk::FbxNew (T1 &p1, const T2 &p2, const T3 &p3) |
template<typename T , typename T1 , typename T2 , typename T3 > | |
T * | fbxsdk::FbxNew (const T1 &p1, T2 &p2, T3 &p3) |
template<typename T , typename T1 , typename T2 , typename T3 > | |
T * | fbxsdk::FbxNew (const T1 &p1, T2 &p2, const T3 &p3) |
template<typename T , typename T1 , typename T2 , typename T3 > | |
T * | fbxsdk::FbxNew (const T1 &p1, const T2 &p2, T3 &p3) |
template<typename T , typename T1 , typename T2 , typename T3 > | |
T * | fbxsdk::FbxNew (const T1 &p1, const T2 &p2, const T3 &p3) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 > | |
T * | fbxsdk::FbxNew (T1 &p1, T2 &p2, T3 &p3, T4 &p4) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 > | |
T * | fbxsdk::FbxNew (T1 &p1, T2 &p2, T3 &p3, const T4 &p4) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 > | |
T * | fbxsdk::FbxNew (T1 &p1, T2 &p2, const T3 &p3, T4 &p4) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 > | |
T * | fbxsdk::FbxNew (T1 &p1, T2 &p2, const T3 &p3, const T4 &p4) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 > | |
T * | fbxsdk::FbxNew (T1 &p1, const T2 &p2, T3 &p3, T4 &p4) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 > | |
T * | fbxsdk::FbxNew (T1 &p1, const T2 &p2, T3 &p3, const T4 &p4) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 > | |
T * | fbxsdk::FbxNew (T1 &p1, const T2 &p2, const T3 &p3, T4 &p4) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 > | |
T * | fbxsdk::FbxNew (T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 > | |
T * | fbxsdk::FbxNew (const T1 &p1, T2 &p2, T3 &p3, T4 &p4) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 > | |
T * | fbxsdk::FbxNew (const T1 &p1, T2 &p2, T3 &p3, const T4 &p4) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 > | |
T * | fbxsdk::FbxNew (const T1 &p1, T2 &p2, const T3 &p3, T4 &p4) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 > | |
T * | fbxsdk::FbxNew (const T1 &p1, T2 &p2, const T3 &p3, const T4 &p4) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 > | |
T * | fbxsdk::FbxNew (const T1 &p1, const T2 &p2, T3 &p3, T4 &p4) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 > | |
T * | fbxsdk::FbxNew (const T1 &p1, const T2 &p2, T3 &p3, const T4 &p4) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 > | |
T * | fbxsdk::FbxNew (const T1 &p1, const T2 &p2, const T3 &p3, T4 &p4) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 > | |
T * | fbxsdk::FbxNew (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 > | |
T * | fbxsdk::FbxNew (T1 &p1, T2 &p2, T3 &p3, T4 &p4, T5 &p5) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 > | |
T * | fbxsdk::FbxNew (const T1 &p1, T2 &p2, T3 &p3, T4 &p4, T5 &p5) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 > | |
T * | fbxsdk::FbxNew (const T1 &p1, const T2 &p2, T3 &p3, T4 &p4, T5 &p5) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 > | |
T * | fbxsdk::FbxNew (const T1 &p1, T2 &p2, const T3 &p3, T4 &p4, T5 &p5) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 > | |
T * | fbxsdk::FbxNew (const T1 &p1, T2 &p2, T3 &p3, const T4 &p4, T5 &p5) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 > | |
T * | fbxsdk::FbxNew (const T1 &p1, T2 &p2, T3 &p3, T4 &p4, const T5 &p5) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 > | |
T * | fbxsdk::FbxNew (const T1 &p1, const T2 &p2, const T3 &p3, T4 &p4, T5 &p5) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 > | |
T * | fbxsdk::FbxNew (const T1 &p1, const T2 &p2, T3 &p3, const T4 &p4, T5 &p5) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 > | |
T * | fbxsdk::FbxNew (const T1 &p1, const T2 &p2, T3 &p3, T4 &p4, const T5 &p5) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 > | |
T * | fbxsdk::FbxNew (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4, T5 &p5) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 > | |
T * | fbxsdk::FbxNew (const T1 &p1, const T2 &p2, const T3 &p3, T4 &p4, const T5 &p5) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 > | |
T * | fbxsdk::FbxNew (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4, const T5 &p5) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 > | |
T * | fbxsdk::FbxNew (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4, const T5 &p5, const T6 &p6) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 > | |
T * | fbxsdk::FbxNew (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4, const T5 &p5, const T6 &p6, const T7 &p7) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 > | |
T * | fbxsdk::FbxNew (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4, const T5 &p5, const T6 &p6, const T7 &p7, const T8 &p8) |
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 > | |
T * | fbxsdk::FbxNew (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4, const T5 &p5, const T6 &p6, const T7 &p7, const T8 &p8, const T9 &p9) |
template<typename T > | |
void | fbxsdk::FbxDelete (T *p) |
template<typename T > | |
void | fbxsdk::FbxDelete (const T *p) |
template<typename T > | |
T * | fbxsdk::FbxNewArray (const int n) |
template<typename T > | |
void | fbxsdk::FbxDeleteArray (T *p) |
Object Flags Management | |
enum | EObjectFlag { eNone = 0, eInitialized = 1 << 0, eSystem = 1 << 1, eSavable = 1 << 2, eSelected = 1 << 3, eHidden = 1 << 4, eContentLoaded = 1 << 5, eDontLocalize = 1 << 6, eCopyCalledByClone = 1 << 16 } |
Flags available to control objects. More... | |
void | SetObjectFlags (EObjectFlag pFlags, bool pValue) |
Set the state of object flags. More... | |
bool | GetObjectFlags (EObjectFlag pFlags) const |
Get the state of object flags. More... | |
void | SetAllObjectFlags (FbxUInt pFlags) |
Override all object flags at once. More... | |
FbxUInt | GetAllObjectFlags () const |
Get all object flags at once. More... | |
Copying, Cloning and Referencing | |
enum | ECloneType { eDeepClone, eReferenceClone } |
Types of clones that can be created for FbxObject. More... | |
virtual FbxObject & | Copy (const FbxObject &pObject) |
Copy an object content into this object. More... | |
virtual FbxObject * | Clone (FbxObject::ECloneType pCloneType=eDeepClone, FbxObject *pContainer=((void *) 0), void *pSet=((void *) 0)) const |
Creates a clone of this object. More... | |
bool | IsAReferenceTo () const |
Checks if this object is a reference clone of another object. More... | |
FbxObject * | GetReferenceTo () const |
If this object is a reference clone, returns the original object (from which the clone originates). More... | |
bool | IsReferencedBy () const |
Checks if any objects are reference cloned from this object. More... | |
int | GetReferencedByCount () const |
Returns the number of objects that are reference clones of this object. More... | |
FbxObject * | GetReferencedBy (int pIndex) const |
Returns a reference clone of this object at the specified index. More... | |
Object Name Management | |
void | SetName (const char *pName) |
Sets the name of this object. More... | |
const char * | GetName () const |
Returns the full name of this object. More... | |
FbxString | GetNameWithoutNameSpacePrefix () const |
Returns the name of the object without the namespace qualifier. More... | |
FbxString | GetNameWithNameSpacePrefix () const |
Returns the name of the object with the namespace qualifier. More... | |
void | SetInitialName (const char *pName) |
Sets the initial name of the object. More... | |
const char * | GetInitialName () const |
Returns the initial name of the object. More... | |
FbxString | GetNameSpaceOnly () |
Returns the namespace of the object. More... | |
void | SetNameSpace (FbxString pNameSpace) |
Sets the namespace of the object. More... | |
FbxArray< FbxString * > | GetNameSpaceArray (char identifier) |
Returns an array of all the namespaces for this object. More... | |
FbxString | GetNameOnly () const |
Returns only the name (no namespace or prefix) of the object. More... | |
FbxString | GetNameSpacePrefix () const |
Returns the namespace qualifier. More... | |
const FbxUInt64 & | GetUniqueID () const |
Returns the unique ID of this object. More... | |
static FbxString | RemovePrefix (char *pName) |
Removes the prefix of pName. More... | |
static FbxString | StripPrefix (FbxString &lName) |
Strips the prefix of pName. More... | |
static FbxString | StripPrefix (const char *pName) |
Strips the prefix of pName. More... | |
typedef FbxEmitter ParentClass |
Definition at line 159 of file fbxobject.h.
enum EObjectFlag |
Flags available to control objects.
Enumerator | |
---|---|
eNone |
No flags. |
eInitialized |
Automatically set when FbxObject::Construct() is completed. |
eSystem |
When set, object is deleted upon FbxManager destroy only. Use carefully! |
eSavable |
If set, object is stored in FBX file upon export. All objects are savable by default. |
eSelected |
Used by the selection mechanic to specify a selected object. |
eHidden |
Used for interface representation; if set, the object should not be visible. |
eContentLoaded |
Used by load-on-demand mechanic to specify if an object has its content loaded. |
eDontLocalize |
Used by asset builder; Do not localize this object. |
eCopyCalledByClone |
Used internally. If set, modify the Copy behavior of the object |
Definition at line 203 of file fbxobject.h.
enum ECloneType |
Types of clones that can be created for FbxObject.
Definition at line 245 of file fbxobject.h.
|
inlineprotectedvirtual |
Definition at line 159 of file fbxobject.h.
|
inlinevirtual |
Reimplemented in FbxAnimCurve, FbxControlSetPlug, FbxIOSettings, FbxTrimNurbsSurface, FbxPose, FbxCharacter, FbxImporter, FbxExporter, FbxNode, FbxAnimCurveBase, FbxAnimEvaluator, FbxScene, FbxNurbsCurve, FbxAnimCurveNode, FbxSubDeformer, FbxImplementation, FbxBindingOperator, FbxCharacterPose, FbxCluster, FbxDocument, FbxGeometry, FbxGeometryBase, FbxLayeredTexture, FbxGeometryWeightedMap, FbxBlendShape, FbxDeformer, FbxAnimStack, FbxBlendShapeChannel, FbxSkin, FbxCamera, FbxLine, FbxSkeleton, FbxFileTexture, FbxCache, FbxNurbsSurface, FbxAnimEvalClassic, FbxContainerTemplate, FbxCameraSwitcher, FbxMesh, FbxShape, FbxNurbs, FbxAnimLayer, FbxLibrary, FbxSelectionSet, FbxCameraStereo, FbxBoundary, FbxBindingTable, FbxBindingTableBase, FbxCameraManipulator, FbxObjectMetaData, FbxLayerContainer, FbxNodeAttribute, FbxIOBase, FbxCollection, FbxDisplayLayer, FbxCachedEffect, FbxGlobalSettings, FbxConstraint, FbxConstraintParent, FbxEnvironment, FbxSelectionNode, FbxThumbnail, FbxLight, FbxProceduralGeometry, FbxVertexCacheDeformer, FbxProceduralTexture, FbxProcessor, FbxProcessorShaderDependency, FbxConstraintAim, FbxConstraintPosition, FbxConstraintRotation, FbxConstraintScale, FbxContainer, FbxDocumentInfo, FbxMarker, FbxOpticalReference, FbxPatch, FbxTexture, FbxProcessorXRefCopy, FbxConstraintCustom, FbxConstraintSingleChainIK, FbxCollectionExclusive, FbxSceneReference, FbxVideo, FbxNull, FbxSurfaceLambert, FbxSurfaceMaterial, FbxSurfacePhong, FbxProcessorXRefCopyUserLibrary, and FbxGenericNode.
Definition at line 159 of file fbxobject.h.
|
static |
|
staticprotected |
|
inline |
Test if this class is a hierarchical children of the specified class type.
This is the standard method to differentiate object classes. (Deprecated, please use Is<Type>() instead.)
pClassId | The class type to test against self. |
true
if the object is a hierarchical children of the type specified. Definition at line 168 of file fbxobject.h.
|
inline |
Templated test if this class is a hierarchical children of the specified class type.
true
if the object is a hierarchical children of the type specified. Definition at line 173 of file fbxobject.h.
FbxManager* GetFbxManager | ( | ) | const |
Retrieve the FbxManager this object belongs to.
FbxDocument* GetDocument | ( | ) | const |
Returns a const pointer to the document that contains this object.
NULL
if the object does not belong to any document. FbxDocument* GetRootDocument | ( | ) | const |
Returns a const pointer to the root document that contains this object.
NULL
if the object does not belong to any document. FbxScene* GetScene | ( | ) | const |
Returns a const pointer to the scene that contains this object.
NULL
if the object does not belong to any scene. void Destroy | ( | bool | pRecursive = false | ) |
Unregister and delete this object from memory.
This will also breaks all connections as well as removing all the instance of all the properties of this object with the object's class.
pRecursive | If true, all children (source) objects will also be unregistered and deleted. |
void ResetProperties | ( | ) |
Reset all the properties of this object to their default values.
void SetObjectFlags | ( | EObjectFlag | pFlags, |
bool | pValue | ||
) |
Set the state of object flags.
pFlags | Bit flags which value is going to be changed. |
pValue | If true , bit flags will be set, otherwise bits will be un-set. |
bool GetObjectFlags | ( | EObjectFlag | pFlags | ) | const |
Get the state of object flags.
pFlags | Bit flags to query. |
true
if the specified bit flags are all set. void SetAllObjectFlags | ( | FbxUInt | pFlags | ) |
Override all object flags at once.
pFlags | The bit flags to set all the object flags to. |
FbxUInt GetAllObjectFlags | ( | ) | const |
Get all object flags at once.
Copy an object content into this object.
pObject | The source object to copy data from. |
|
virtual |
Creates a clone of this object.
By default, the connections are NOT cloned. If the desired effect is to clone the connections as well, you must clone using the FbxCloneManager (refer to this class documentation for further details).
pCloneType | The type of clone to be created. By default, the clone type is eDeepClone. |
pContainer | An optional parameter to specify which object will "contain" the new object. By contain, we mean the new object will become a source to the container, connection-wise. |
pSet | See remark section. |
bool IsAReferenceTo | ( | ) | const |
Checks if this object is a reference clone of another object.
True
if this object is a clone of another object, false
otherwise FbxObject* GetReferenceTo | ( | ) | const |
If this object is a reference clone, returns the original object (from which the clone originates).
bool IsReferencedBy | ( | ) | const |
Checks if any objects are reference cloned from this object.
True
if there are objects reference cloned from this object, false
otherwise. int GetReferencedByCount | ( | ) | const |
Returns the number of objects that are reference clones of this object.
FbxObject* GetReferencedBy | ( | int | pIndex | ) | const |
Returns a reference clone of this object at the specified index.
pIndex | The specified index, valid values are [0, GetReferencedByCount()) |
void SetName | ( | const char * | pName | ) |
Sets the name of this object.
pName | The object name as a NULL terminated string. |
const char* GetName | ( | ) | const |
Returns the full name of this object.
NULL
terminated string. FbxString GetNameWithoutNameSpacePrefix | ( | ) | const |
Returns the name of the object without the namespace qualifier.
FbxString GetNameWithNameSpacePrefix | ( | ) | const |
Returns the name of the object with the namespace qualifier.
void SetInitialName | ( | const char * | pName | ) |
Sets the initial name of the object.
pName | The object's initial name as a NULL terminated string. |
const char* GetInitialName | ( | ) | const |
Returns the initial name of the object.
NULL
terminated string. FbxString GetNameSpaceOnly | ( | ) |
Returns the namespace of the object.
NULL
terminated string. void SetNameSpace | ( | FbxString | pNameSpace | ) |
Sets the namespace of the object.
pNameSpace | The object's namespace as a NULL terminated string. |
Returns an array of all the namespaces for this object.
identifier | The identifier of the namespaces. |
FbxString GetNameOnly | ( | ) | const |
Returns only the name (no namespace or prefix) of the object.
NULL
terminated string. FbxString GetNameSpacePrefix | ( | ) | const |
Returns the namespace qualifier.
|
static |
Removes the prefix of pName.
pName | Whose prefix is removed. |
Strips the prefix of pName.
lName | Whose prefix is stripped. |
|
static |
Strips the prefix of pName.
pName | Whose prefix is stripped. |
const FbxUInt64& GetUniqueID | ( | ) | const |
Returns the unique ID of this object.
|
virtual |
Returns if this object is currently in a selected state.
True
if this object is selected, false
otherwise.
|
virtual |
Sets whether this object is currently selected.
pSelected | The selection flag. |
void SetUserDataPtr | ( | const FbxUInt64 & | pUserID, |
void * | pUserData | ||
) |
Sets the data pointer for an user data record whose ID is pUserID.
pUserID | The ID of the user data record. |
pUserData | The data pointer of the user data record. |
void* GetUserDataPtr | ( | const FbxUInt64 & | pUserID | ) | const |
Returns the data pointer of an user data record whose ID is pUserID.
pUserID | The ID of the user data record. |
NULL
if the user data record is not found.
|
inline |
Sets the data pointer for the user data record whose ID is the object ID.
pUserData | The data pointer of the user data record. |
Definition at line 411 of file fbxobject.h.
|
inline |
Returns the data pointer of the user data record whose ID is the object ID.
NULL
if the user data record is not found. Definition at line 416 of file fbxobject.h.
|
inline |
Connects this object to a source object.
pObject | The source object to which this object connects. |
pType | The connection type between this object and the source object. |
True
on success, false
otherwise. Definition at line 428 of file fbxobject.h.
|
inline |
Judges whether this object connects with the source object.
pObject | The source object. |
True
if this object connects with the source object, false
otherwise. Definition at line 434 of file fbxobject.h.
|
inline |
Disconnects this object from a source object.
pObject | The source object from which this object will be disconnected. |
True
on success, false
otherwise. Definition at line 440 of file fbxobject.h.
|
inline |
Disconnects this object from all source objects.
True
if it disconnects all source objects successfully, false
otherwise. Definition at line 445 of file fbxobject.h.
|
inline |
Disconnects this object from all source objects that satisfy a given criteria.
pCriteria | The given criteria. |
True
if it disconnects all the source objects successfully, false
otherwise. Definition at line 451 of file fbxobject.h.
|
inline |
Disconnects this object from all source objects of a specific class type.
(Deprecated, please use DisconnectAllSrcObject<Type>() instead.)
pClassId | The specific class type. |
True
if it disconnects all source objects successfully, false
otherwise. Definition at line 457 of file fbxobject.h.
|
inline |
Returns the number of source objects with which this object connects.
Definition at line 462 of file fbxobject.h.
|
inline |
Returns the number of source objects that satisfy the given criteria with which this object connects.
pCriteria | The given criteria. |
Definition at line 468 of file fbxobject.h.
|
inline |
Returns the number of source objects of the specific class type with which this object connects.
(Deprecated, please use GetSrcObjectCount<Type>() instead.)
pClassId | The specific class type. |
Definition at line 474 of file fbxobject.h.
|
inline |
Returns the source object with which this object connects at the specified index.
pIndex | The specified index whose default value is 0. |
Definition at line 480 of file fbxobject.h.
|
inline |
Returns the source object that satisfies the criteria at the specified index with which this object connects.
pCriteria | The given criteria. |
pIndex | The specified index whose default value is 0. |
Definition at line 487 of file fbxobject.h.
|
inline |
Returns the source object of the specified class type at the specified index with which this object connects.
(Deprecated, please use GetSrcObject<Type>() instead.)
pClassId | The specified class type. |
pIndex | The specified index whose default value is 0. |
Definition at line 494 of file fbxobject.h.
|
inline |
Searches the source object with the specified name, starting at the specified index.
pName | The object name. |
pStartIndex | The start index. |
Definition at line 501 of file fbxobject.h.
|
inline |
Searches the source object with the specified name which satisfies the given criteria, starting at the specified index.
pCriteria | The given criteria. |
pName | The object name. |
pStartIndex | The start index. |
Definition at line 509 of file fbxobject.h.
|
inline |
Searches the source object with the specified name which is also the specified class type, starting at the specified index.
(Deprecated, please use FindSrcObject<Type>() instead.)
pClassId | The specified class type. |
pName | The object name. |
pStartIndex | The start index. |
Definition at line 517 of file fbxobject.h.
|
inline |
Disconnects this object from all source objects of the specified class type.
true
if it disconnects all source objects successfully, false
otherwise. Definition at line 521 of file fbxobject.h.
|
inline |
Disconnects this object from all source objects that are of the specified class type and that satisfy the given criteria.
pCriteria | The given criteria. |
true
if it disconnects all source objects successfully, false
otherwise. Definition at line 526 of file fbxobject.h.
|
inline |
Returns the number of source objects of a specific class type with which this object connects.
Definition at line 530 of file fbxobject.h.
|
inline |
Returns the number of source objects with which this object connects that are the specified class type and that satisfy the given criteria.
pCriteria | The given criteria. |
Definition at line 535 of file fbxobject.h.
|
inline |
Returns the source object of the specified class type at the specified index.
pIndex | The specified index whose default value is 0. |
Definition at line 540 of file fbxobject.h.
|
inline |
Returns the source object that is the specified class type and that satisfies the given criteria at the specified index.
pCriteria | The given criteria. |
pIndex | The specified index whose default value is 0. |
Definition at line 546 of file fbxobject.h.
|
inline |
Searches the source object with the specified name that is the specified class type, starting at the specified index.
pName | The object name. |
pStartIndex | The start index. |
Definition at line 552 of file fbxobject.h.
|
inline |
Searches the source object with the specified name that is the specified class type and that satisfies the given criteria, starting at the specified index.
pCriteria | The given criteria. |
pName | The object name. |
pStartIndex | The start index. |
Definition at line 559 of file fbxobject.h.
|
inline |
Connects this object to one destination object.
pObject | The destination object with which this object connects. |
pType | The connection type between this object and the destination object. |
True
on success, false
otherwise. Definition at line 566 of file fbxobject.h.
|
inline |
Judges whether this object connects with the destination object.
pObject | The destination object. |
True
if this object connects with the destination object, false
otherwise. Definition at line 572 of file fbxobject.h.
|
inline |
Disconnects this object from the destination object.
pObject | The destination object from which this object disconnects. |
True
on success, false
otherwise. Definition at line 578 of file fbxobject.h.
|
inline |
Disconnects this object from all destination objects.
True
if it disconnects all destination objects successfully, false
otherwise. Definition at line 583 of file fbxobject.h.
|
inline |
Disconnects this object from all destination objects that satisfy given criteria.
pCriteria | The given criteria. |
True
if it disconnects all destination objects successfully, false
otherwise. Definition at line 589 of file fbxobject.h.
|
inline |
Disconnects this object from all destination objects of the specified class type.
(Deprecated, please use DisconnectAllDstObject<Type>() instead.)
pClassId | The specified class type. |
True
if it disconnects all destination objects of the specified class type successfully, false
otherwise. Definition at line 595 of file fbxobject.h.
|
inline |
Returns the number of destination objects with which this object connects.
Definition at line 600 of file fbxobject.h.
|
inline |
Returns the number of destination objects with which this object connects that satisfy the given criteria.
pCriteria | The given criteria. |
Definition at line 606 of file fbxobject.h.
|
inline |
Returns the number of destination objects of the specified class type with which this object connects.
(Deprecated, please use GetDstObjectCount<Type>() instead.)
pClassId | The specified class type. |
Definition at line 612 of file fbxobject.h.
|
inline |
Returns the destination object at the specified index with which this object connects.
pIndex | The specified index whose default value is 0. |
Definition at line 618 of file fbxobject.h.
|
inline |
Returns the destination object with which this object connects that satisfies the given criteria at the specified index.
pCriteria | The given criteria. |
pIndex | The specified index whose default value is 0. |
Definition at line 625 of file fbxobject.h.
|
inline |
Returns the destination object of the specified class type with which this object connects at the specified index.
(Deprecated, please use GetDstObject<Type>() instead.)
pClassId | The specified class type. |
pIndex | The specified index whose default value is 0. |
Definition at line 632 of file fbxobject.h.
|
inline |
Searches the destination object with the specified name, starting at the specified index.
pName | The object name. |
pStartIndex | The start index. |
Definition at line 639 of file fbxobject.h.
|
inline |
Searches the destination object with the specified name which satisfies the given criteria, starting at the specified index.
pCriteria | The given criteria. |
pName | The object name. |
pStartIndex | The start index. |
Definition at line 647 of file fbxobject.h.
|
inline |
Searches the destination object with the specified name which is the specified class type, starting at the specified index.
(Deprecated, please use FindDstObject<Type>() instead.)
pClassId | The specified class type. |
pName | The object name. |
pStartIndex | The start index. |
Definition at line 655 of file fbxobject.h.
|
inline |
Disconnects this object from all destination objects of the specified class type.
true
if it disconnects all destination objects of the specified class type successfully, false
otherwise. Definition at line 659 of file fbxobject.h.
|
inline |
Disconnects this object from all destination objects that are the specified class type and that satisfy the given criteria.
pCriteria | The given criteria. |
true
if it disconnects all destination objects successfully, false
otherwise. Definition at line 664 of file fbxobject.h.
|
inline |
Returns the number of destination objects of the specified class type with which this object connects.
Definition at line 668 of file fbxobject.h.
|
inline |
Returns the number of destination objects with which this object connects that are the specified class type and that satisfy the given criteria.
pCriteria | The given criteria. |
Definition at line 673 of file fbxobject.h.
|
inline |
Returns the destination object with which this object connects that is the specified class type at the specified index.
pIndex | The specified index whose default value is 0. |
Definition at line 678 of file fbxobject.h.
|
inline |
Returns the destination object with which this object connects that is the specified class type and that satisfies the given criteria at the specified index.
pCriteria | The given criteria. |
pIndex | The specified index whose default value is 0. |
Definition at line 684 of file fbxobject.h.
|
inline |
Searches the destination object with the specified name which is of the specified class type, starting at the specified index.
pName | The object name. |
pStartIndex | The start index. |
Definition at line 690 of file fbxobject.h.
|
inline |
Searches the destination object with the specified name that is the specified class type and that satisfies the given criteria, starting at the specified index.
pCriteria | The given criteria. |
pName | The object name. |
pStartIndex | The start index. |
Definition at line 697 of file fbxobject.h.
|
inline |
Returns the first property of this object.
Definition at line 707 of file fbxobject.h.
|
inline |
Returns the next property of this object that follows the specified property.
pProperty | The specified property. |
Definition at line 716 of file fbxobject.h.
|
inline |
Searches a property by name.
pName | The property name. |
pCaseSensitive | Whether the name is case-sensitive. |
Definition at line 726 of file fbxobject.h.
|
inline |
Searches a property by name and data type.
pName | The property name. |
pDataType | The data type of the property. |
pCaseSensitive | Whether the name is case-sensitive. |
Definition at line 737 of file fbxobject.h.
|
inline |
Searches a property by full name.
pName | The full name of the property as a NULL terminated string. |
pCaseSensitive | whether or not the name is case-sensitive. |
Definition at line 748 of file fbxobject.h.
|
inline |
Searches a property by full name and data type.
pName | The full name of the property as a NULL terminated string. |
pDataType | The data type of the property. |
pCaseSensitive | whether or not the name is case-sensitive. |
Definition at line 760 of file fbxobject.h.
FbxProperty GetClassRootProperty | ( | ) |
Returns the class root property.
|
inline |
Connects this object to a source property.
pProperty | The source property with which this object connects. |
True
on success, false
otherwise. Definition at line 775 of file fbxobject.h.
|
inline |
Determines whether this object connects with the specified source property.
pProperty | The specified source property. |
True
if this object connects with the specified source property, false
otherwise. Definition at line 781 of file fbxobject.h.
|
inline |
Disconnects this object from the specified source property.
pProperty | The specified source property. |
True
on success, false
otherwise. Definition at line 787 of file fbxobject.h.
|
inline |
Returns the number of source properties with which this object connects.
Definition at line 792 of file fbxobject.h.
|
inline |
Returns the source property at the specified index with which this object connects.
pIndex | The specified index. |
Definition at line 798 of file fbxobject.h.
|
inline |
Searches a source property with which this object connects that has a specific name, starting at the specified index.
pName | The specified property name. |
pStartIndex | The start index. |
Definition at line 805 of file fbxobject.h.
|
inline |
Connects this object to a destination property.
pProperty | The destination property with which this object connects. |
True
on success, false
otherwise. Definition at line 811 of file fbxobject.h.
|
inline |
Determines if this object connects with the specified destination property.
pProperty | The specified destination property. |
True
if this object connects with the specified destination property, false
otherwise. Definition at line 817 of file fbxobject.h.
|
inline |
Disconnects this object from the specified destination property.
pProperty | The specified destination property. |
True
on success, false
otherwise. Definition at line 823 of file fbxobject.h.
|
inline |
Returns the number of destination properties with which this object connects.
Definition at line 828 of file fbxobject.h.
|
inline |
Returns the destination property at the specified index with which this object connects.
pIndex | The specified index. |
Definition at line 834 of file fbxobject.h.
|
inline |
Searches a destination property with which this object connects that has a specific name, starting at the specified index.
pName | The specified property name. |
pStartIndex | The start index. |
Definition at line 841 of file fbxobject.h.
int ContentUnload | ( | ) |
Unloads this object's content using the offload peripheral that is currently set in the document then flushes it from memory.
int ContentLoad | ( | ) |
Loads this object's content using the offload peripheral that is currently set in the document.
bool ContentIsLoaded | ( | ) | const |
Judges if this object's content is loaded.
True
if this object's content is loaded, false
otherwise. void ContentDecrementLockCount | ( | ) |
Decreases the content lock count of an object.
If the content lock count of an object is greater than 0, the content of the object is considered locked.
void ContentIncrementLockCount | ( | ) |
Increases the content lock count of an object.
If the content lock count of an object is greater than 0, the content of the object is considered locked.
bool ContentIsLocked | ( | ) | const |
Judges if this object's content is locked.
The content is considered locked if the content lock count is greater than 0
True
if this object's content is locked, false
otherwise.
|
virtual |
Writes the content of the object to the given stream.
pStream | The destination stream. |
True
if the content is successfully processed by the receiving stream, false
otherwise. Reimplemented in FbxGeometryBase, and FbxPatch.
|
virtual |
Reads the content of the object from the given stream.
pStream | The source stream. |
True
if the object fills itself with the received data from the stream successfully, false
otherwise. Reimplemented in FbxGeometryBase, and FbxPatch.
void EmitMessage | ( | FbxMessage * | pMessage | ) | const |
Emits a message in all available message emitters in the document or SDK manager.
pMessage | The message to emit. |
|
virtual |
Localization helper function, it calls the implementation of FBX SDK manager.
Sub-classes that manage their own localization could over-ride this function.
pID | The identifier of the text to be localized. |
pDefault | The default text. Uses pID as the default text if pDefault is NULL. |
Reimplemented in FbxLibrary.
FbxLibrary* GetParentLibrary | ( | ) | const |
Returns a handle on the parent library of this object.
NULL
if the parent library doesn't exist. bool AddImplementation | ( | FbxImplementation * | pImplementation | ) |
Adds an implementation.
pImplementation | The implementation to be added. |
True
on success, false
otherwise. bool RemoveImplementation | ( | FbxImplementation * | pImplementation | ) |
Removes an implementation.
pImplementation | The implementation to be removed. |
True
on success, false
otherwise. bool HasDefaultImplementation | ( | void | ) | const |
Determines if this shading node has a default implementation.
True
if this shading node has a default implementation, false
otherwise. FbxImplementation* GetDefaultImplementation | ( | void | ) | const |
Returns the default implementation of this shading node.
bool SetDefaultImplementation | ( | FbxImplementation * | pImplementation | ) |
Sets the default implementation of this shading node.
pImplementation | The implementation to be set. |
True
on success, false
otherwise. int GetImplementationCount | ( | const FbxImplementationFilter * | pCriteria = ((void *) 0) | ) | const |
Returns the number of implementations that satisfy a given criteria.
pCriteria | The given criteria. |
FbxImplementation* GetImplementation | ( | int | pIndex, |
const FbxImplementationFilter * | pCriteria = ((void *) 0) |
||
) | const |
Returns the implementation at the specified index that satisfies the given criteria.
pIndex | The specified index. |
pCriteria | The given criteria. |
|
virtual |
Returns the URL of this object.
|
virtual |
Sets the URL of this object.
pUrl | The URL to be set. |
True
on success, false
otherwise. void SetRuntimeClassId | ( | const FbxClassId & | pClassId | ) |
Set the run-time ClassId for this class.
In most contexts, users do not have to change the run-time ClassId, they are automatically generated when registered a new class during run-time.
pClassId | The ClassId to set as the run-time ClassId for this object. |
FbxClassId GetRuntimeClassId | ( | ) | const |
Retrieve the run-time ClassId for this object.
bool IsRuntime | ( | const FbxClassId & | pClassId | ) | const |
Test if this class is a hierarchical children of the specified class type.
This test will be performed on the run-time class registered with the FBX SDK Manager rather than the static ClassId generated at compile time.
pClassId | The class type to test against self. |
bool IsRuntimePlug | ( | ) | const |
Find out if the ClassId was registered during run-time rather than at compile time.
|
virtual |
Compact the memory used by this object.
|
protectedvirtual |
Optional constructor override, automatically called by default constructor.
pFrom | If not null, the function must take it into account like a copy constructor. |
Reimplemented in FbxControlSetPlug.
|
protectedvirtual |
Optional property constructor override, automatically called by default constructor.
pForceSet | If the property value must be set regardless of default value. |
Reimplemented in FbxControlSetPlug.
|
protectedvirtual |
Optional destructor override, automatically called by default destructor.
pRecursive | If true, children objects should be destroyed as well. |
|
protectedvirtual |
Clears this object's content from memory.
This method must be overridden in the derived classes.
|
protectedvirtual |
Retrieves the peripheral of that object.
Reimplemented in FbxDocument.
|
friend |
Definition at line 159 of file fbxobject.h.
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
static |
Definition at line 159 of file fbxobject.h.
FbxProperty RootProperty |
The root property that holds all children property for this object.
Definition at line 1033 of file fbxobject.h.