sot-talos-balance  1.5.0
CRTPacket Class Reference

#include <sot/talos_balance/sdk_qualisys/RTPacket.h>

Classes

struct  SForce
 
struct  SGazeVector
 
struct  SSkeletonSegment
 

Public Types

enum  EComponentType {
  Component3d = 1,
  Component3dNoLabels = 2,
  ComponentAnalog = 3,
  ComponentForce = 4,
  Component6d = 5,
  Component6dEuler = 6,
  Component2d = 7,
  Component2dLin = 8,
  Component3dRes = 9,
  Component3dNoLabelsRes = 10,
  Component6dRes = 11,
  Component6dEulerRes = 12,
  ComponentAnalogSingle = 13,
  ComponentImage = 14,
  ComponentForceSingle = 15,
  ComponentGazeVector = 16,
  ComponentTimecode = 17,
  ComponentSkeleton = 18,
  ComponentNone = 19
}
 
enum  EEvent {
  EventConnected = 1,
  EventConnectionClosed = 2,
  EventCaptureStarted = 3,
  EventCaptureStopped = 4,
  EventCaptureFetchingFinished = 5,
  EventCalibrationStarted = 6,
  EventCalibrationStopped = 7,
  EventRTfromFileStarted = 8,
  EventRTfromFileStopped = 9,
  EventWaitingForTrigger = 10,
  EventCameraSettingsChanged = 11,
  EventQTMShuttingDown = 12,
  EventCaptureSaved = 13,
  EventReprocessingStarted = 14,
  EventReprocessingStopped = 15,
  EventTrigger = 16,
  EventNone = 17
}
 
enum  EImageFormat {
  FormatRawGrayscale = 0,
  FormatRawBGR = 1,
  FormatJPG = 2,
  FormatPNG = 3
}
 
enum  EPacketType {
  PacketError = 0,
  PacketCommand = 1,
  PacketXML = 2,
  PacketData = 3,
  PacketNoMoreData = 4,
  PacketC3DFile = 5,
  PacketEvent = 6,
  PacketDiscover = 7,
  PacketQTMFile = 8,
  PacketNone = 9
}
 
enum  ETimecodeType {
  TimecodeSMPTE = 0,
  TimecodeIRIG = 1,
  TimecodeCamerTime = 2
}
 

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)
 

Detailed Description

Definition at line 25 of file RTPacket.h.

Member Enumeration Documentation

◆ EComponentType

Enumerator
Component3d 
Component3dNoLabels 
ComponentAnalog 
ComponentForce 
Component6d 
Component6dEuler 
Component2d 
Component2dLin 
Component3dRes 
Component3dNoLabelsRes 
Component6dRes 
Component6dEulerRes 
ComponentAnalogSingle 
ComponentImage 
ComponentForceSingle 
ComponentGazeVector 
ComponentTimecode 
ComponentSkeleton 
ComponentNone 

Definition at line 42 of file RTPacket.h.

◆ EEvent

enum EEvent
Enumerator
EventConnected 
EventConnectionClosed 
EventCaptureStarted 
EventCaptureStopped 
EventCaptureFetchingFinished 
EventCalibrationStarted 
EventCalibrationStopped 
EventRTfromFileStarted 
EventRTfromFileStopped 
EventWaitingForTrigger 
EventCameraSettingsChanged 
EventQTMShuttingDown 
EventCaptureSaved 
EventReprocessingStarted 
EventReprocessingStopped 
EventTrigger 
EventNone 

Definition at line 73 of file RTPacket.h.

◆ EImageFormat

Enumerator
FormatRawGrayscale 
FormatRawBGR 
FormatJPG 
FormatPNG 

Definition at line 65 of file RTPacket.h.

◆ EPacketType

Enumerator
PacketError 
PacketCommand 
PacketXML 
PacketData 
PacketNoMoreData 
PacketC3DFile 
PacketEvent 
PacketDiscover 
PacketQTMFile 
PacketNone 

Definition at line 28 of file RTPacket.h.

◆ ETimecodeType

Enumerator
TimecodeSMPTE 
TimecodeIRIG 
TimecodeCamerTime 

