FbxBindingOperator::Function Class Reference
 
 
 
FbxBindingOperator::Function Class Reference

#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:
FbxAddBOF FbxAssignBOF FbxConditionalBOF FbxDegreeToRadianBOF FbxIsYupBOF FbxMultiplyBOF FbxMultiplyDistBOF FbxNodeDirectionBOF FbxNodePositionBOF FbxOneOverXBOF FbxPowerBOF FbxSphericalToCartesianBOF FbxSpotDistributionChooserBOF FbxSubstractBOF FbxSwitchBOF FbxSymbolIDBOF FbxTRSToMatrixBOF FbxVectorDegreeToVectorRadianBOF

List of all members.

Public Member Functions

virtual  ~Function ()
  Destructor.
virtual bool  Evaluate (const FbxBindingOperator *pOperator, const FbxObject *pObject, EFbxType *pResultType, void **pResult) const =0
  Run the operator on the given object.
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.

Constructor & Destructor Documentation

virtual ~Function ( ) [inline, virtual]

Destructor.

Definition at line 187 of file fbxbindingoperator.h.

{}

Member Function Documentation

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

Run the operator on the given object.

Parameters:
pObject The object that will be evaluated.
pResultType Will be filled by the type of the result.
pResult Will 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 FbxNodePositionBOF, FbxNodeDirectionBOF, FbxAssignBOF, FbxConditionalBOF, FbxSwitchBOF, FbxTRSToMatrixBOF, FbxAddBOF, FbxSubstractBOF, FbxMultiplyBOF, FbxMultiplyDistBOF, FbxOneOverXBOF, FbxPowerBOF, FbxDegreeToRadianBOF, FbxVectorDegreeToVectorRadianBOF, FbxSphericalToCartesianBOF, FbxIsYupBOF, FbxSymbolIDBOF, and FbxSpotDistributionChooserBOF.

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:
pOperator The operator that will be applied.
pTarget The object that will be evaluated.
pIn
pOut
pOutType Type of value being reversed.
setObj Control to set the property (only to query by the default ).
index Used only in FbxMultiplyDistBOF.
Returns:
true on success, false otherwise.

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


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