This reference page is linked to from the following overview topics: Skeleton mocap: deviceskeleton, Model templates.
Contains definitions for devices, boxes and models. More...
#include
<kaydaradef.h>
#include <fbsdk/fbcomponent.h>
#include <fbsdk/fbfbx.h>
#include <fbsdk/fbtime.h>
#include <fbsdk/fbdata.h>
#include <fbsdk/fbevaluateinfo.h>
Go to the source code of this file.
Classes |
|
class | FBBox |
A box is a fundamental building block in the
application architecture. More... |
|
class | FBHandle |
FBHandle class. More... |
|
class | FBPropertyListHandle |
PropertyList: Handle. More... |
|
class | FBPropertyListModelTemplate |
PropertyList: ModelTemplate. More... |
|
class | FBPropertyListModelTemplateBinding |
PropertyList: ModelTemplateBinding.
More... |
|
class | FBModelTemplate |
Model template class. More... |
|
class | FBPropertyListDevice |
PropertyList: Device More... |
|
class | FBDeviceNotifyInfo |
Device Input and Output Notification
information structure. More... |
|
class | FBDeviceInstrument |
Instrument abstraction layer. More... |
|
class | FBPropertyListDeviceInstrument |
List of instruments. More... |
|
class | FBDevice |
Base Device class. More... |
|
class | FBDeviceGlove |
Base Glove class. More... |
|
class | FBDeviceGlove::GloveChannel |
Base GloveChannel. More... |
|
Defines |
|
#define | FBSDK_DLL K_DLLIMPORT |
Be sure that FBSDK_DLL is defined only
once... |
|
#define | FBBoxDeclare(ClassName, Parent) |
Box declaration. |
|
#define | FBBoxImplementation(ThisComponent) FBClassImplementation( ThisComponent ) |
Box implementation. |
|
#define | FBDeviceDeclare(ClassName, Parent) |
Device declaration. |
|
#define | FBDeviceImplementation(ThisComponent) FBClassImplementation( ThisComponent ) |
Device implementation. |
|
#define | FBRegisterBox(UniqueNameStr, ClassName, FolderName, Label, Description, IconFilename) |
Register a box class. |
|
#define | FBRegisterDevice(UniqueNameStr, ClassName, Label, Description, IconFilename) |
Register a device class. |
|
#define | FBRegisterOnlineDevice(UniqueNameStr, ClassName, Label, Description, IconFilename) |
Register an online device class. |
|
Typedefs |
|
typedef HIObject(* | kFBObjectCreatorFnc )(HIObject pOwner, char *pName, void *pData) |
typedef class
FBSDK_DLL FBPropertyBaseList < HFBAnimationNode > |
FBPropertyBaseListModelTemplateBinding |
typedef class FBSDK_DLL FBPropertyBaseList<
HFBAnimationNode > FBPropertyBaseListModelTemplateBinding
|
|
Enumerations |
|
enum | FBModelTemplateStyle
{ kFBModelTemplateNone, kFBModelTemplateNull, kFBModelTemplateMarker, kFBModelTemplateRoot, kFBModelTemplateSensor, kFBModelTemplateSkeleton, kFBModelTemplateCamera, kFBModelTemplateGeometry, kFBModelTemplateCameraInterest, kFBModelTemplateLight, kFBModelTemplateOptical } |
Model template styles When creating model templates, this parameter will affect the actual model created (associated with the model template). More... |
|
enum | FBDeviceSamplingMode { kFBHardwareTimestamp, kFBHardwareFrequency, kFBAutoFrequency, kFBSoftwareTimestamp } |
Recording types. More... |
|
enum | FBCommType
{ kFBCommTypeNone = 0, kFBCommTypeSerial = 1<<0, kFBCommTypeNetworkTCP = 1<<1, kFBCommTypeNetworkUDP = 1<<2, kFBCommTypeSharedMemory = 1<<3, kFBCommTypeSimulator = 1<<4, kFBCommTypeOther = 1<<5 } |
Communications type. More... |
|
Functions |
|
FB_DEFINE_COMPONENT (FBSDK_DLL, ModelTemplate) | |
FB_DEFINE_COMPONENT (FBSDK_DLL, Device) | |
FB_DEFINE_COMPONENT (FBSDK_DLL, Path3D) | |
FB_DEFINE_COMPONENT (FBSDK_DLL, Scene) | |
FB_DEFINE_COMPONENT (FBSDK_DLL, Model) | |
__FB_FORWARD (FBBox) | |
FB_FORWARD (FBFbxObject) | |
__FB_FORWARD (FBHandle) | |
FB_DEFINE_LIST (FBSDK_DLL, Handle) | |
FB_FORWARD (FBPropertyListHandle) | |
__FB_FORWARD (FBModelTemplate) | |
__FB_FORWARD (FBPropertyListModelTemplate) | |
FB_DEFINE_LIST (FBSDK_DLL, ModelTemplate) | |
__FB_FORWARD (FBModelTemplateBinding) | |
__FB_FORWARD (FBPropertyListModelTemplateBinding) | |
__FB_FORWARD (FBDevice) | |
__FB_FORWARD (FBPropertyListDevice) | |
FB_FORWARD (FBDeviceNotifyInfo) | |
__FB_FORWARD (FBDeviceInstrument) | |
FB_DEFINE_COMPONENT (FBSDK_DLL, DeviceInstrument) | |
__FB_FORWARD (FBPropertyListDeviceInstrument) | |
FB_DEFINE_LIST (FBSDK_DLL, DeviceInstrument) | |
FB_DEFINE_ENUM (FBSDK_DLL, DeviceSamplingMode) | |
__FB_FORWARD (FBDeviceGlove) |
Contains definitions for devices, boxes and models.
Definition in file fbcore.h.
#define FBSDK_DLL K_DLLIMPORT |
Be sure that FBSDK_DLL is defined only once...
#define FBBoxDeclare | ( | ClassName, | |
Parent | |||
) |
FBClassDeclare( ClassName,Parent ); \ public: \ ClassName(char * pName):Parent(pName) { FBClassInit; } \ private:
Box declaration.
ClassName | Name of box class. |
Parent | Parent class of ClassName. |
#define FBBoxImplementation | ( | ThisComponent | ) | FBClassImplementation( ThisComponent ) |
Box implementation.
ThisComponent | Name of box class to implement. |
#define FBDeviceDeclare | ( | ClassName, | |
Parent | |||
) |
FBClassDeclare( ClassName,Parent ); \ public: \ ClassName(char * pName):Parent(pName) { FBClassInit; } \ private:
Device declaration.
ClassName | Name of device class. |
Parent | Parent class of ClassName. |
#define FBDeviceImplementation | ( | ThisComponent | ) | FBClassImplementation( ThisComponent ) |
Device implementation.
ThisComponent | Name of device class to implement. |
#define FBRegisterBox | ( | UniqueNameStr, | |
ClassName, | |||
FolderName, | |||
Label, | |||
Description, | |||
IconFilename | |||
) |
HIObject RegisterBox##ClassName##Create( HIObject /*pOwner*/,char * pName,void * /*pData*/) \ { \ ClassName *Class = new ClassName(pName); \ Class->mAllocated = true; \ Class->UniqueName = UniqueNameStr; \ if (Class->FBCreate()) { \ return Class->GetHIObject(); \ } else { \ delete Class; \ return NULL; \ } \ } \ \ FBLibraryModule( ClassName ) \ {\ FBRegisterObject(ClassName##R1,"Boxes",UniqueNameStr,Description,RegisterBox##ClassName##Create,true, IconFilename );\ FBRegisterObject(ClassName##R2,"Boxes/Functions/"FolderName,Label,Description,RegisterBox##ClassName##Create,true, IconFilename );\ FBRegisterObject(ClassName##R3,"FbxStorable/Box",UniqueNameStr,Description,RegisterBox##ClassName##Create,true, IconFilename ); \ }
Register a box class.
UniqueNameStr | Unique name of class. |
ClassName | Name of box class. |
FolderName | Directory structure within the application. |
Label | Short description. |
Description | Long description. |
IconFilename | Name of the file containing the icon. |
#define FBRegisterDevice | ( | UniqueNameStr, | |
ClassName, | |||
Label, | |||
Description, | |||
IconFilename | |||
) |
HIObject RegisterDevice##ClassName##Create( HIObject /*pOwner*/,char * pName,void * /*pData*/) \ { \ ClassName *Class = new ClassName(pName); \ Class->mAllocated = true; \ Class->UniqueName = UniqueNameStr; \ if (Class->FBCreate()) { \ return Class->GetHIObject(); \ } else { \ delete Class; \ return NULL; \ } \ } \ \ FBLibraryModule( ClassName ) \ { \ FBRegisterObject(ClassName##R1,"Boxes/Devices",Label,Description,RegisterDevice##ClassName##Create,true, IconFilename );\ FBRegisterObject(ClassName##R2,"FbxStorable/Device",UniqueNameStr,Description,RegisterDevice##ClassName##Create,true, IconFilename ); \ }
Register a device class.
UniqueNameStr | Unique name of class. |
ClassName | Name of device class. |
Label | Short description. |
Description | Long description. |
IconFilename | Name of the file containing the icon. |
#define FBRegisterOnlineDevice | ( | UniqueNameStr, | |
ClassName, | |||
Label, | |||
Description, | |||
IconFilename | |||
) |
HIObject RegisterDevice##ClassName##Create( HIObject /*pOwner*/,char * pName,void * /*pData*/) \ { \ ClassName *Class = new ClassName(pName); \ Class->mAllocated = true; \ Class->UniqueName = UniqueNameStr; \ if (Class->FBCreate()) { \ return Class->GetHIObject(); \ } else { \ delete Class; \ return NULL; \ } \ } \ \ FBLibraryModule( ClassName ) \ { \ if( FBGetLicense() >= kFBLicenseOnline ) \ { \ FBRegisterObject(ClassName##R1,"Boxes/Devices",Label,Description,RegisterDevice##ClassName##Create, true, IconFilename );\ FBRegisterObject(ClassName##R2,"FbxStorable/Device",UniqueNameStr,Description,RegisterDevice##ClassName##Create, true, IconFilename ); \ } \ }
Register an online device class.
UniqueNameStr | Unique name of class. |
ClassName | Name of device class. |
Label | Short description. |
Description | Long description. |
IconFilename | Name of the file containing the icon. |
pOwner | Object that own this new object |
pName | Name of the object |
pData | Data put in the object |
typedef class FBSDK_DLL FBPropertyBaseList< HFBAnimationNode > FBPropertyBaseListModelTemplateBinding |
typedef class FBSDK_DLL FBPropertyBaseList< HFBAnimationNode > FBPropertyBaseListModelTemplateBinding
enum FBModelTemplateStyle |
Model template styles When creating model templates, this parameter will affect the actual model created (associated with the model template).
enum FBDeviceSamplingMode |
Recording types.
The different values for this will control the way the keys are added when the device is being recorded. There are four different types of recording keys for devices:
enum FBCommType |
Communications type.
Different base types of communications. There is always the 'other' type in order to use another type of communication.
Definition at line 666 of file fbcore.h.
{ kFBCommTypeNone = 0, kFBCommTypeSerial = 1<<0, kFBCommTypeNetworkTCP = 1<<1, kFBCommTypeNetworkUDP = 1<<2, kFBCommTypeSharedMemory = 1<<3, kFBCommTypeSimulator = 1<<4, kFBCommTypeOther = 1<<5 };
FB_DEFINE_COMPONENT | ( | FBSDK_DLL | , |
ModelTemplate | |||
) |
FB_DEFINE_COMPONENT | ( | FBSDK_DLL | , |
Device | |||
) |
FB_DEFINE_COMPONENT | ( | FBSDK_DLL | , |
Path3D | |||
) |
FB_DEFINE_COMPONENT | ( | FBSDK_DLL | , |
Scene | |||
) |
FB_DEFINE_COMPONENT | ( | FBSDK_DLL | , |
Model | |||
) |
__FB_FORWARD | ( | FBBox | ) |
FB_FORWARD | ( | FBFbxObject | ) |
__FB_FORWARD | ( | FBHandle | ) |
FB_DEFINE_LIST | ( | FBSDK_DLL | , |
Handle | |||
) |
FB_FORWARD | ( | FBPropertyListHandle | ) |
__FB_FORWARD | ( | FBModelTemplate | ) |
__FB_FORWARD | ( | FBPropertyListModelTemplate | ) |
FB_DEFINE_LIST | ( | FBSDK_DLL | , |
ModelTemplate | |||
) |
__FB_FORWARD | ( | FBModelTemplateBinding | ) |
__FB_FORWARD | ( | FBPropertyListModelTemplateBinding | ) |
__FB_FORWARD | ( | FBDevice | ) |
__FB_FORWARD | ( | FBPropertyListDevice | ) |
FB_FORWARD | ( | FBDeviceNotifyInfo | ) |
__FB_FORWARD | ( | FBDeviceInstrument | ) |
FB_DEFINE_COMPONENT | ( | FBSDK_DLL | , |
DeviceInstrument | |||
) |
__FB_FORWARD | ( | FBPropertyListDeviceInstrument | ) |
FB_DEFINE_LIST | ( | FBSDK_DLL | , |
DeviceInstrument | |||
) |
FB_DEFINE_ENUM | ( | FBSDK_DLL | , |
DeviceSamplingMode | |||
) |
__FB_FORWARD | ( | FBDeviceGlove | ) |