Definition at line 94 of file RTPacket.h.

Constructor & Destructor Documentation

◆ CRTPacket()

CRTPacket ( int  nMajorVersion = MAJOR_VERSION,
int  nMinorVersion = MINOR_VERSION,
bool  bBigEndian = false 
)

Definition at line 17 of file RTPacket.cpp.

References ClearData().

Member Function Documentation

◆ ClearData()

void ClearData ( )

◆ Get2DCameraCount()

unsigned int Get2DCameraCount ( )

Definition at line 529 of file RTPacket.cpp.

◆ Get2DLinCameraCount()

unsigned int Get2DLinCameraCount ( )

Definition at line 582 of file RTPacket.cpp.

◆ Get2DLinMarker()

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().

◆ Get2DLinMarkerCount()

unsigned int Get2DLinMarkerCount ( unsigned int  nCameraIndex)

Definition at line 587 of file RTPacket.cpp.

Referenced by Get2DLinMarker(), and SetData().

◆ Get2DLinStatusFlags()

unsigned char Get2DLinStatusFlags ( unsigned int  nCameraIndex)

Definition at line 596 of file RTPacket.cpp.

◆ Get2DMarker()

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().

◆ Get2DMarkerCount()

unsigned int Get2DMarkerCount ( unsigned int  nCameraIndex)

Definition at line 534 of file RTPacket.cpp.

Referenced by Get2DMarker(), and SetData().

◆ Get2DStatusFlags()

unsigned char Get2DStatusFlags ( unsigned int  nCameraIndex)

Definition at line 543 of file RTPacket.cpp.

◆ Get3DMarker()

bool Get3DMarker ( unsigned int  nMarkerIndex,
float &  fX,
float &  fY,
float &  fZ 
)

Definition at line 651 of file RTPacket.cpp.

References Component3d, and Get3DMarkerCount().

◆ Get3DMarkerCount()

unsigned int Get3DMarkerCount ( )

Definition at line 635 of file RTPacket.cpp.

References Component3d, and GetComponentSize().

Referenced by Get3DMarker().

◆ Get3DNoLabelsMarker()

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().

◆ Get3DNoLabelsMarkerCount()

unsigned int Get3DNoLabelsMarkerCount ( )

Definition at line 720 of file RTPacket.cpp.

References Component3dNoLabels.

Referenced by Get3DNoLabelsMarker().

◆ Get3DNoLabelsResidualMarker()

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().

◆ Get3DNoLabelsResidualMarkerCount()

unsigned int Get3DNoLabelsResidualMarkerCount ( )

Definition at line 761 of file RTPacket.cpp.

References Component3dNoLabelsRes.

Referenced by Get3DNoLabelsResidualMarker().

◆ Get3DResidualMarker()

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().

◆ Get3DResidualMarkerCount()

unsigned int Get3DResidualMarkerCount ( )

Definition at line 679 of file RTPacket.cpp.

References Component3dRes.

Referenced by Get3DResidualMarker().

◆ Get6DOFBody()

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().

◆ Get6DOFBodyCount()

unsigned int Get6DOFBodyCount ( )

Definition at line 805 of file RTPacket.cpp.

References Component6d.

Referenced by Get6DOFBody(), and QualisysClient::manageNetworkFrame().

◆ Get6DOFEulerBody()

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().

◆ Get6DOFEulerBodyCount()

unsigned int Get6DOFEulerBodyCount ( )

Definition at line 902 of file RTPacket.cpp.

References Component6dEuler.

Referenced by Get6DOFEulerBody().

◆ Get6DOFEulerResidualBody()

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().

◆ Get6DOFEulerResidualBodyCount()

unsigned int Get6DOFEulerResidualBodyCount ( )

Definition at line 948 of file RTPacket.cpp.

References Component6dEulerRes.

Referenced by Get6DOFEulerResidualBody().

◆ Get6DOFResidualBody()

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().

◆ Get6DOFResidualBodyCount()

unsigned int Get6DOFResidualBodyCount ( )

Definition at line 852 of file RTPacket.cpp.

References Component6dRes.

Referenced by Get6DOFResidualBody().

◆ GetAnalogChannelCount()

