LOST
0.0.1
LOST: Open-source Star Tracker
|
A pipeline input created by reading a PNG from a file on disk. More...
#include <io.hpp>
Public Member Functions | |
PngPipelineInput (cairo_surface_t *, Camera, const Catalog &) | |
A pipeline input coming from an image with no extra metadata. More... | |
~PngPipelineInput () | |
const Image * | InputImage () const override |
const Camera * | InputCamera () const override |
const Catalog & | GetCatalog () const override |
The catalog to which catalog indexes returned from other methods refer. More... | |
Public Member Functions inherited from lost::PipelineInput | |
virtual | ~PipelineInput () |
virtual const Stars * | InputStars () const |
virtual const StarIdentifiers * | InputStarIds () const |
The centroid indices in the StarIdentifiers returned from InputStarIds should be indices into InputStars(), not ExpectedStars(), when present, because otherwise it's useless. More... | |
virtual const Attitude * | InputAttitude () const |
Only used in tracking mode, in which case it is an estimate of the current attitude based on the last attitude, IMU info, etc. More... | |
cairo_surface_t * | InputImageSurface () const |
Convert the InputImage() output into a cairo surface. More... | |
virtual const Stars * | ExpectedStars () const |
virtual const StarIdentifiers * | ExpectedStarIds () const |
Centroid indices in the StarIdentifiers returned from ExpectedStarIds should be indices into ExpectedStars(), /not/ InputStars(). More... | |
virtual const Attitude * | ExpectedAttitude () const |
A pipeline input created by reading a PNG from a file on disk.
lost::PngPipelineInput::PngPipelineInput | ( | cairo_surface_t * | cairoSurface, |
Camera | camera, | ||
const Catalog & | catalog | ||
) |
A pipeline input coming from an image with no extra metadata.
Only InputImage will be available. No references to the surface are kept in the class and it may be freed after construction.
cairoSurface | A cairo surface from the image file. |
Definition at line 366 of file io.cpp.
|
inlineoverridevirtual |
The catalog to which catalog indexes returned from other methods refer.
Implements lost::PipelineInput.
|
inlineoverridevirtual |
Reimplemented from lost::PipelineInput.
|
inlineoverridevirtual |
Reimplemented from lost::PipelineInput.