LOST  0.0.1
LOST: Open-source Star Tracker
star-utils.hpp File Reference
#include <vector>
#include "attitude-utils.hpp"
#include "serialize-helpers.hpp"
Include dependency graph for star-utils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  lost::CatalogStar
 A star from the Bright Star Catalog. More...
 
class  lost::Star
 A "centroid" detected in an image. More...
 
class  lost::StarIdentifier
 Records that a certain Star (detected in the image) corresponds to a certain CatalogStar. More...
 

Namespaces

 lost
 LOST starting point.
 

Typedefs

typedef std::vector< CatalogStar > lost::Catalog
 
typedef std::vector< Star > lost::Stars
 
typedef std::vector< StarIdentifier > lost::StarIdentifiers
 

Functions

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...
 
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...
 
decimal lost::MagToBrightness (int magnitude)
 returns some relative brightness measure, which is proportional to the total number of photons received from a star. More...
 
Catalog lost::NarrowCatalog (const Catalog &, int maxMagnitude, int maxStars, decimal minSeparation)
 Remove unwanted stars from an unfiltered catalog. More...