Public Member Functions | Public Attributes

FBBox Class Reference

This reference page is linked to from the following overview topics: Your First Python Program, Threading, FBBox, Motion Capture Devices.


Search for all occurrences

Detailed Description

A box is a fundamental building block in the application architecture.

All animatable elements derive in some way from the main box class, either by deriving directly or owning a box.

Definition at line 219 of file fbcore.h.

#include <fbcore.h>

Inheritance diagram for FBBox:
Inheritance graph
[legend]

List of all members.

Public Member Functions

  FBBox (const char *pName, HIObject pObject=NULL)
  Constructor.
virtual bool  EvaluateAnimationNodes (FBEvaluateInfo *pEvaluateInfo)
  Evaluation of non TRS nodes that needs to be evaluated.
virtual bool  AnimationNodeNotify (FBAnimationNode *pAnimationNode, FBEvaluateInfo *pEvaluateInfo)
  Notification function for animation thread.
virtual bool  AnimationNodeDestroy (FBAnimationNode *pAnimationNode)
  Destroy an animation node.
virtual bool  AnimationNodeIsUserData (FBAnimationNode *pAnimationNode)
  Is the animation node user data?
virtual const char *  FbxGetObjectSubType ()
  returns UniqueName if not overloaded.
virtual const char *  FbxGetObjectType ()
  Object Type "Box".
  IObject_Declare (Implementation)
virtual FBAnimationNode AnimationNodeInCreate (kReference pUserId, const char *pName, const char *pDataType, bool pIsPublic=false, double *pMin=NULL, double *pMax=NULL, bool pUserData=false)
  Creation of IN/OUT Animation Nodes.
virtual FBAnimationNode AnimationNodeOutCreate (kReference pUserId, const char *pName, const char *pDataType, bool pIsPublic=false, double *pMin=NULL, double *pMax=NULL, bool pUserData=false)
virtual bool  FbxStore (FBFbxObject *pFbxObject, kFbxObjectStore pStoreWhat)
  Storage/Retrieval of information into the FBX file format.
virtual bool  FbxRetrieve (FBFbxObject *pFbxObject, kFbxObjectStore pStoreWhat)
virtual FBAnimationNode AnimationNodeInGet ()
  Get the (IN/OUT) animation node for this box.
virtual FBAnimationNode AnimationNodeOutGet ()

Public Attributes

const char *  UniqueName
  internal Unique name.
FBPropertyBool  Animatable
  Read Write Property: Is the box animatable.
FBPropertyBool  Live
  Read Write Property: Is live?
FBPropertyBool  RecordMode
  Read Write Property: Is recording?

Constructor & Destructor Documentation

FBBox ( const char *  pName,
HIObject  pObject = NULL 
)

Constructor.

Parameters:
pName Box name.
pObject For internal use only (default is NULL).

Member Function Documentation

virtual FBAnimationNode* AnimationNodeInCreate ( kReference  pUserId,
const char *  pName,
const char *  pDataType,
bool  pIsPublic = false,
double *  pMin = NULL,
double *  pMax = NULL,
bool  pUserData = false 
) [virtual]

Creation of IN/OUT Animation Nodes.

Parameters:
pUserId User-defined reference number.
pName Name of animation node.
pDataType Type of data being animated.
pIsPublic Determine if the animation node is published (default is false).
pMin Minimum values for data (default is NULL).
pMax Maximum values for data (default is NULL).
pUserData Is this user data? (default is false)
Returns:
A handle to the newly created animation node.

Reimplemented in FBDevice.

virtual FBAnimationNode* AnimationNodeOutCreate ( kReference  pUserId,
const char *  pName,
const char *  pDataType,
bool  pIsPublic = false,
double *  pMin = NULL,
double *  pMax = NULL,
bool  pUserData = false 
) [virtual]
virtual bool EvaluateAnimationNodes ( FBEvaluateInfo pEvaluateInfo ) [virtual]

Evaluation of non TRS nodes that needs to be evaluated.

This function is called by the real-time engine in order to process animation information.

Parameters:
pEvaluateInfo Information concerning the evaluation of the animation (time, etc.)
Returns:
true if animation node notification is successful.
virtual bool AnimationNodeNotify ( FBAnimationNode pAnimationNode,
FBEvaluateInfo pEvaluateInfo 
) [virtual]

Notification function for animation thread.

This function is called by the real-time engine in order to process animation information.

Parameters:
pAnimationNode Node containing the modified information.
pEvaluateInfo Information concerning the evaluation of the animation (time, etc.)
Returns:
true if animation node notification is successful.

Reimplemented in FBDevice, FBDeviceOptical, and FBDeviceSync.

virtual bool FbxStore ( FBFbxObject pFbxObject,
kFbxObjectStore  pStoreWhat 
) [virtual]

Storage/Retrieval of information into the FBX file format.

Parameters:
pFbxObject Object to interface with FBX file format.
pStoreWhat Attributes to store in FBX file.
Returns:
true if successful.

Reimplemented in FBConstraint, FBDevice, FBDeviceOptical, FBDeviceSync, FBDeviceCamera, and FBUserObject.

virtual bool FbxRetrieve ( FBFbxObject pFbxObject,
kFbxObjectStore  pStoreWhat 
) [virtual]
virtual bool AnimationNodeDestroy ( FBAnimationNode pAnimationNode ) [virtual]

Destroy an animation node.

Parameters:
pAnimationNode Handle to the animation node to be destroyed.
Returns:
true if destruction was successful.
virtual bool AnimationNodeIsUserData ( FBAnimationNode pAnimationNode ) [virtual]

Is the animation node user data?

Parameters:
pAnimationNode Handle to the animation to be queried.
Returns:
true if node is user data.
virtual FBAnimationNode* AnimationNodeInGet ( ) [virtual]

Get the (IN/OUT) animation node for this box.

Returns:
A handle to the animation node for this box.
virtual FBAnimationNode* AnimationNodeOutGet ( ) [virtual]
virtual const char* FbxGetObjectSubType ( ) [virtual]

returns UniqueName if not overloaded.

Reimplemented in FBModel, FBModelNull, FBModelMarker, and FBMaterial.

virtual const char* FbxGetObjectType ( ) [virtual]

Object Type "Box".

Reimplemented in FBDevice, FBModel, FBModelNull, FBModelMarker, and FBMaterial.

IObject_Declare ( Implementation  )

Member Data Documentation

const char* UniqueName

internal Unique name.

Definition at line 288 of file fbcore.h.

Read Write Property: Is the box animatable.

Definition at line 294 of file fbcore.h.

Read Write Property: Is live?

Definition at line 295 of file fbcore.h.

Read Write Property: Is recording?

Definition at line 296 of file fbcore.h.


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

FBBox FBBox FBBox FBBox FBBox FBBox FBBox FBBox FBBox FBBox
FBBox FBBox FBBox FBBox FBBox FBBox FBBox FBBox FBBox FBBox