unsigned int GetAnalogChannelCount ( unsigned int  nDeviceIndex)

Definition at line 1248 of file RTPacket.cpp.

References ComponentAnalog.

Referenced by GetAnalogData().

◆ GetAnalogData() [1/3]

unsigned int GetAnalogData ( unsigned int  nDeviceIndex,
float *  pDataBuf,
unsigned int  nBufSize 
)

Definition at line 1290 of file RTPacket.cpp.

References GetAnalogChannelCount(), and GetAnalogSampleCount().

◆ GetAnalogData() [2/3]

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().

◆ GetAnalogData() [3/3]

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().

◆ GetAnalogDeviceCount()

unsigned int GetAnalogDeviceCount ( )

Definition at line 1230 of file RTPacket.cpp.

◆ GetAnalogDeviceId()

unsigned int GetAnalogDeviceId ( unsigned int  nDeviceIndex)

Definition at line 1235 of file RTPacket.cpp.

◆ GetAnalogSampleCount()

unsigned int GetAnalogSampleCount ( unsigned int  nDeviceIndex)

Definition at line 1263 of file RTPacket.cpp.

Referenced by GetAnalogData().

◆ GetAnalogSampleNumber()

unsigned int GetAnalogSampleNumber ( unsigned int  nDeviceIndex)

Definition at line 1276 of file RTPacket.cpp.

References GetFrameNumber().

◆ GetAnalogSingleChannelCount()

unsigned int GetAnalogSingleChannelCount ( unsigned int  nDeviceIndex)

Definition at line 1410 of file RTPacket.cpp.

Referenced by GetAnalogSingleData().

◆ GetAnalogSingleData() [1/2]

unsigned int GetAnalogSingleData ( unsigned int  nDeviceIndex,
float *  pDataBuf,
unsigned int  nBufSize 
)

Definition at line 1419 of file RTPacket.cpp.

References GetAnalogSingleChannelCount().

◆ GetAnalogSingleData() [2/2]

bool GetAnalogSingleData ( unsigned int  nDeviceIndex,
unsigned int  nChannelIndex,
float &  fValue 
)

Definition at line 1439 of file RTPacket.cpp.

References GetAnalogSingleChannelCount().

◆ GetAnalogSingleDeviceCount()

unsigned int GetAnalogSingleDeviceCount ( )

Definition at line 1396 of file RTPacket.cpp.

◆ GetAnalogSingleDeviceId()

unsigned int GetAnalogSingleDeviceId ( unsigned int  nDeviceIndex)

Definition at line 1401 of file RTPacket.cpp.

◆ GetCommandString() [1/2]

char * GetCommandString ( )

◆ GetCommandString() [2/2]

char * GetCommandString ( char *  pData,
bool  bBigEndian = false 
)
static

Definition at line 422 of file RTPacket.cpp.

References GetType(), and PacketCommand.

◆ GetComponentCount()

unsigned int GetComponentCount ( )

Definition at line 384 of file RTPacket.cpp.

◆ GetComponentSize()

unsigned int GetComponentSize ( EComponentType  eComponent)

Definition at line 389 of file RTPacket.cpp.

References ComponentNone.

Referenced by Get3DMarkerCount().

◆ GetData()

void GetData ( char *&  ptr,
unsigned int &  nSize 
)

Definition at line 279 of file RTPacket.cpp.

◆ GetDiscoverResponseBasePort() [1/2]

short GetDiscoverResponseBasePort ( )

Definition at line 442 of file RTPacket.cpp.

References GetSize(), GetType(), and PacketCommand.

Referenced by CRTProtocol::DiscoverRTServer().

◆ GetDiscoverResponseBasePort() [2/2]

short GetDiscoverResponseBasePort ( char *  pData,
bool  bBigEndian = false 
)
static

Definition at line 454 of file RTPacket.cpp.

References GetSize(), GetType(), and PacketCommand.

◆ GetDropRate()

unsigned short GetDropRate ( )

Definition at line 486 of file RTPacket.cpp.

◆ GetEndianness()

bool GetEndianness ( )

Definition at line 38 of file RTPacket.cpp.

◆ GetErrorString()

◆ GetEvent() [1/2]

bool GetEvent ( EEvent eEvent)

Definition at line 466 of file RTPacket.cpp.

References GetType(), and PacketEvent.

Referenced by CRTProtocol::GetState(), and CRTProtocol::ReceiveRTPacket().

◆ GetEvent() [2/2]

bool GetEvent ( EEvent eEvent,
char *  pData,
bool  bBigEndian = false 
)
static

Definition at line 476 of file RTPacket.cpp.

References GetType(), and PacketEvent.

◆ GetForceCount()

unsigned int GetForceCount ( unsigned int  nPlateIndex)

Definition at line 1470 of file RTPacket.cpp.

Referenced by GetForceData().

◆ GetForceData() [1/2]

unsigned int GetForceData ( unsigned int  nPlateIndex,
SForce pForceBuf,
unsigned int  nBufSize 
)

Definition at line 1496 of file RTPacket.cpp.

References GetForceCount().

◆ GetForceData() [2/2]

bool GetForceData ( unsigned int  nPlateIndex,
unsigned int  nForceIndex,
SForce sForce 
)

Definition at line 1534 of file RTPacket.cpp.

References GetForceCount().

◆ GetForceNumber()

unsigned int GetForceNumber ( unsigned int  nPlateIndex)

Definition at line 1483 of file RTPacket.cpp.

References GetFrameNumber().

◆ GetForcePlateCount()

unsigned int GetForcePlateCount ( )

Definition at line 1456 of file RTPacket.cpp.

◆ GetForcePlateId()

unsigned int GetForcePlateId ( unsigned int  nPlateIndex)

Definition at line 1461 of file RTPacket.cpp.

◆ GetForceSingleData()

bool GetForceSingleData ( unsigned int  nPlateIndex,
SForce pForce 
)

Definition at line 1691 of file RTPacket.cpp.

◆ GetForceSinglePlateCount()

unsigned int GetForceSinglePlateCount ( )

Definition at line 1677 of file RTPacket.cpp.

◆ GetForceSinglePlateId()

unsigned int GetForceSinglePlateId ( unsigned int  nPlateIndex)

Definition at line 1682 of file RTPacket.cpp.

◆ GetFrameNumber() [1/2]

unsigned int GetFrameNumber ( )

Definition at line 327 of file RTPacket.cpp.

References GetType(), and PacketData.

Referenced by GetAnalogSampleNumber(), and GetForceNumber().

◆ GetFrameNumber() [2/2]

unsigned int GetFrameNumber ( char *  pData,
bool  bBigEndian = false 
)
static

Definition at line 371 of file RTPacket.cpp.

References GetType(), and PacketData.

◆ GetGazeVector() [1/2]

bool GetGazeVector ( unsigned int  nVectorIndex,
unsigned int  nSampleIndex,
SGazeVector nGazeVector 
)

Definition at line 1021 of file RTPacket.cpp.

References CRTPacket::SGazeVector::fPosX, and GetGazeVectorSampleCount().

◆ GetGazeVector() [2/2]

bool GetGazeVector ( unsigned int  nVectorIndex,
SGazeVector pGazeVectorBuf,
unsigned int  nBufSize 
)

Definition at line 1039 of file RTPacket.cpp.

References GetGazeVectorSampleCount().

◆ GetGazeVectorCount()

unsigned int GetGazeVectorCount ( )

Definition at line 996 of file RTPacket.cpp.

◆ GetGazeVectorSampleCount()

unsigned int GetGazeVectorSampleCount ( unsigned int  nVectorIndex)

Definition at line 1001 of file RTPacket.cpp.

Referenced by GetGazeVector(), and GetGazeVectorSampleNumber().

◆ GetGazeVectorSampleNumber()

unsigned int GetGazeVectorSampleNumber ( unsigned int  nVectorIndex)

Definition at line 1010 of file RTPacket.cpp.

References GetGazeVectorSampleCount().

◆ GetImage()

unsigned int GetImage ( unsigned int  nCameraIndex,
char *  pDataBuf,
unsigned int  nBufSize 
)

Definition at line 1208 of file RTPacket.cpp.

◆ GetImageCameraCount()

