NatNet SDK number of visible markers of rigid body
Posted: Tue Dec 10, 2013 2:34 am
Hi
Im using the NatNet SDK to stream data. Everything works fine apart from getting the number of visible markers of a rigid body. Here the data structure of the rigidbody data:
unfortunately nMarkers is the real number of markers and number of visible markers.
Is there a way of getting the number of visible markers for a rigid body?
thanks
flavio
Im using the NatNet SDK to stream data. Everything works fine apart from getting the number of visible markers of a rigid body. Here the data structure of the rigidbody data:
Code: Select all
typedef struct sRigidBodyData
{
int ID; // RigidBody identifier
float x, y, z; // Position
float qx, qy, qz, qw; // Orientation
int nMarkers; // Number of markers associated with this rigid body
* Markers; // Array of marker data ( [nMarkers][3] )
int* MarkerIDs; // Array of marker IDs
float* MarkerSizes; // Array of marker sizes
float MeanError; // Mean measure-to-solve deviation
sRigidBodyData()
{
Markers = 0; MarkerIDs = 0; MarkerSizes = 0;
}
} sRigidBodyData;
Is there a way of getting the number of visible markers for a rigid body?
thanks
flavio