LOST
0.0.1
LOST: Open-source Star Tracker
|
#include "star-utils.hpp"
#include <math.h>
#include <assert.h>
#include <algorithm>
#include <set>
#include "serialize-helpers.hpp"
Go to the source code of this file.
Namespaces | |
lost | |
LOST starting point. | |
Functions | |
bool | lost::CatalogStarMagnitudeCompare (const CatalogStar &a, const CatalogStar &b) |
Catalog | lost::NarrowCatalog (const Catalog &, int maxMagnitude, int maxStars, decimal minSeparation) |
Remove unwanted stars from an unfiltered catalog. More... | |
Catalog::const_iterator | lost::FindNamedStar (const Catalog &catalog, int name) |
Return a pointer to the star with the given name, or NULL if not found. More... | |
void | lost::SerializeCatalogStar (SerializeContext *ser, const CatalogStar &catalogStar, bool inclMagnitude, bool inclName) |
Serialize a CatalogStar into a byte buffer. More... | |
CatalogStar | lost::DeserializeCatalogStar (DeserializeContext *des, bool inclMagnitude, bool inclName) |
Deserialize a catalog star. More... | |
void | lost::SerializeCatalog (SerializeContext *ser, const Catalog &catalog, bool inclMagnitude, bool inclName) |
Serialize the catalog to buffer . More... | |
Catalog | lost::DeserializeCatalog (DeserializeContext *des, bool *inclMagnitudeReturn, bool *inclNameReturn) |
Deserialize a catalog. More... | |
decimal | lost::MagToBrightness (int magnitude) |
returns some relative brightness measure, which is proportional to the total number of photons received from a star. More... | |