BiiGOptitrackControl
..
|
Classes | |
class | OptitrackTool |
class | OptitrackTracker |
Functions | |
void | sleep (unsigned milliseconds) |
template<typename T > | |
std::string | to_string (const T &n) |
int | CameraCorrespondeceBetweenAPIandTrackingTools (int numberOfCameras, int CameraNumber) |
Correspondance between API and TrackingTools software camera IDs. More... | |
int | GetMarkerPosition2D3D (std::ostream *stream, int numberOfCameras, int Camera1, int Camera2) |
Getting 3D and 2D position of single marker using a pair of cameras. More... | |
int Optitrack::CameraCorrespondeceBetweenAPIandTrackingTools | ( | int | numberOfCameras, |
int | CameraNumber | ||
) |
Correspondance between API and TrackingTools software camera IDs.
This function provides the TrackingTools software camera ID corresponding to a given API camera ID.
numberOfCameras | total number of cameras composing the system. |
CameraNumber | API camera ID wanted to be converted. |
int Optitrack::GetMarkerPosition2D3D | ( | std::ostream * | stream, |
int | numberOfCameras, | ||
int | Camera1, | ||
int | Camera2 | ||
) |
Getting 3D and 2D position of single marker using a pair of cameras.
This function acquires 1000 samples of the 3D position of the markers using a pair of cameras. Also, it acquires 1000 samples of the 2D position of the markers in the plane of each camera within the pair. All data (cameras involved, 2D positions, and 3D positions) is saved into a ".csv" file.
numberOfCameras | total number of cameras composing the system. |
Camera1 | API ID of the first camera belonging to the pair. |
Camera2 | API ID of the second camera belonging to the pair. |
void Optitrack::sleep | ( | unsigned | milliseconds | ) |
std::string Optitrack::to_string | ( | const T & | n | ) |