Open Reality Reference Guide
|
|
Go to the documentation of this file. 1 #ifndef __FBTRACKER_H__
2 #define __FBTRACKER_H__
42 #include <kaydaradef.h>
47 #define FBSDK_DLL K_DLLIMPORT
53 #ifdef FBSDKUseNamespace
54 namespace FBSDKNamespace {
352 #ifdef FBSDKUseNamespace
class K_DLLIMPORT FBPropertyBase< FBVector2d, kFBPT_Vector2D > FBPropertyVector2d
FBPropertyVector2d type definition.
virtual bool InstrumentWriteData(FBEvaluateInfo *pEvaluateInfo) override
Write data to instrument's connectors.
virtual void InstrumentRecordFrame(FBTime pRecordTime, FBDeviceNotifyInfo &pNotifyInfo) override
Record the data to the function curves for the instrument.
FBPropertyInt DeviceSync
Property: Sync count for packet (from Device).
virtual void PacketRelease(FBDeviceSyncPacket *pPacket)
Release a fetched packet.
FBPropertyDouble Zoom
Property: Zoom encoder value.
FBPropertyInt OriginalSync
Property: Sync count for packet (from Application).
virtual bool DeviceCameraWriteData(FBEvaluateInfo *pEvaluateInfo)
Write data to camera connectors.
kFbxObjectStore
Description of the different store/retrieve passes of the FBX format.
virtual void DeviceCameraEvalData(FBDeviceNotifyInfo &pNotifyInfo)
I/O for camera device.
virtual void PrintDebugAnimInfo(int pSync, FBDeviceSyncPacket *pSyncPacket, FBEvaluateInfo *pEvaluateInfo)
Print to screen animation info.
kDeviceIOs
Types of I/O for device.
FBPropertyBool ManualCenterMode
Property(RW): Manually adjust the optical center?
class K_DLLIMPORT FBPropertyBase< int, kFBPT_int > FBPropertyInt
Property: int
FBPropertyBool InvertFocus
Property(RW): Invert the focus encoder values?
virtual bool LoadLensTables(const char *pFilename)
Load the lens lookup tables.
FBPropertyVector2d FieldOfView
Property: Field of View (X,Y) of camera lens.
virtual FBDeviceSyncPacket * PacketLock()
Lock a packet from the queue.
Base Device class. Cannot be instantiated from Python.
virtual void PacketUnlock(FBDeviceSyncPacket *pPacket, bool pValidPacket)
Unlock a previously locked packet.
Instrument for a camera device.
virtual void DeviceCameraRecordFrame(FBTime &pRecordTime, FBDeviceNotifyInfo &pNotifyInfo)
Record a frame of data to the FCurves for the camera device.
FBPropertyVector3d Position
Property: Position of camera.
K_DLLIMPORT FBTimeMode FBGetSyncTimeMode()
Returns the time mode for the current system sync.
FBPropertyBool InvertZoom
Property(RW): Invert the zoom encoder values?
FBPropertyDouble ManualFovX
Property(RW): Manual field of view X value.
class K_DLLIMPORT FBPropertyBase< double, kFBPT_double > FBPropertyDouble
Property: double
FBPropertyDouble ZoomMultiplier
Property(RW): Filmback multiplier.
FBPropertyDouble AspectRatio
Property(RW): Aspect ratio for calculating the Field of View X value.
virtual bool FbxStore(FBFbxObject *pFbxObject, kFbxObjectStore pStoreWhat) override
Storage/Retrieval of information into the FBX file format.
FBPropertyBool DebugInfo
Property: Debugging Info?
virtual bool DeviceCameraAnimationNodeNotify(FBEvaluateInfo *pEvaluateInfo, FBDeviceCameraPacket *pDstPacket, FBDeviceSyncPacket *pSrcPacket)
Evaluation engine callback for camera device.
FBPropertyVector3d RotationOffset
Property(RW): Rotation offset.
virtual void RecordingInitAnimation(FBAnimationNode *pAnimationNode) override
When recording, initialize animation.
Device Input and Output Notification information structure.
FBPropertyVector3d TranslationOffset
Property(RW): Translation offset;
virtual bool AnimationNodeNotify(FBAnimationNode *pAnimationNode, FBEvaluateInfo *pEvaluateInfo) override
Notification function for animation thread.
FBDeviceSync(const char *pName, HIObject pObject=NULL)
Constructor.
FBPropertyDeviceCameraPacket RecordPacket
Property(RW): Used as a buffer to contain the record state of the instrument, use to create the keys ...
virtual bool FbxStore(FBFbxObject *pFbxObject, kFbxObjectStore pStoreWhat) override
Storage/Retrieval of information into the FBX file format.
FBPropertyInt NumberOfInstruments
Property(RW): Number of instruments.
FBPropertyDouble Focus
Property: Focus encoder value (relative).
virtual void FBDestroy() override
Open Reality destruction function.
virtual FBDeviceSyncPacket * PacketFetch(int pRequestedSync)
Fetch the data packet for the requested sync count.
FBPropertyVector3d Rotation
Property: Orientation of camera.
class K_DLLIMPORT FBPropertyBase< FBTime, kFBPT_Time > FBPropertyTime
Property: FBTime
FBPropertyDouble ManualCenterY
Property(RW): Manual optical center Y coordinate.
FBPropertyVector2d OpticalCenter
Property: Optical Center of camera lens.
virtual void ProcessLensData(FBDeviceCameraPacket *pDataPacket)
Process the lens table data for this data packet.
#define __FBClassDeclare(Name, Parent)
For internal use only.
virtual bool FBCreate() override
Open Reality Creation function.
FBPropertyVector3d Offset
Property: Camera offset.
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
FBPropertyInt CorrectedSync
Property: Corrected sync count (from Sync queue).
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
virtual FBDeviceSyncPacket * PacketRemove(int pPacketIndex)
Remove a packet from the packet queue.
FBPropertyBool LensFovInDegrees
Property(RW): Is FOV in table in degrees (false)
class K_DLLIMPORT FBPropertyBase< FBVector3d, kFBPT_Vector3D > FBPropertyVector3d
FBPropertyVector3d type definition.
virtual void DeviceIONotify(kDeviceIOs pAction, FBDeviceNotifyInfo &pDeviceNotifyInfo) override
Real-Time engine thread: Device I/O.
virtual void PacketRegister(FBDeviceSyncPacket *pPacket)
Register a packet in the buffer.
FBPropertyTime Time
Property: Time of packet.
FBDeviceCameraPacket()
Constructor.
virtual bool FBCreate() override
Open Reality Creation function.
FBDeviceCamera(const char *pName, HIObject pObject=NULL)
Constructor.
virtual void FBDestroy() override
Open Reality destruction function.
virtual bool DeviceSyncAnimationNodeNotify(FBAnimationNode *pAnimationNode, FBEvaluateInfo *pEvaluateInfo, int pCorrectedSync) override
Real-Time synchronous evaluation callback.
FBPropertyInt PacketBufferSize
Property: Packet buffer size(default=100).
FBPropertyDeviceCameraPacket Packet
Property(RW): Used as a buffer to contain the current state of the instrument, use to put data in con...
FBPropertyBool UsingCustomInstruments
Property(RW): Using custom instruments?
FBDeviceSyncPacket()
Constructor.
class K_DLLIMPORT FBPropertyBase< bool, kFBPT_bool > FBPropertyBool
Property: bool
Camera device base class.
virtual bool ModelTemplateBindNotify(FBModel *pModel, int pIndex, FBModelTemplate *pModelTemplate) override
Model Template binding notification callback.
FBPropertyString ModelTemplatePrefix
Property(RW): Model template prefix.
FBPropertyInt SyncDelay
Property: Synchronization delay (in sync count units).
Contains definitions for devices, boxes and models.
virtual int PacketGetCount()
Get the number of packets in the queue.
FBTimeMode
Different time modes available.
FBPropertyBool LensTableLoaded
Property(R-): Has the lens table been loaded?
FBPropertyBool ManualFovMode
Property(RW): In manual mode (not using encoder values to control zoom)?
Instrument abstraction layer.
FB_DEFINE_COMPONENT(K_DLLIMPORT, AnimationNode)
Animation node class.
virtual void RecordingDoneAnimation(FBAnimationNode *pAnimationNode) override
When recording, finish animation.
FBDeviceCameraInstrument(FBDevice *pDevice)
Constructor.
virtual void PrintDebugIONotifyInfo(FBDeviceNotifyInfo &pInfo, int pPacketCount)
Print to screen input/output notification info.
AnimationNodeNotify evaluation information.
FBPropertyDouble ManualFovY
Property(RW): Manual field of view Y value.
Property class: const char * (String).
MotionBuilder SDK base class.
FBPropertyString LensCalibrationFilename
Property(R-): Lens calibration filename.
virtual bool DeviceSyncAnimationNodeNotify(FBAnimationNode *pAnimationNode, FBEvaluateInfo *pEvaluateInfo, int pCorrectedSync)=0
Real-Time synchronous evaluation callback.
virtual void ProcessLensData(FBDeviceCameraPacket *pDataPacket)
Process the lens table data for this data packet.
FBPropertyDouble NodalMultiplier
Property(RW): Multiplier for nodal offset.
virtual void PrintDebugIOInfo(FBDeviceSyncPacket *pSyncPacket, FBDeviceNotifyInfo &pDeviceNotifyInfo)
Print to screen input/output info.
virtual bool LoadLensTables(const char *pFilename)
Load the lens lookup tables.
FBPropertyDouble ManualCenterX
Property(RW): Manual optical center X coordinate.
virtual bool FbxStore(FBFbxObject *pFbxObject, kFbxObjectStore pStoreWhat) override
Storage/Retrieval of information into the FBX file format.