#include <kfbxproperty.h>
Inherits KFbxPlug.
Inherited by KFbxTypedProperty, KFbxTypedProperty< bool >, KFbxTypedProperty< double >, KFbxTypedProperty< fbxReference >, KFbxTypedProperty< fbxVectorTemplate3bxVectorTemplate3< double > >, and KFbxTypedProperty< int >.
Inheritance diagram for KFbxProperty:

Definition at line 68 of file kfbxproperty.h.
Property Initialization. | |
| enum | EFlags |
| Property attribute flags. More... | |
| void | ModifyFlag (EFlags pFlag, bool pValue) |
| Change the attributes of the property. | |
| bool | GetFlag (EFlags pFlag) |
| Get the property attribute state. | |
Constructor and Destructors. | |
| static KFbxProperty | Create (KFbxObject *pObject, char const *pName, KFbxDataType const &pDataType=KFbxDataType(), char const *pLabel="") |
| Create a dynamic property. | |
| static KFbxProperty | Create (KFbxObject *pObject, KFbxProperty &pFromProperty) |
| Create a dynamic property from an other property. | |
| static KFbxProperty | Create (KFbxProperty const &pCompoundProperty, char const *pName, KFbxDataType const &pDataType=KFbxDataType(), char const *pLabel="") |
| Create a dynamic property. | |
| KFbxProperty const & | StaticInit (KFbxObject *pObject, char const *pName, KFbxDataType const &pDataType, char const *pLabel) |
| Static Property Creation. | |
| void | Destroy (bool pRecursive=true, bool pDependents=false) |
| Destroy a dynamic property. | |
| KFbxProperty () | |
| Static Property Constructors. | |
| KFbxProperty (KFbxProperty const &pProperty) | |
| Copy constructor for properties. | |
| ~KFbxProperty () | |
| Static Property destructor. | |
Property Identification. | |
| KFbxDataType | GetPropertyDataType () const |
| Get the property datatype definition. | |
| KString | GetName () const |
| Get the property internal name. | |
| KString | GetLabel (bool pReturnNameIfEmpty=true) |
| Get the property label. | |
| void | SetLabel (KString pLabel) |
| Set a label to the property. | |
| KFbxObject * | GetFbxObject () |
| Get the object that contains the property. | |
| void | SetUserTag (int pTag) |
| Get the property datatype definition. | |
| int | GetUserTag () |
| Get the property datatype definition. | |
Value management. | |
| bool | Set (void const *pValue, EFbxType pValueType) |
| set value function | |
| bool | Get (void *pValue, EFbxType pValueType) const |
| get value function | |
| template<class T> | |
| bool | Set (T const &pValue) |
| template<class T> | |
| T | Get (T const *pFBX_TYPE) const |
Property Limits. | |
| Property limits are provided for convenience if some applications desire to bound the range of possible values for a given type property.
Note that these limits are meaningless for the boolean type. It is the responsibility of the calling application to implement the necessary instructions to limit the property. | |
| void | SetMinLimit (double pMin) |
| Set the minimum limit value of the property. | |
| double | GetMinLimit () |
| Get the minimum limit value of the property. | |
| void | SetMaxLimit (double pMax) |
| Set the maximum limit value of the property. | |
| double | GetMaxLimit () |
| Get the maximum limit value of the property. | |
| void | SetLimits (double pMin, double pMax) |
| Set the minimum and maximum limit value of the property. | |
Enum and property list | |
| int | AddEnumValue (char const *pStringValue) |
| Add a string value at the end of the list. | |
| void | InsertEnumValue (int pIndex, char const *pStringValue) |
| Insert a string value at the specified index. | |
| int | GetEnumCount () |
| Get the number of elements in the list. | |
| void | SetEnumValue (int pIndex, char const *pStringValue) |
| Set a string value for the specified index. | |
| void | RemoveEnumValue (int pIndex) |
| Remove the string value at the specified index. | |
| char * | GetEnumValue (int pIndex) |
| Get a string value for the specified index. | |
Array Management | |
| KFbxProperty | operator[] (int pIndex) |
FCurve Management | |
| KFCurveNode * | CreateKFCurveNode (const char *pTakeName=NULL) |
| Create a KFCurveNode on a take. | |
| KFCurveNode * | GetKFCurveNode (bool pCreateAsNeeded=false, const char *pTakeName=NULL) |
| Get the KFCurveNode from a take. | |
General Property Connection and Relationship Management | |
| int | GetSrcPropertyCount () |
| KFbxProperty | GetSrcProperty (int pIndex=0) |
| KFbxProperty | FindSrcProperty (const char *pName, int pStartIndex=0) |
| bool | ConnectSrcProperty (KFbxProperty const &pProperty) |
| bool | IsConnectedSrcProperty (KFbxProperty const &pProperty) |
| bool | DisconnectSrcProperty (KFbxProperty const &pProperty) |
| int | GetDstPropertyCount () |
| KFbxProperty | GetDstProperty (int pIndex=0) |
| KFbxProperty | FindDstProperty (const char *pName, int pStartIndex=0) |
| bool | ConnectDstProperty (KFbxProperty const &pProperty) |
| bool | IsConnectedDstProperty (KFbxProperty const &pProperty) |
| bool | DisconnectDstProperty (KFbxProperty const &pProperty) |
Public Types | |
| enum | EUserPropertyType |
Public Member Functions | |
| KFbxProperty & | operator= (KFbxProperty const &pKProperty) |
| Operators. | |
| bool | CopyValue (KFbxProperty const &pProp) |
| Copy value of a property. | |
| virtual void | SetUserDataPtr (void *pUserData) |
| Store a pointer to an application-specific memory region. | |
| virtual void * | GetUserDataPtr () |
| Retrieve the application-specific pointer stored in this KFbxObject. | |
| enum EFlags |
Property attribute flags.
Definition at line 178 of file kfbxproperty.h.
| KFbxProperty | ( | ) |
Static Property Constructors.
| KFbxProperty | ( | KFbxProperty const & | pProperty | ) |
Copy constructor for properties.
| ~KFbxProperty | ( | ) |
Static Property destructor.
| static KFbxProperty Create | ( | KFbxObject * | pObject, | |
| char const * | pName, | |||
| KFbxDataType const & | pDataType = KFbxDataType(), |
|||
| char const * | pLabel = "" | |||
| ) | [static] |
Create a dynamic property.
| pObject | ||
| pName | ||
| pDataType | ||
| pLabel |
| static KFbxProperty Create | ( | KFbxObject * | pObject, | |
| KFbxProperty & | pFromProperty | |||
| ) | [static] |
Create a dynamic property from an other property.
| pObject | ||
| pFromProperty |
| static KFbxProperty Create | ( | KFbxProperty const & | pCompoundProperty, | |
| char const * | pName, | |||
| KFbxDataType const & | pDataType = KFbxDataType(), |
|||
| char const * | pLabel = "" | |||
| ) | [static] |
Create a dynamic property.
| pCompoundProperty | ||
| pName | ||
| pDataType | ||
| pLabel |
| KFbxProperty const& StaticInit | ( | KFbxObject * | pObject, | |
| char const * | pName, | |||
| KFbxDataType const & | pDataType, | |||
| char const * | pLabel | |||
| ) |
Static Property Creation.
| pObject | ||
| pName | ||
| pDataType | ||
| pLabel |
Referenced by KFbxTypedProperty< fbxVectorTemplate3bxVectorTemplate3< double > >::StaticInit().
| void Destroy | ( | bool | pRecursive = true, |
|
| bool | pDependents = false | |||
| ) | [virtual] |
| KFbxDataType GetPropertyDataType | ( | ) | const |
Get the property datatype definition.
Referenced by KFbxStreamOptions::SetOption().
| KString GetName | ( | ) | const |
Get the property internal name.
| KString GetLabel | ( | bool | pReturnNameIfEmpty = true |
) |
Get the property label.
| pReturnNameIfEmpty | If true, allow this method to return the internal name. |
true and the label has not been defined. | void SetLabel | ( | KString | pLabel | ) |
Set a label to the property.
| pLabel | Label string. |
| KFbxObject* GetFbxObject | ( | ) |
Get the object that contains the property.
| void SetUserTag | ( | int | pTag | ) |
| int GetUserTag | ( | ) |
| void ModifyFlag | ( | EFlags | pFlag, | |
| bool | pValue | |||
| ) |
Change the attributes of the property.
| pFlag | Property attribute identifier. | |
| pValue | New state. |
Referenced by KFbxTypedProperty< fbxVectorTemplate3bxVectorTemplate3< double > >::StaticInit().
| bool GetFlag | ( | EFlags | pFlag | ) |
Get the property attribute state.
| pFlag | Property attribute identifier. |
| KFbxProperty& operator= | ( | KFbxProperty const & | pKProperty | ) |
Operators.
| bool CopyValue | ( | KFbxProperty const & | pProp | ) |
Copy value of a property.
| pProp | Property to get value from. |
| bool Set | ( | void const * | pValue, | |
| EFbxType | pValueType | |||
| ) |
set value function
Referenced by KFbxSet(), KFbxStreamOptionsDxfReader::SetCreateRootNode(), KFbxStreamOptions::SetOption(), and KFbxStreamOptionsDxfReader::SetWeldVertices().
| bool Get | ( | void * | pValue, | |
| EFbxType | pValueType | |||
| ) | const |
get value function
Referenced by KFbxGet().
| void SetMinLimit | ( | double | pMin | ) |
Set the minimum limit value of the property.
| pMin | Minimum value allowed. |
| double GetMinLimit | ( | ) |
Get the minimum limit value of the property.
| void SetMaxLimit | ( | double | pMax | ) |
Set the maximum limit value of the property.
| pMax | Maximum value allowed. |
| double GetMaxLimit | ( | ) |
Get the maximum limit value of the property.
| void SetLimits | ( | double | pMin, | |
| double | pMax | |||
| ) |
Set the minimum and maximum limit value of the property.
| pMin | Minimum value allowed. | |
| pMax | Maximum value allowed. |
| int AddEnumValue | ( | char const * | pStringValue | ) |
Add a string value at the end of the list.
| pStringValue | Value of the string to be added. |
| void InsertEnumValue | ( | int | pIndex, | |
| char const * | pStringValue | |||
| ) |
Insert a string value at the specified index.
| pIndex | Zero bound index. | |
| pStringValue | Value of the string for the specified index. |
| int GetEnumCount | ( | ) |
Get the number of elements in the list.
| void SetEnumValue | ( | int | pIndex, | |
| char const * | pStringValue | |||
| ) |
Set a string value for the specified index.
| pIndex | Zero bound index. | |
| pStringValue | Value of the string for the specified index. |
| void RemoveEnumValue | ( | int | pIndex | ) |
Remove the string value at the specified index.
| pIndex | of the string value to be removed. |
| char* GetEnumValue | ( | int | pIndex | ) |
Get a string value for the specified index.
| pIndex | Zero bound index. | |
| pStringValue | Value of the string for the specified index. |
| KFCurveNode* CreateKFCurveNode | ( | const char * | pTakeName = NULL |
) |
| KFCurveNode* GetKFCurveNode | ( | bool | pCreateAsNeeded = false, |
|
| const char * | pTakeName = NULL | |||
| ) |
Get the KFCurveNode from a take.
| pTakeName | Name of the take to get the KFCurveNode from | |
| pCreateAsNeeded | Create the KFCurveNode if not found. |
| virtual void SetUserDataPtr | ( | void * | pUserData | ) | [virtual] |
Store a pointer to an application-specific memory region.
| pUserData | A pointer to be carry over by the KFbxObject. |
Reimplemented from KFbxPlug.
| virtual void* GetUserDataPtr | ( | ) | [virtual] |
Retrieve the application-specific pointer stored in this KFbxObject.
NULL if the pointer was not set. Reimplemented from KFbxPlug.