FBX C++ API Reference
All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FbxBindingOperator::Function Class Referenceabstract

#include <fbxbindingoperator.h>

Class Description

It represents a binding relationship between current object and the target.

Any binding operation need to specify a certain kind of binding function.

Definition at line 183 of file fbxbindingoperator.h.

+ Inheritance diagram for FbxBindingOperator::Function:

Public Member Functions

virtual ~Function ()
 Destructor. More...
 
virtual bool Evaluate (const FbxBindingOperator *pOperator, const FbxObject *pObject, EFbxType *pResultType, void **pResult) const =0
 Run the operator on the given object. More...
 
virtual bool ReverseEvaluate (const FbxBindingOperator *pOperator, const FbxObject *pTarget, const void *pIn, void **pOut, EFbxType *pOutType, bool setObj, int index) const =0
 Run the inverse operator on the given object, assigning the result directly to the object. More...
 

Constructor & Destructor Documentation

◆ ~Function()

virtual ~Function ( )
inlinevirtual

Destructor.

Definition at line 187 of file fbxbindingoperator.h.

187 {}

Member Function Documentation

◆ Evaluate()

virtual bool Evaluate ( const FbxBindingOperator pOperator,
const FbxObject pObject,
EFbxType pResultType,
void **  pResult 
) const
pure virtual

Run the operator on the given object.

Parameters
pOperatorThe operator that will be applied.
pObjectThe object that will be evaluated.
pResultTypeWill be filled by the type of the result.
pResultWill be filled by a pointer to a buffer that hold the result. The caller must call FreeEvaluationResult() when it is done with this pointer.
Returns
true on success, false otherwise.

Implemented in FbxSpotDistributionChooserBOF, FbxSymbolIDBOF, FbxIsYupBOF, FbxSphericalToCartesianBOF, FbxVectorDegreeToVectorRadianBOF, FbxDegreeToRadianBOF, FbxPowerBOF, FbxOneOverXBOF, FbxMultiplyDistBOF, FbxMultiplyBOF, FbxSubstractBOF, FbxAddBOF, FbxTRSToMatrixBOF, FbxSwitchBOF, FbxConditionalBOF, FbxAssignBOF, FbxNodeDirectionBOF, and FbxNodePositionBOF.

◆ ReverseEvaluate()

virtual bool ReverseEvaluate ( const FbxBindingOperator pOperator,
const FbxObject pTarget,
const void *  pIn,
void **  pOut,
EFbxType pOutType,
bool  setObj,
int  index 
) const
pure virtual

Run the inverse operator on the given object, assigning the result directly to the object.

Parameters
pOperatorThe operator that will be applied.
pTargetThe object that will be evaluated.
pIn
pOut
pOutTypeType of value being reversed.
setObjControl to set the property (only to query by the default ).
indexUsed only in FbxMultiplyDistBOF.
Returns
true on success, false otherwise.

Implemented in FbxSpotDistributionChooserBOF, FbxSymbolIDBOF, FbxIsYupBOF, FbxSphericalToCartesianBOF, FbxVectorDegreeToVectorRadianBOF, FbxDegreeToRadianBOF, FbxPowerBOF, FbxOneOverXBOF, FbxMultiplyDistBOF, FbxMultiplyBOF, FbxSubstractBOF, FbxAddBOF, FbxTRSToMatrixBOF, FbxSwitchBOF, FbxConditionalBOF, FbxAssignBOF, FbxNodeDirectionBOF, and FbxNodePositionBOF.


The documentation for this class was generated from the following file: