Functions
NokovSDKCAPI.h File Reference
#include "NokovSDKTypes.h"
Include dependency graph for NokovSDKCAPI.h:

Go to the source code of this file.

Functions

XINGYING_API ErrorCode XINGYING_CALLCONV XingYing_CopyFrame (const sFrameOfMocapData *pSrc, sFrameOfMocapData *pDst)
 
XINGYING_API bool XINGYING_CALLCONV XingYing_DecodeTimecode (unsigned int timecode, unsigned int timecodeSubframe, int *pOutHour, int *pOutMinute, int *pOutSecond, int *pOutFrame, int *pOutSubframe)
 
XINGYING_API ErrorCode XINGYING_CALLCONV XingYing_FreeDescriptions (sDataDescriptions *pDesc)
 
XINGYING_API ErrorCode XINGYING_CALLCONV XingYing_FreeFrame (sFrameOfMocapData *pFrame)
 
XINGYING_API void XINGYING_CALLCONV XingYing_GetVersion (unsigned char outVersion[4])
 
XINGYING_API bool XINGYING_CALLCONV XingYing_TimecodeStringify (unsigned int timecode, unsigned int timecodeSubframe, char *outBuffer, int outBufferSize)
 

Function Documentation

◆ XingYing_CopyFrame()

XINGYING_API ErrorCode XINGYING_CALLCONV XingYing_CopyFrame ( const sFrameOfMocapData pSrc,
sFrameOfMocapData pDst 
)

Helper that performs a deep copy from pSrc into pDst .

Some members of pDst will be dynamically allocated. Call XingYing_FreeFrame to deallocate them.

Parameters
pSrc- the const pointer of source
pDst- the pointer of destination
Returns
XINGYING_API ErrorCode XINGYING_CALLCONV

◆ XingYing_DecodeTimecode()

XINGYING_API bool XINGYING_CALLCONV XingYing_DecodeTimecode ( unsigned int  timecode,
unsigned int  timecodeSubframe,
int *  pOutHour,
int *  pOutMinute,
int *  pOutSecond,
int *  pOutFrame,
int *  pOutSubframe 
)

This function Decode the timecode.

the timecode is ...

Parameters
timecode
timecodeSubframe
pOutHour
pOutMinute
pOutSecond
pOutFrame
pOutSubframe
Returns
bool

◆ XingYing_FreeDescriptions()

XINGYING_API ErrorCode XINGYING_CALLCONV XingYing_FreeDescriptions ( sDataDescriptions pDesc)

Deallocates pDesc and all of its members; after this call, the object is no longer valid.

Parameters
pDesc- the pointer of sDataDescriptions which need to be free
Returns
XINGYING_API ErrorCode XINGYING_CALLCONV

◆ XingYing_FreeFrame()

XINGYING_API ErrorCode XINGYING_CALLCONV XingYing_FreeFrame ( sFrameOfMocapData pFrame)

Frees the dynamically allocated members of a frame copy created using NatNet_CopyFrame.

The object pointed to by pFrame itself is NOT de-allocated, only its nested members which were dynamically allocated.

Warning: Do not call this on any pFrame that was not the destination of a call to XingYing_CopyFrame.

Parameters
pFrame
Returns
XINGYING_API ErrorCode XINGYING_CALLCONV

◆ XingYing_GetVersion()

XINGYING_API void XINGYING_CALLCONV XingYing_GetVersion ( unsigned char  outVersion[4])

This function returns a 4-byte version number.

The format of XINGYINGLIB version is [major.minor.build.revision]

Parameters
outVersion- [major.minor.build.revision]
Returns
XINGYING_API void XINGYING_CALLCONV

◆ XingYing_TimecodeStringify()

XINGYING_API bool XINGYING_CALLCONV XingYing_TimecodeStringify ( unsigned int  timecode,
unsigned int  timecodeSubframe,
char *  outBuffer,
int  outBufferSize 
)

This function Encode the timecode

Parameters
timecode
timecodeSubframe
outBuffer
outBufferSize
Returns
bool


mocap_nokov
Author(s):
autogenerated on Mon Mar 3 2025 03:08:00