unsigned int GetImageCameraCount ( )

Definition at line 1146 of file RTPacket.cpp.

◆ GetImageCameraId()

unsigned int GetImageCameraId ( unsigned int  nCameraIndex)

Definition at line 1151 of file RTPacket.cpp.

◆ GetImageCrop()

bool GetImageCrop ( unsigned int  nCameraIndex,
float &  fCropLeft,
float &  fCropTop,
float &  fCropRight,
float &  fCropBottom 
)

Definition at line 1183 of file RTPacket.cpp.

◆ GetImageFormat()

bool GetImageFormat ( unsigned int  nCameraIndex,
EImageFormat eImageFormat 
)

Definition at line 1160 of file RTPacket.cpp.

◆ GetImageSize() [1/2]

bool GetImageSize ( unsigned int  nCameraIndex,
unsigned int &  nWidth,
unsigned int &  nHeight 
)

Definition at line 1171 of file RTPacket.cpp.

◆ GetImageSize() [2/2]

unsigned int GetImageSize ( unsigned int  nCameraIndex)

Definition at line 1198 of file RTPacket.cpp.

◆ GetOutOfSyncRate()

unsigned short GetOutOfSyncRate ( )

Definition at line 505 of file RTPacket.cpp.

◆ GetSize() [1/2]

unsigned int GetSize ( )

◆ GetSize() [2/2]

unsigned int GetSize ( char *  pData,
bool  bBigEndian = false 
)
static

Definition at line 336 of file RTPacket.cpp.

◆ GetSkeletonCount()

unsigned int GetSkeletonCount ( )

Definition at line 1582 of file RTPacket.cpp.

◆ GetSkeletonSegment()

◆ GetSkeletonSegmentCount()

unsigned int GetSkeletonSegmentCount ( unsigned int  nSkeletonIndex)

Definition at line 1587 of file RTPacket.cpp.

Referenced by GetSkeletonSegment(), and GetSkeletonSegments().

◆ GetSkeletonSegments()

◆ GetTimecodeCameraTime()

bool GetTimecodeCameraTime ( unsigned int  nTimecodeIndex,
unsigned long long &  cameraTime 
)

Definition at line 1123 of file RTPacket.cpp.

References GetTimecodeType(), and TimecodeCamerTime.

◆ GetTimecodeCount()

unsigned int GetTimecodeCount ( )

Definition at line 1064 of file RTPacket.cpp.

◆ GetTimecodeIRIG()

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.

◆ GetTimecodeSMPTE()

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.

◆ GetTimecodeType()

bool GetTimecodeType ( unsigned int  nTimecodeIndex,
CRTPacket::ETimecodeType timecodeType 
)

Definition at line 1069 of file RTPacket.cpp.

Referenced by GetTimecodeCameraTime(), GetTimecodeIRIG(), and GetTimecodeSMPTE().

◆ GetTimeStamp() [1/2]

unsigned long long GetTimeStamp ( )

Definition at line 318 of file RTPacket.cpp.

References GetType(), and PacketData.

◆ GetTimeStamp() [2/2]

unsigned long long GetTimeStamp ( char *  pData,
bool  bBigEndian = false 
)
static

Definition at line 358 of file RTPacket.cpp.

References GetType(), and PacketData.

◆ GetType() [1/2]

◆ GetType() [2/2]

CRTPacket::EPacketType GetType ( char *  pData,
bool  bBigEndian = false 
)
static

Definition at line 345 of file RTPacket.cpp.

References GetSize(), and PacketNone.

◆ GetVersion()

void GetVersion ( unsigned int &  nMajorVersion,
unsigned int &  nMinorVersion 
)

Definition at line 26 of file RTPacket.cpp.

◆ GetXMLString()

◆ SetData()

◆ SetEndianness()

void SetEndianness ( bool  bBigEndian)

Definition at line 43 of file RTPacket.cpp.

◆ SetVersion()

void SetVersion ( unsigned int  nMajorVersion,
unsigned int  nMinorVersion 
)

Definition at line 32 of file RTPacket.cpp.

Referenced by CRTProtocol::SetVersion().


The documentation for this class was generated from the following files: