#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, unsigned int nSampleIndex, SGazeVector &nGazeVector) |
bool | GetGazeVector (unsigned int nVectorIndex, SGazeVector *pGazeVectorBuf, unsigned int nBufSize) |
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) |
bool | GetImageSize (unsigned int nCameraIndex, unsigned int &nWidth, unsigned int &nHeight) |
unsigned int | GetImageSize (unsigned int nCameraIndex) |
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 25 of file RTPacket.h.
enum EComponentType |
Definition at line 42 of file RTPacket.h.
enum EEvent |
Definition at line 73 of file RTPacket.h.
enum EImageFormat |
Enumerator | |
---|---|
FormatRawGrayscale | |
FormatRawBGR | |
FormatJPG | |
FormatPNG |
Definition at line 65 of file RTPacket.h.
enum EPacketType |
Enumerator | |
---|---|
PacketError | |
PacketCommand | |
PacketXML | |
PacketData | |
PacketNoMoreData | |
PacketC3DFile | |
PacketEvent | |
PacketDiscover | |
PacketQTMFile | |
PacketNone |
Definition at line 28 of file RTPacket.h.
enum ETimecodeType |
Enumerator | |
---|---|
TimecodeSMPTE | |
TimecodeIRIG | |
TimecodeCamerTime |
Definition at line 94 of file RTPacket.h.
CRTPacket | ( | int | nMajorVersion = MAJOR_VERSION , |
int | nMinorVersion = MINOR_VERSION , |
||
bool | bBigEndian = false |
||
) |
Definition at line 17 of file RTPacket.cpp.
References ClearData().
void ClearData | ( | ) |
Definition at line 48 of file RTPacket.cpp.
References ComponentNone, MAX_ANALOG_DEVICE_COUNT, MAX_CAMERA_COUNT, MAX_FORCE_PLATE_COUNT, MAX_GAZE_VECTOR_COUNT, and MAX_SKELETON_COUNT.
Referenced by CRTPacket().
unsigned int Get2DCameraCount | ( | ) |
Definition at line 529 of file RTPacket.cpp.
unsigned int Get2DLinCameraCount | ( | ) |
Definition at line 582 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 605 of file RTPacket.cpp.
References Get2DLinMarkerCount().
unsigned int Get2DLinMarkerCount | ( | unsigned int | nCameraIndex | ) |
Definition at line 587 of file RTPacket.cpp.
Referenced by Get2DLinMarker(), and SetData().
unsigned char Get2DLinStatusFlags | ( | unsigned int | nCameraIndex | ) |
Definition at line 596 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 552 of file RTPacket.cpp.
References Get2DMarkerCount().
unsigned int Get2DMarkerCount | ( | unsigned int | nCameraIndex | ) |
Definition at line 534 of file RTPacket.cpp.
Referenced by Get2DMarker(), and SetData().
unsigned char Get2DStatusFlags | ( | unsigned int | nCameraIndex | ) |
Definition at line 543 of file RTPacket.cpp.
bool Get3DMarker | ( | unsigned int | nMarkerIndex, |
float & | fX, | ||
float & | fY, | ||
float & | fZ | ||
) |
Definition at line 651 of file RTPacket.cpp.
References Component3d, and Get3DMarkerCount().
unsigned int Get3DMarkerCount | ( | ) |
Definition at line 635 of file RTPacket.cpp.
References Component3d, and GetComponentSize().
Referenced by Get3DMarker().
bool Get3DNoLabelsMarker | ( | unsigned int | nMarkerIndex, |
float & | fX, | ||
float & | fY, | ||
float & | fZ, | ||
unsigned int & | nId | ||
) |
Definition at line 731 of file RTPacket.cpp.
References Component3dNoLabels, and Get3DNoLabelsMarkerCount().
unsigned int Get3DNoLabelsMarkerCount | ( | ) |
Definition at line 720 of file RTPacket.cpp.
References Component3dNoLabels.
Referenced by Get3DNoLabelsMarker().
bool Get3DNoLabelsResidualMarker | ( | unsigned int | nMarkerIndex, |
float & | fX, | ||
float & | fY, | ||
float & | fZ, | ||
unsigned int & | nId, | ||
float & | fResidual | ||
) |
Definition at line 772 of file RTPacket.cpp.
References Component3dNoLabelsRes, and Get3DNoLabelsResidualMarkerCount().
unsigned int Get3DNoLabelsResidualMarkerCount | ( | ) |
Definition at line 761 of file RTPacket.cpp.
References Component3dNoLabelsRes.
Referenced by Get3DNoLabelsResidualMarker().
bool Get3DResidualMarker | ( | unsigned int | nMarkerIndex, |
float & | fX, | ||
float & | fY, | ||
float & | fZ, | ||
float & | fResidual | ||
) |
Definition at line 690 of file RTPacket.cpp.
References Component3dRes, and Get3DResidualMarkerCount().
unsigned int Get3DResidualMarkerCount | ( | ) |
Definition at line 679 of file RTPacket.cpp.
References Component3dRes.
Referenced by Get3DResidualMarker().
bool Get6DOFBody | ( | unsigned int | nBodyIndex, |
float & | fX, | ||
float & | fY, | ||
float & | fZ, | ||
float | afRotMatrix[9] | ||
) |
Definition at line 816 of file RTPacket.cpp.
References Component6d, and Get6DOFBodyCount().
Referenced by QualisysClient::manageNetworkFrame().
unsigned int Get6DOFBodyCount | ( | ) |
Definition at line 805 of file RTPacket.cpp.
References Component6d.
Referenced by Get6DOFBody(), and QualisysClient::manageNetworkFrame().
bool Get6DOFEulerBody | ( | unsigned int | nBodyIndex, |
float & | fX, | ||
float & | fY, | ||
float & | fZ, | ||
float & | fAng1, | ||
float & | fAng2, | ||
float & | fAng3 | ||
) |
Definition at line 913 of file RTPacket.cpp.
References Component6dEuler, and Get6DOFEulerBodyCount().
unsigned int Get6DOFEulerBodyCount | ( | ) |
Definition at line 902 of file RTPacket.cpp.
References Component6dEuler.
Referenced by Get6DOFEulerBody().
bool Get6DOFEulerResidualBody | ( | unsigned int | nBodyIndex, |
float & | fX, | ||
float & | fY, | ||
float & | fZ, | ||
float & | fAng1, | ||
float & | fAng2, | ||
float & | fAng3, | ||
float & | fResidual | ||
) |
Definition at line 959 of file RTPacket.cpp.
References Component6dEulerRes, and Get6DOFEulerResidualBodyCount().
unsigned int Get6DOFEulerResidualBodyCount | ( | ) |
Definition at line 948 of file RTPacket.cpp.
References Component6dEulerRes.
Referenced by Get6DOFEulerResidualBody().
bool Get6DOFResidualBody | ( | unsigned int | nBodyIndex, |
float & | fX, | ||
float & | fY, | ||
float & | fZ, | ||
float | afRotMatrix[9], | ||
float & | fResidual | ||
) |
Definition at line 863 of file RTPacket.cpp.
References Component6dRes, and Get6DOFResidualBodyCount().
unsigned int Get6DOFResidualBodyCount | ( | ) |
Definition at line 852 of file RTPacket.cpp.
References Component6dRes.
Referenced by Get6DOFResidualBody().
unsigned int GetAnalogChannelCount | ( | unsigned int | nDeviceIndex | ) |
Definition at line 1248 of file RTPacket.cpp.
References ComponentAnalog.
Referenced by GetAnalogData().
unsigned int GetAnalogData | ( | unsigned int | nDeviceIndex, |
float * | pDataBuf, | ||
unsigned int | nBufSize | ||
) |
Definition at line 1290 of file RTPacket.cpp.
References GetAnalogChannelCount(), and GetAnalogSampleCount().
unsigned int GetAnalogData | ( | unsigned int | nDeviceIndex, |
unsigned int | nChannelIndex, | ||
float * | pDataBuf, | ||
unsigned int | nBufSize | ||
) |
Definition at line 1327 of file RTPacket.cpp.
References GetAnalogChannelCount(), and GetAnalogSampleCount().
bool GetAnalogData | ( | unsigned int | nDeviceIndex, |
unsigned int | nChannelIndex, | ||
unsigned int | nSampleIndex, | ||
float & | fAnalogValue | ||
) |
Definition at line 1364 of file RTPacket.cpp.
References GetAnalogChannelCount(), and GetAnalogSampleCount().
unsigned int GetAnalogDeviceCount | ( | ) |
Definition at line 1230 of file RTPacket.cpp.
unsigned int GetAnalogDeviceId | ( | unsigned int | nDeviceIndex | ) |
Definition at line 1235 of file RTPacket.cpp.
unsigned int GetAnalogSampleCount | ( | unsigned int | nDeviceIndex | ) |
Definition at line 1263 of file RTPacket.cpp.
Referenced by GetAnalogData().
unsigned int GetAnalogSampleNumber | ( | unsigned int | nDeviceIndex | ) |
Definition at line 1276 of file RTPacket.cpp.
References GetFrameNumber().
unsigned int GetAnalogSingleChannelCount | ( | unsigned int | nDeviceIndex | ) |
Definition at line 1410 of file RTPacket.cpp.
Referenced by GetAnalogSingleData().
unsigned int GetAnalogSingleData | ( | unsigned int | nDeviceIndex, |
float * | pDataBuf, | ||
unsigned int | nBufSize | ||
) |
Definition at line 1419 of file RTPacket.cpp.
References GetAnalogSingleChannelCount().
bool GetAnalogSingleData | ( | unsigned int | nDeviceIndex, |
unsigned int | nChannelIndex, | ||
float & | fValue | ||
) |
Definition at line 1439 of file RTPacket.cpp.
References GetAnalogSingleChannelCount().
unsigned int GetAnalogSingleDeviceCount | ( | ) |
Definition at line 1396 of file RTPacket.cpp.
unsigned int GetAnalogSingleDeviceId | ( | unsigned int | nDeviceIndex | ) |
Definition at line 1401 of file RTPacket.cpp.
char * GetCommandString | ( | ) |
Definition at line 412 of file RTPacket.cpp.
References GetType(), and PacketCommand.
Referenced by CRTProtocol::Connect(), CRTProtocol::DiscoverRTServer(), and CRTProtocol::GetErrorString().
|
static |
Definition at line 422 of file RTPacket.cpp.
References GetType(), and PacketCommand.
unsigned int GetComponentCount | ( | ) |
Definition at line 384 of file RTPacket.cpp.
unsigned int GetComponentSize | ( | EComponentType | eComponent | ) |
Definition at line 389 of file RTPacket.cpp.
References ComponentNone.
Referenced by Get3DMarkerCount().
void GetData | ( | char *& | ptr, |
unsigned int & | nSize | ||
) |
Definition at line 279 of file RTPacket.cpp.
short GetDiscoverResponseBasePort | ( | ) |
Definition at line 442 of file RTPacket.cpp.
References GetSize(), GetType(), and PacketCommand.
Referenced by CRTProtocol::DiscoverRTServer().
|
static |
Definition at line 454 of file RTPacket.cpp.
References GetSize(), GetType(), and PacketCommand.
unsigned short GetDropRate | ( | ) |
Definition at line 486 of file RTPacket.cpp.
bool GetEndianness | ( | ) |
Definition at line 38 of file RTPacket.cpp.
char * GetErrorString | ( | ) |
Definition at line 402 of file RTPacket.cpp.
References GetType(), and PacketError.
Referenced by CRTProtocol::Connect(), CRTProtocol::GetErrorString(), CRTProtocol::Read3DSettings(), CRTProtocol::Read6DOFSettings(), CRTProtocol::ReadAnalogSettings(), CRTProtocol::ReadCameraSystemSettings(), CRTProtocol::ReadForceSettings(), CRTProtocol::ReadGazeVectorSettings(), CRTProtocol::ReadImageSettings(), and CRTProtocol::ReadSkeletonSettings().
bool GetEvent | ( | EEvent & | eEvent | ) |
Definition at line 466 of file RTPacket.cpp.
References GetType(), and PacketEvent.
Referenced by CRTProtocol::GetState(), and CRTProtocol::ReceiveRTPacket().
|
static |
Definition at line 476 of file RTPacket.cpp.
References GetType(), and PacketEvent.
unsigned int GetForceCount | ( | unsigned int | nPlateIndex | ) |
Definition at line 1470 of file RTPacket.cpp.
Referenced by GetForceData().
unsigned int GetForceData | ( | unsigned int | nPlateIndex, |
SForce * | pForceBuf, | ||
unsigned int | nBufSize | ||
) |
Definition at line 1496 of file RTPacket.cpp.
References GetForceCount().
bool GetForceData | ( | unsigned int | nPlateIndex, |
unsigned int | nForceIndex, | ||
SForce & | sForce | ||
) |
Definition at line 1534 of file RTPacket.cpp.
References GetForceCount().
unsigned int GetForceNumber | ( | unsigned int | nPlateIndex | ) |
Definition at line 1483 of file RTPacket.cpp.
References GetFrameNumber().
unsigned int GetForcePlateCount | ( | ) |
Definition at line 1456 of file RTPacket.cpp.
unsigned int GetForcePlateId | ( | unsigned int | nPlateIndex | ) |
Definition at line 1461 of file RTPacket.cpp.
bool GetForceSingleData | ( | unsigned int | nPlateIndex, |
SForce & | pForce | ||
) |
Definition at line 1691 of file RTPacket.cpp.
unsigned int GetForceSinglePlateCount | ( | ) |
Definition at line 1677 of file RTPacket.cpp.
unsigned int GetForceSinglePlateId | ( | unsigned int | nPlateIndex | ) |
Definition at line 1682 of file RTPacket.cpp.
unsigned int GetFrameNumber | ( | ) |
Definition at line 327 of file RTPacket.cpp.
References GetType(), and PacketData.
Referenced by GetAnalogSampleNumber(), and GetForceNumber().
|
static |
Definition at line 371 of file RTPacket.cpp.
References GetType(), and PacketData.
bool GetGazeVector | ( | unsigned int | nVectorIndex, |
unsigned int | nSampleIndex, | ||
SGazeVector & | nGazeVector | ||
) |
Definition at line 1021 of file RTPacket.cpp.
References CRTPacket::SGazeVector::fPosX, and GetGazeVectorSampleCount().
bool GetGazeVector | ( | unsigned int | nVectorIndex, |
SGazeVector * | pGazeVectorBuf, | ||
unsigned int | nBufSize | ||
) |
Definition at line 1039 of file RTPacket.cpp.
References GetGazeVectorSampleCount().
unsigned int GetGazeVectorCount | ( | ) |
Definition at line 996 of file RTPacket.cpp.
unsigned int GetGazeVectorSampleCount | ( | unsigned int | nVectorIndex | ) |
Definition at line 1001 of file RTPacket.cpp.
Referenced by GetGazeVector(), and GetGazeVectorSampleNumber().
unsigned int GetGazeVectorSampleNumber | ( | unsigned int | nVectorIndex | ) |
Definition at line 1010 of file RTPacket.cpp.
References GetGazeVectorSampleCount().
unsigned int GetImage | ( | unsigned int | nCameraIndex, |
char * | pDataBuf, | ||
unsigned int | nBufSize | ||
) |
Definition at line 1208 of file RTPacket.cpp.
unsigned int GetImageCameraCount | ( | ) |
Definition at line 1146 of file RTPacket.cpp.
unsigned int GetImageCameraId | ( | unsigned int | nCameraIndex | ) |
Definition at line 1151 of file RTPacket.cpp.
bool GetImageCrop | ( | unsigned int | nCameraIndex, |
float & | fCropLeft, | ||
float & | fCropTop, | ||
float & | fCropRight, | ||
float & | fCropBottom | ||
) |
Definition at line 1183 of file RTPacket.cpp.
bool GetImageFormat | ( | unsigned int | nCameraIndex, |
EImageFormat & | eImageFormat | ||
) |
Definition at line 1160 of file RTPacket.cpp.
bool GetImageSize | ( | unsigned int | nCameraIndex, |
unsigned int & | nWidth, | ||
unsigned int & | nHeight | ||
) |
Definition at line 1171 of file RTPacket.cpp.
unsigned int GetImageSize | ( | unsigned int | nCameraIndex | ) |
Definition at line 1198 of file RTPacket.cpp.
unsigned short GetOutOfSyncRate | ( | ) |
Definition at line 505 of file RTPacket.cpp.
unsigned int GetSize | ( | ) |
Definition at line 292 of file RTPacket.cpp.
Referenced by GetDiscoverResponseBasePort(), GetType(), and CRTProtocol::ReceiveRTPacket().
|
static |
Definition at line 336 of file RTPacket.cpp.
unsigned int GetSkeletonCount | ( | ) |
Definition at line 1582 of file RTPacket.cpp.
bool GetSkeletonSegment | ( | unsigned int | nSkeletonIndex, |
unsigned | segmentIndex, | ||
SSkeletonSegment & | segment | ||
) |
Definition at line 1636 of file RTPacket.cpp.
References GetSkeletonSegmentCount(), CRTPacket::SSkeletonSegment::id, CRTPacket::SSkeletonSegment::positionX, CRTPacket::SSkeletonSegment::positionY, CRTPacket::SSkeletonSegment::positionZ, CRTPacket::SSkeletonSegment::rotationW, CRTPacket::SSkeletonSegment::rotationX, CRTPacket::SSkeletonSegment::rotationY, and CRTPacket::SSkeletonSegment::rotationZ.
unsigned int GetSkeletonSegmentCount | ( | unsigned int | nSkeletonIndex | ) |
Definition at line 1587 of file RTPacket.cpp.
Referenced by GetSkeletonSegment(), and GetSkeletonSegments().
bool GetSkeletonSegments | ( | unsigned int | nSkeletonIndex, |
SSkeletonSegment * | segmentBuf, | ||
unsigned int | nBufSize | ||
) |
Definition at line 1596 of file RTPacket.cpp.
References GetSkeletonSegmentCount(), CRTPacket::SSkeletonSegment::id, CRTPacket::SSkeletonSegment::positionX, CRTPacket::SSkeletonSegment::positionY, CRTPacket::SSkeletonSegment::positionZ, CRTPacket::SSkeletonSegment::rotationW, CRTPacket::SSkeletonSegment::rotationX, CRTPacket::SSkeletonSegment::rotationY, and CRTPacket::SSkeletonSegment::rotationZ.
bool GetTimecodeCameraTime | ( | unsigned int | nTimecodeIndex, |
unsigned long long & | cameraTime | ||
) |
Definition at line 1123 of file RTPacket.cpp.
References GetTimecodeType(), and TimecodeCamerTime.
unsigned int GetTimecodeCount | ( | ) |
Definition at line 1064 of file RTPacket.cpp.
bool GetTimecodeIRIG | ( | unsigned int | nTimecodeIndex, |
int & | year, | ||
int & | day, | ||
int & | hours, | ||
int & | minutes, | ||
int & | seconds, | ||
int & | tenths | ||
) |
Definition at line 1100 of file RTPacket.cpp.
References GetTimecodeType(), and TimecodeIRIG.
bool GetTimecodeSMPTE | ( | unsigned int | nTimecodeIndex, |
int & | hours, | ||
int & | minutes, | ||
int & | seconds, | ||
int & | frame | ||
) |
Definition at line 1079 of file RTPacket.cpp.
References GetTimecodeType(), and TimecodeSMPTE.
bool GetTimecodeType | ( | unsigned int | nTimecodeIndex, |
CRTPacket::ETimecodeType & | timecodeType | ||
) |
Definition at line 1069 of file RTPacket.cpp.
Referenced by GetTimecodeCameraTime(), GetTimecodeIRIG(), and GetTimecodeSMPTE().
unsigned long long GetTimeStamp | ( | ) |
Definition at line 318 of file RTPacket.cpp.
References GetType(), and PacketData.
|
static |
Definition at line 358 of file RTPacket.cpp.
References GetType(), and PacketData.
CRTPacket::EPacketType GetType | ( | ) |
Definition at line 305 of file RTPacket.cpp.
References GetSize(), and PacketNone.
Referenced by CRTProtocol::DiscoverRTServer(), GetCommandString(), GetDiscoverResponseBasePort(), GetErrorString(), GetEvent(), GetFrameNumber(), GetTimeStamp(), GetXMLString(), CRTProtocol::ReceiveRTPacket(), and SetData().
|
static |
Definition at line 345 of file RTPacket.cpp.
References GetSize(), and PacketNone.
void GetVersion | ( | unsigned int & | nMajorVersion, |
unsigned int & | nMinorVersion | ||
) |
Definition at line 26 of file RTPacket.cpp.
char * GetXMLString | ( | ) |
Definition at line 432 of file RTPacket.cpp.
References GetType(), and PacketXML.
Referenced by CRTProtocol::Read3DSettings(), CRTProtocol::Read6DOFSettings(), CRTProtocol::ReadAnalogSettings(), CRTProtocol::ReadCameraSystemSettings(), CRTProtocol::ReadForceSettings(), CRTProtocol::ReadGazeVectorSettings(), CRTProtocol::ReadImageSettings(), and CRTProtocol::ReadSkeletonSettings().
void SetData | ( | char * | ptr | ) |
Definition at line 74 of file RTPacket.cpp.
References Component2d, Component2dLin, ComponentAnalog, ComponentAnalogSingle, ComponentForce, ComponentForceSingle, ComponentGazeVector, ComponentImage, ComponentNone, ComponentSkeleton, ComponentTimecode, Get2DLinMarkerCount(), Get2DMarkerCount(), GetType(), and PacketData.
Referenced by CRTProtocol::ReceiveRTPacket().
void SetEndianness | ( | bool | bBigEndian | ) |
Definition at line 43 of file RTPacket.cpp.
void SetVersion | ( | unsigned int | nMajorVersion, |
unsigned int | nMinorVersion | ||
) |
Definition at line 32 of file RTPacket.cpp.
Referenced by CRTProtocol::SetVersion().