#include <sot/talos_balance/sdk_qualisys/RTPacket.h>
Classes | |
struct | SForce |
struct | SGazeVector |
struct | SSkeletonSegment |
Public Member Functions | |
CRTPacket (int nMajorVersion=MAJOR_VERSION, int nMinorVersion=MINOR_VERSION, bool bBigEndian=false) | |
void | ClearData () |
unsigned int | Get2DCameraCount () |
unsigned int | Get2DLinCameraCount () |
bool | Get2DLinMarker (unsigned int nCameraIndex, unsigned int nMarkerIndex, unsigned int &nX, unsigned int &nY, unsigned short &nXDiameter, unsigned short &nYDiameter) |
unsigned int | Get2DLinMarkerCount (unsigned int nCameraIndex) |
unsigned char | Get2DLinStatusFlags (unsigned int nCameraIndex) |
bool | Get2DMarker (unsigned int nCameraIndex, unsigned int nMarkerIndex, unsigned int &nX, unsigned int &nY, unsigned short &nXDiameter, unsigned short &nYDiameter) |
unsigned int | Get2DMarkerCount (unsigned int nCameraIndex) |
unsigned char | Get2DStatusFlags (unsigned int nCameraIndex) |
bool | Get3DMarker (unsigned int nMarkerIndex, float &fX, float &fY, float &fZ) |
unsigned int | Get3DMarkerCount () |
bool | Get3DNoLabelsMarker (unsigned int nMarkerIndex, float &fX, float &fY, float &fZ, unsigned int &nId) |
unsigned int | Get3DNoLabelsMarkerCount () |
bool | Get3DNoLabelsResidualMarker (unsigned int nMarkerIndex, float &fX, float &fY, float &fZ, unsigned int &nId, float &fResidual) |
unsigned int | Get3DNoLabelsResidualMarkerCount () |
bool | Get3DResidualMarker (unsigned int nMarkerIndex, float &fX, float &fY, float &fZ, float &fResidual) |
unsigned int | Get3DResidualMarkerCount () |
bool | Get6DOFBody (unsigned int nBodyIndex, float &fX, float &fY, float &fZ, float afRotMatrix[9]) |
unsigned int | Get6DOFBodyCount () |
bool | Get6DOFEulerBody (unsigned int nBodyIndex, float &fX, float &fY, float &fZ, float &fAng1, float &fAng2, float &fAng3) |
unsigned int | Get6DOFEulerBodyCount () |
bool | Get6DOFEulerResidualBody (unsigned int nBodyIndex, float &fX, float &fY, float &fZ, float &fAng1, float &fAng2, float &fAng3, float &fResidual) |
unsigned int | Get6DOFEulerResidualBodyCount () |
bool | Get6DOFResidualBody (unsigned int nBodyIndex, float &fX, float &fY, float &fZ, float afRotMatrix[9], float &fResidual) |
unsigned int | Get6DOFResidualBodyCount () |
unsigned int | GetAnalogChannelCount (unsigned int nDeviceIndex) |
unsigned int | GetAnalogData (unsigned int nDeviceIndex, float *pDataBuf, unsigned int nBufSize) |
unsigned int | GetAnalogData (unsigned int nDeviceIndex, unsigned int nChannelIndex, float *pDataBuf, unsigned int nBufSize) |
bool | GetAnalogData (unsigned int nDeviceIndex, unsigned int nChannelIndex, unsigned int nSampleIndex, float &fAnalogValue) |
unsigned int | GetAnalogDeviceCount () |
unsigned int | GetAnalogDeviceId (unsigned int nDeviceIndex) |
unsigned int | GetAnalogSampleCount (unsigned int nDeviceIndex) |
unsigned int | GetAnalogSampleNumber (unsigned int nDeviceIndex) |
unsigned int | GetAnalogSingleChannelCount (unsigned int nDeviceIndex) |
unsigned int | GetAnalogSingleData (unsigned int nDeviceIndex, float *pDataBuf, unsigned int nBufSize) |
bool | GetAnalogSingleData (unsigned int nDeviceIndex, unsigned int nChannelIndex, float &fValue) |
unsigned int | GetAnalogSingleDeviceCount () |
unsigned int | GetAnalogSingleDeviceId (unsigned int nDeviceIndex) |
char * | GetCommandString () |
unsigned int | GetComponentCount () |
unsigned int | GetComponentSize (EComponentType eComponent) |
void | GetData (char *&ptr, unsigned int &nSize) |
short | GetDiscoverResponseBasePort () |
unsigned short | GetDropRate () |
bool | GetEndianness () |
char * | GetErrorString () |
bool | GetEvent (EEvent &eEvent) |
unsigned int | GetForceCount (unsigned int nPlateIndex) |
unsigned int | GetForceData (unsigned int nPlateIndex, SForce *pForceBuf, unsigned int nBufSize) |
bool | GetForceData (unsigned int nPlateIndex, unsigned int nForceIndex, SForce &sForce) |
unsigned int | GetForceNumber (unsigned int nPlateIndex) |
unsigned int | GetForcePlateCount () |
unsigned int | GetForcePlateId (unsigned int nPlateIndex) |
bool | GetForceSingleData (unsigned int nPlateIndex, SForce &pForce) |
unsigned int | GetForceSinglePlateCount () |
unsigned int | GetForceSinglePlateId (unsigned int nPlateIndex) |
unsigned int | GetFrameNumber () |
bool | GetGazeVector (unsigned int nVectorIndex, SGazeVector *pGazeVectorBuf, unsigned int nBufSize) |
bool | GetGazeVector (unsigned int nVectorIndex, unsigned int nSampleIndex, SGazeVector &nGazeVector) |
unsigned int | GetGazeVectorCount () |
unsigned int | GetGazeVectorSampleCount (unsigned int nVectorIndex) |
unsigned int | GetGazeVectorSampleNumber (unsigned int nVectorIndex) |
unsigned int | GetImage (unsigned int nCameraIndex, char *pDataBuf, unsigned int nBufSize) |
unsigned int | GetImageCameraCount () |
unsigned int | GetImageCameraId (unsigned int nCameraIndex) |
bool | GetImageCrop (unsigned int nCameraIndex, float &fCropLeft, float &fCropTop, float &fCropRight, float &fCropBottom) |
bool | GetImageFormat (unsigned int nCameraIndex, EImageFormat &eImageFormat) |
unsigned int | GetImageSize (unsigned int nCameraIndex) |
bool | GetImageSize (unsigned int nCameraIndex, unsigned int &nWidth, unsigned int &nHeight) |
unsigned short | GetOutOfSyncRate () |
unsigned int | GetSize () |
unsigned int | GetSkeletonCount () |
bool | GetSkeletonSegment (unsigned int nSkeletonIndex, unsigned segmentIndex, SSkeletonSegment &segment) |
unsigned int | GetSkeletonSegmentCount (unsigned int nSkeletonIndex) |
bool | GetSkeletonSegments (unsigned int nSkeletonIndex, SSkeletonSegment *segmentBuf, unsigned int nBufSize) |
bool | GetTimecodeCameraTime (unsigned int nTimecodeIndex, unsigned long long &cameraTime) |
unsigned int | GetTimecodeCount () |
bool | GetTimecodeIRIG (unsigned int nTimecodeIndex, int &year, int &day, int &hours, int &minutes, int &seconds, int &tenths) |
bool | GetTimecodeSMPTE (unsigned int nTimecodeIndex, int &hours, int &minutes, int &seconds, int &frame) |
bool | GetTimecodeType (unsigned int nTimecodeIndex, CRTPacket::ETimecodeType &timecodeType) |
unsigned long long | GetTimeStamp () |
EPacketType | GetType () |
void | GetVersion (unsigned int &nMajorVersion, unsigned int &nMinorVersion) |
char * | GetXMLString () |
void | SetData (char *ptr) |
void | SetEndianness (bool bBigEndian) |
void | SetVersion (unsigned int nMajorVersion, unsigned int nMinorVersion) |
Static Public Member Functions | |
static char * | GetCommandString (char *pData, bool bBigEndian=false) |
static short | GetDiscoverResponseBasePort (char *pData, bool bBigEndian=false) |
static bool | GetEvent (EEvent &eEvent, char *pData, bool bBigEndian=false) |
static unsigned int | GetFrameNumber (char *pData, bool bBigEndian=false) |
static unsigned int | GetSize (char *pData, bool bBigEndian=false) |
static unsigned long long | GetTimeStamp (char *pData, bool bBigEndian=false) |
static EPacketType | GetType (char *pData, bool bBigEndian=false) |
Definition at line 23 of file RTPacket.h.
enum EComponentType |
Definition at line 38 of file RTPacket.h.
enum EEvent |
Definition at line 67 of file RTPacket.h.
enum EImageFormat |
Enumerator | |
---|---|
FormatRawGrayscale | |
FormatRawBGR | |
FormatJPG | |
FormatPNG |
Definition at line 60 of file RTPacket.h.
enum EPacketType |
Enumerator | |
---|---|
PacketError | |
PacketCommand | |
PacketXML | |
PacketData | |
PacketNoMoreData | |
PacketC3DFile | |
PacketEvent | |
PacketDiscover | |
PacketQTMFile | |
PacketNone |
Definition at line 25 of file RTPacket.h.
enum ETimecodeType |
Enumerator | |
---|---|
TimecodeSMPTE | |
TimecodeIRIG | |
TimecodeCamerTime |
Definition at line 88 of file RTPacket.h.
CRTPacket | ( | int | nMajorVersion = MAJOR_VERSION , |
int | nMinorVersion = MINOR_VERSION , |
||
bool | bBigEndian = false |
||
) |
Definition at line 17 of file RTPacket.cpp.
void ClearData | ( | ) |
Definition at line 41 of file RTPacket.cpp.
unsigned int Get2DCameraCount | ( | ) |
Definition at line 439 of file RTPacket.cpp.
unsigned int Get2DLinCameraCount | ( | ) |
Definition at line 489 of file RTPacket.cpp.
bool Get2DLinMarker | ( | unsigned int | nCameraIndex, |
unsigned int | nMarkerIndex, | ||
unsigned int & | nX, | ||
unsigned int & | nY, | ||
unsigned short & | nXDiameter, | ||
unsigned short & | nYDiameter | ||
) |
Definition at line 506 of file RTPacket.cpp.
unsigned int Get2DLinMarkerCount | ( | unsigned int | nCameraIndex | ) |
Definition at line 491 of file RTPacket.cpp.
unsigned char Get2DLinStatusFlags | ( | unsigned int | nCameraIndex | ) |
Definition at line 498 of file RTPacket.cpp.
bool Get2DMarker | ( | unsigned int | nCameraIndex, |
unsigned int | nMarkerIndex, | ||
unsigned int & | nX, | ||
unsigned int & | nY, | ||
unsigned short & | nXDiameter, | ||
unsigned short & | nYDiameter | ||
) |
Definition at line 456 of file RTPacket.cpp.
unsigned int Get2DMarkerCount | ( | unsigned int | nCameraIndex | ) |
Definition at line 441 of file RTPacket.cpp.
unsigned char Get2DStatusFlags | ( | unsigned int | nCameraIndex | ) |
Definition at line 448 of file RTPacket.cpp.
bool Get3DMarker | ( | unsigned int | nMarkerIndex, |
float & | fX, | ||
float & | fY, | ||
float & | fZ | ||
) |
Definition at line 552 of file RTPacket.cpp.
unsigned int Get3DMarkerCount | ( | ) |
Definition at line 539 of file RTPacket.cpp.
bool Get3DNoLabelsMarker | ( | unsigned int | nMarkerIndex, |
float & | fX, | ||
float & | fY, | ||
float & | fZ, | ||
unsigned int & | nId | ||
) |
Definition at line 618 of file RTPacket.cpp.
unsigned int Get3DNoLabelsMarkerCount | ( | ) |
Definition at line 609 of file RTPacket.cpp.
bool Get3DNoLabelsResidualMarker | ( | unsigned int | nMarkerIndex, |
float & | fX, | ||
float & | fY, | ||
float & | fZ, | ||
unsigned int & | nId, | ||
float & | fResidual | ||
) |
Definition at line 652 of file RTPacket.cpp.
unsigned int Get3DNoLabelsResidualMarkerCount | ( | ) |
Definition at line 643 of file RTPacket.cpp.
bool Get3DResidualMarker | ( | unsigned int | nMarkerIndex, |
float & | fX, | ||
float & | fY, | ||
float & | fZ, | ||
float & | fResidual | ||
) |
Definition at line 584 of file RTPacket.cpp.
unsigned int Get3DResidualMarkerCount | ( | ) |
Definition at line 575 of file RTPacket.cpp.
bool Get6DOFBody | ( | unsigned int | nBodyIndex, |
float & | fX, | ||
float & | fY, | ||
float & | fZ, | ||
float | afRotMatrix[9] | ||
) |
Definition at line 690 of file RTPacket.cpp.
unsigned int Get6DOFBodyCount | ( | ) |
Definition at line 681 of file RTPacket.cpp.
bool Get6DOFEulerBody | ( | unsigned int | nBodyIndex, |
float & | fX, | ||
float & | fY, | ||
float & | fZ, | ||
float & | fAng1, | ||
float & | fAng2, | ||
float & | fAng3 | ||
) |
Definition at line 773 of file RTPacket.cpp.
unsigned int Get6DOFEulerBodyCount | ( | ) |
Definition at line 764 of file RTPacket.cpp.
bool Get6DOFEulerResidualBody | ( | unsigned int | nBodyIndex, |
float & | fX, | ||
float & | fY, | ||
float & | fZ, | ||
float & | fAng1, | ||
float & | fAng2, | ||
float & | fAng3, | ||
float & | fResidual | ||
) |
Definition at line 812 of file RTPacket.cpp.
unsigned int Get6DOFEulerResidualBodyCount | ( | ) |
Definition at line 803 of file RTPacket.cpp.
bool Get6DOFResidualBody | ( | unsigned int | nBodyIndex, |
float & | fX, | ||
float & | fY, | ||
float & | fZ, | ||
float | afRotMatrix[9], | ||
float & | fResidual | ||
) |
Definition at line 730 of file RTPacket.cpp.
unsigned int Get6DOFResidualBodyCount | ( | ) |
Definition at line 721 of file RTPacket.cpp.
unsigned int GetAnalogChannelCount | ( | unsigned int | nDeviceIndex | ) |
Definition at line 1089 of file RTPacket.cpp.
unsigned int GetAnalogData | ( | unsigned int | nDeviceIndex, |
float * | pDataBuf, | ||
unsigned int | nBufSize | ||
) |
Definition at line 1122 of file RTPacket.cpp.
unsigned int GetAnalogData | ( | unsigned int | nDeviceIndex, |
unsigned int | nChannelIndex, | ||
float * | pDataBuf, | ||
unsigned int | nBufSize | ||
) |
Definition at line 1153 of file RTPacket.cpp.
bool GetAnalogData | ( | unsigned int | nDeviceIndex, |
unsigned int | nChannelIndex, | ||
unsigned int | nSampleIndex, | ||
float & | fAnalogValue | ||
) |
Definition at line 1186 of file RTPacket.cpp.
unsigned int GetAnalogDeviceCount | ( | ) |
Definition at line 1077 of file RTPacket.cpp.
unsigned int GetAnalogDeviceId | ( | unsigned int | nDeviceIndex | ) |
Definition at line 1079 of file RTPacket.cpp.
unsigned int GetAnalogSampleCount | ( | unsigned int | nDeviceIndex | ) |
Definition at line 1101 of file RTPacket.cpp.
unsigned int GetAnalogSampleNumber | ( | unsigned int | nDeviceIndex | ) |
Definition at line 1111 of file RTPacket.cpp.
unsigned int GetAnalogSingleChannelCount | ( | unsigned int | nDeviceIndex | ) |
Definition at line 1226 of file RTPacket.cpp.
unsigned int GetAnalogSingleData | ( | unsigned int | nDeviceIndex, |
float * | pDataBuf, | ||
unsigned int | nBufSize | ||
) |
Definition at line 1233 of file RTPacket.cpp.
bool GetAnalogSingleData | ( | unsigned int | nDeviceIndex, |
unsigned int | nChannelIndex, | ||
float & | fValue | ||
) |
Definition at line 1252 of file RTPacket.cpp.
unsigned int GetAnalogSingleDeviceCount | ( | ) |
Definition at line 1215 of file RTPacket.cpp.
unsigned int GetAnalogSingleDeviceId | ( | unsigned int | nDeviceIndex | ) |
Definition at line 1219 of file RTPacket.cpp.
char * GetCommandString | ( | ) |
Definition at line 353 of file RTPacket.cpp.
|
static |
Definition at line 360 of file RTPacket.cpp.
unsigned int GetComponentCount | ( | ) |
Definition at line 334 of file RTPacket.cpp.
unsigned int GetComponentSize | ( | EComponentType | eComponent | ) |
Definition at line 336 of file RTPacket.cpp.
void GetData | ( | char *& | ptr, |
unsigned int & | nSize | ||
) |
Definition at line 252 of file RTPacket.cpp.
short GetDiscoverResponseBasePort | ( | ) |
Definition at line 374 of file RTPacket.cpp.
|
static |
Definition at line 383 of file RTPacket.cpp.
unsigned short GetDropRate | ( | ) |
Definition at line 408 of file RTPacket.cpp.
bool GetEndianness | ( | ) |
Definition at line 37 of file RTPacket.cpp.
char * GetErrorString | ( | ) |
Definition at line 346 of file RTPacket.cpp.
bool GetEvent | ( | EEvent & | eEvent | ) |
Definition at line 392 of file RTPacket.cpp.
|
static |
Definition at line 400 of file RTPacket.cpp.
unsigned int GetForceCount | ( | unsigned int | nPlateIndex | ) |
Definition at line 1277 of file RTPacket.cpp.
unsigned int GetForceData | ( | unsigned int | nPlateIndex, |
SForce * | pForceBuf, | ||
unsigned int | nBufSize | ||
) |
Definition at line 1297 of file RTPacket.cpp.
bool GetForceData | ( | unsigned int | nPlateIndex, |
unsigned int | nForceIndex, | ||
SForce & | sForce | ||
) |
Definition at line 1327 of file RTPacket.cpp.
unsigned int GetForceNumber | ( | unsigned int | nPlateIndex | ) |
Definition at line 1287 of file RTPacket.cpp.
unsigned int GetForcePlateCount | ( | ) |
Definition at line 1267 of file RTPacket.cpp.
unsigned int GetForcePlateId | ( | unsigned int | nPlateIndex | ) |
Definition at line 1269 of file RTPacket.cpp.
bool GetForceSingleData | ( | unsigned int | nPlateIndex, |
SForce & | pForce | ||
) |
Definition at line 1473 of file RTPacket.cpp.
unsigned int GetForceSinglePlateCount | ( | ) |
Definition at line 1461 of file RTPacket.cpp.
unsigned int GetForceSinglePlateId | ( | unsigned int | nPlateIndex | ) |
Definition at line 1465 of file RTPacket.cpp.
unsigned int GetFrameNumber | ( | ) |
Definition at line 288 of file RTPacket.cpp.
|
static |
Definition at line 324 of file RTPacket.cpp.
bool GetGazeVector | ( | unsigned int | nVectorIndex, |
SGazeVector * | pGazeVectorBuf, | ||
unsigned int | nBufSize | ||
) |
Definition at line 881 of file RTPacket.cpp.
bool GetGazeVector | ( | unsigned int | nVectorIndex, |
unsigned int | nSampleIndex, | ||
SGazeVector & | nGazeVector | ||
) |
Definition at line 863 of file RTPacket.cpp.
unsigned int GetGazeVectorCount | ( | ) |
Definition at line 845 of file RTPacket.cpp.
unsigned int GetGazeVectorSampleCount | ( | unsigned int | nVectorIndex | ) |
Definition at line 847 of file RTPacket.cpp.
unsigned int GetGazeVectorSampleNumber | ( | unsigned int | nVectorIndex | ) |
Definition at line 854 of file RTPacket.cpp.
unsigned int GetImage | ( | unsigned int | nCameraIndex, |
char * | pDataBuf, | ||
unsigned int | nBufSize | ||
) |
Definition at line 1056 of file RTPacket.cpp.
unsigned int GetImageCameraCount | ( | ) |
Definition at line 1002 of file RTPacket.cpp.
unsigned int GetImageCameraId | ( | unsigned int | nCameraIndex | ) |
Definition at line 1004 of file RTPacket.cpp.
bool GetImageCrop | ( | unsigned int | nCameraIndex, |
float & | fCropLeft, | ||
float & | fCropTop, | ||
float & | fCropRight, | ||
float & | fCropBottom | ||
) |
Definition at line 1033 of file RTPacket.cpp.
bool GetImageFormat | ( | unsigned int | nCameraIndex, |
EImageFormat & | eImageFormat | ||
) |
Definition at line 1011 of file RTPacket.cpp.
unsigned int GetImageSize | ( | unsigned int | nCameraIndex | ) |
Definition at line 1047 of file RTPacket.cpp.
bool GetImageSize | ( | unsigned int | nCameraIndex, |
unsigned int & | nWidth, | ||
unsigned int & | nHeight | ||
) |
Definition at line 1022 of file RTPacket.cpp.
unsigned short GetOutOfSyncRate | ( | ) |
Definition at line 422 of file RTPacket.cpp.
unsigned int GetSize | ( | ) |
Definition at line 261 of file RTPacket.cpp.
|
static |
Definition at line 295 of file RTPacket.cpp.
unsigned int GetSkeletonCount | ( | ) |
Definition at line 1365 of file RTPacket.cpp.
bool GetSkeletonSegment | ( | unsigned int | nSkeletonIndex, |
unsigned | segmentIndex, | ||
SSkeletonSegment & | segment | ||
) |
Definition at line 1417 of file RTPacket.cpp.
unsigned int GetSkeletonSegmentCount | ( | unsigned int | nSkeletonIndex | ) |
Definition at line 1367 of file RTPacket.cpp.
bool GetSkeletonSegments | ( | unsigned int | nSkeletonIndex, |
SSkeletonSegment * | segmentBuf, | ||
unsigned int | nBufSize | ||
) |
Definition at line 1374 of file RTPacket.cpp.
bool GetTimecodeCameraTime | ( | unsigned int | nTimecodeIndex, |
unsigned long long & | cameraTime | ||
) |
Definition at line 980 of file RTPacket.cpp.
unsigned int GetTimecodeCount | ( | ) |
Definition at line 904 of file RTPacket.cpp.
bool GetTimecodeIRIG | ( | unsigned int | nTimecodeIndex, |
int & | year, | ||
int & | day, | ||
int & | hours, | ||
int & | minutes, | ||
int & | seconds, | ||
int & | tenths | ||
) |
Definition at line 944 of file RTPacket.cpp.
bool GetTimecodeSMPTE | ( | unsigned int | nTimecodeIndex, |
int & | hours, | ||
int & | minutes, | ||
int & | seconds, | ||
int & | frame | ||
) |
Definition at line 916 of file RTPacket.cpp.
bool GetTimecodeType | ( | unsigned int | nTimecodeIndex, |
CRTPacket::ETimecodeType & | timecodeType | ||
) |
Definition at line 906 of file RTPacket.cpp.
unsigned long long GetTimeStamp | ( | ) |
Definition at line 281 of file RTPacket.cpp.
|
static |
Definition at line 312 of file RTPacket.cpp.
CRTPacket::EPacketType GetType | ( | ) |
Definition at line 271 of file RTPacket.cpp.
|
static |
Definition at line 302 of file RTPacket.cpp.
void GetVersion | ( | unsigned int & | nMajorVersion, |
unsigned int & | nMinorVersion | ||
) |
Definition at line 25 of file RTPacket.cpp.
char * GetXMLString | ( | ) |
Definition at line 367 of file RTPacket.cpp.
void SetData | ( | char * | ptr | ) |
Definition at line 66 of file RTPacket.cpp.
void SetEndianness | ( | bool | bBigEndian | ) |
Definition at line 39 of file RTPacket.cpp.
void SetVersion | ( | unsigned int | nMajorVersion, |
unsigned int | nMinorVersion | ||
) |
Definition at line 31 of file RTPacket.cpp.