1#ifndef SRC_COMMON_STYLE_HPP_
2#define SRC_COMMON_STYLE_HPP_
5#include <unordered_set>
10#include "common/spatial/attitude-utils.hpp"
11#include "common/decimal.hpp"
12#include "common/pipeline/pipelines.hpp"
18typedef std::vector<Vec2> Points;
23typedef Vec3 PositionVector;
65typedef std::vector<Edge> Edges;
83typedef std::vector<Component> Components;
102typedef std::vector<LocationRecord> LocationRecords;
177typedef std::pair<std::function<
Vec3(
int)>,std::function<
Vec3(
int)>> KinematicPrediction;
180constexpr size_t calibration_size = 1;
181constexpr size_t distance_size = 3;
182constexpr size_t orbit_size = 2;
A Quaternion is a mutable object that represents a Quaternion.
Definition attitude-utils.hpp:474
SequentialPipeline is composite Stage (i.e.
Definition pipelines.hpp:142
A Vec3 is a mutable object that represents a 3D Vector.
Definition attitude-utils.hpp:98
Represents a connected component in an image.
Definition style.hpp:73
Vec2 lowerRight
The highest point (right lower edge)
Definition style.hpp:79
Vec2 upperLeft
The lowest point (left upper edge)
Definition style.hpp:77
std::unordered_set< uint64_t > points
The points in this component.
Definition style.hpp:75
Represents a 2D edge in an image.
Definition style.hpp:55
Vec2 upperLeft
The lowest point (left upper edge)
Definition style.hpp:59
Vec2 lowerRight
The highest point (right lower edge)
Definition style.hpp:61
Points points
The edge points.
Definition style.hpp:57
Represents an image.
Definition style.hpp:31
unsigned char * image
The image contents.
Definition style.hpp:46
int channels
The image channels.
Definition style.hpp:37
int height
The image height.
Definition style.hpp:35
int width
The image width.
Definition style.hpp:33
Represents a single spatial data point with position and timestamp.
Definition style.hpp:88
Vec3 position
3D position of the recorded data point.
Definition style.hpp:97
uint64_t timestamp
Timestamp associated with the position, in microseconds or appropriate units.
Definition style.hpp:92
OrbitParams defines the orbital parameters of a given orbit.
Definition style.hpp:108
decimal(* outPlaneRotation)(int theta)
The angular speed that the satellite's orbit plane rotates out of plane at with respect to the number...
Definition style.hpp:168
Vec3(* position)(int theta)
The position of the satellite as a function of the number of revolutions it has done.
Definition style.hpp:121
Vec3 initialCondition
The initial position of the satellite with respect to Earth (at t = 0 and theta = 0)
Definition style.hpp:111
decimal(* inPlaneRotation)(int theta)
The angular speed that the satellite's orbit plane rotates in plane at with respect to the number of ...
Definition style.hpp:156
Vec3(* majorAxis)(int theta)
The major axis vector as a function with respect to the revolutions of the satellite.
Definition style.hpp:132
Vec3(* minorAxis)(int theta)
The minor axis vector as a function with respect to the revolutions of the satellite.
Definition style.hpp:143
A Vec2 is an immutable object that represents a 2D Vector.
Definition attitude-utils.hpp:22