NDEVR
API Documentation
CalibrationPosition.h
1#pragma once
2#include <NDEVR/Buffer.h>
3#include <NDEVR/TranslatedString.h>
4#include <NDEVR/Vertex.h>
5#include <NDEVR/String.h>
6namespace NDEVR
7{
13 {
15 Ray<3, fltp08> data = Constant<Ray<3, fltp08>>::Invalid;
16 bool used_in_solution = true;
18 };
19
49}
The equivelent of std::vector but with a bit more control.
Definition Buffer.hpp:58
The core String View class for the NDEVR API.
Definition StringView.h:58
The core String class for the NDEVR API.
Definition String.h:95
Represents a timestamp with utilities for manipulation and conversion.
Definition Time.h:62
Any text displayed to the user should be defined as a TranslatedString which allows the program to lo...
The primary namespace for the NDEVR SDK.
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
void clearData()
Removes all collected accelerometer readings for this position.
TranslatedString location_title
Display name of this calibration position.
Buffer< CalibrationReading > acc_data
Accelerometer readings collected at this position.
String location_icon
Icon resource name for this calibration position.
CalibrationPosition(const TranslatedString &location_title, const StringView &image, const Ray< 3, fltp08 > &gravity)
Constructs a CalibrationPosition with the given title, icon, and expected gravity vector.
Ray< 3, fltp08 > gravity
The expected gravity vector for this calibration position.
Represents a location used for calibrating an IMU.
Time time
Timestamp when this reading was taken.
bool used_in_solution
Whether this reading is included in the calibration solution.
Ray< 3, fltp08 > data
The sensor reading as a 3D ray (position and direction).
uint04 index_attempt
The attempt index for this reading at the same position.
Defines for a given type (such as sint04, fltp08, UUID, etc) a maximum, minimum, and reserved 'invali...