9
Language bindings
In this chapter are described the different bindings Atracsys makes available to the users.
9.1 Python wrapper
A Python™ wrapper is distributed, which has been tested with Python 3.7.2 (64 bits) on Windows and on
Linux. The C++ / Python interface framework used is pybind11.
The wrapper allows to use almost all possibilities allowed by the fusionTrack C++ API, meaning that the
classes of the C++ API have just been wrapped in Python.
The Python wrapper is distributed through Pypy. The wrapper needs Python (64 bits), git, CMake 3.10
or newer, and a C++11-compliant compiler (i.e. Microsoft Visual Studio 2015 or newer, gcc 5.0 or newer,
clang 3.8 or newer).
9.2 Matlab wrapper
®
A Matlab
wrapper is distributed, which has been tested with Matlab R2016a and Microsoft Visual Studio
2015 on Windows. It consists of a set of C++ source files, which are then compiled via Matlab using Visual
Studio, and Matlab scripts files. The Matlab main script, provided as an example, uses the FusionTrack
class, which is fully documented, as well as the underlying FusionTrack class written in C++.
The wrapper allows to:
- detected connected device(s);
int32
- get and set
- get ftkBuffer options;
- register / clear geometries;
- get the latest frame, with
– marker data;
– fiducial data;
– timestamp, counter;
– image size.
The reference implementation is the distributed C / C++ API.
The other language bindings are not subject to torough test-
ing, as the C / C++ do.
float32
and
options;
Need help?
Do you have a question about the fusionTrack 500 and is the answer not in the manual?
Questions and answers