OSVR-Core
|
Data for a full target (all the beacons), unswizzled into a "struct of vectors". More...
#include <BeaconSetupData.h>
Public Types | |
using | size_type = std::vector< double >::size_type |
Public Member Functions | |
size_type | numBeacons () const |
void | setBeaconCount (std::size_t numBeacons, double baseMeasurementVariance, double initialAutocalibrationError) |
Resizes all arrays to the numBeacons. More... | |
void | markBeaconFixed (ZeroBasedBeaconId beacon) |
Mark a beacon, by zero-based ID, as being fixed. | |
void | markBeaconFixed (OneBasedBeaconId beacon) |
Mark a beacon, by one-based ID, as being fixed. | |
bool | isBeaconActive (OneBasedBeaconId beacon) |
Is the beacon active? More... | |
void | markBeaconInactive (ZeroBasedBeaconId beacon) |
void | markBeaconInactive (OneBasedBeaconId beacon) |
TargetDataSummary | cleanAndValidate (bool silent=false) |
Static Public Member Functions | |
static LocationPoint | getBogusLocation () |
This is both an entirely unlikely out of bounds value and a specific sentinel value. More... | |
Data for a full target (all the beacons), unswizzled into a "struct of vectors".
All should be the same size, since they are parallel.
|
inlinestatic |
This is both an entirely unlikely out of bounds value and a specific sentinel value.
bool osvr::vbtracker::TargetSetupData::isBeaconActive | ( | OneBasedBeaconId | beacon | ) |
Is the beacon active?
no such beacon pattern
void osvr::vbtracker::TargetSetupData::markBeaconInactive | ( | ZeroBasedBeaconId | beacon | ) |
no such beacon pattern well, so nothing to do...
Clear the pattern string to mark it as inactive.
|
inline |
Resizes all arrays to the numBeacons.
Only populates baseMeasurementVariances, initialAutocalibrationErrors, and isFixed with semi-reasonable default values (no beacons fixed)