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

Public Attributes

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 ( char *  pName,
HIObject  pObject = NULL 
)

Constructor.

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

Member Function Documentation

virtual HFBAnimationNode AnimationNodeInCreate ( kReference  pUserId,
char *  pName,
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 HFBAnimationNode AnimationNodeOutCreate ( kReference  pUserId,
char *  pName,
char *  pDataType,
bool  pIsPublic = false,
double *  pMin = NULL,
double *  pMax = NULL,
bool  pUserData = false 
) [virtual]
virtual bool EvaluateAnimationNodes ( HFBEvaluateInfo  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 ( HFBAnimationNode  pAnimationNode,
HFBEvaluateInfo  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 ( HFBFbxObject  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, FBModel, FBDeviceOptical, FBDeviceSync, FBDeviceCamera, and FBUserObject.

virtual bool FbxRetrieve ( HFBFbxObject  pFbxObject,
kFbxObjectStore  pStoreWhat 
) [virtual]
virtual bool AnimationNodeDestroy ( HFBAnimationNode  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 ( HFBAnimationNode  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 HFBAnimationNode AnimationNodeInGet ( ) [virtual]

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

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

returns UniqueName if not overloaded.

Reimplemented in FBModel.

virtual char* FbxGetObjectType ( ) [virtual]

Object Type "Box".

Reimplemented in FBDevice, and FBModel.

IObject_Declare ( Implementation  )

Member Data Documentation

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