ShFovExporter

Search for usage in LXR

ShFovExporter Class Reference

#include <shfovexporter.h>

Public Member Functions

 ShFovExporter (PrintingWizard *wizard, SkyMap *map)
 
bool calculatePath (const SkyPoint &src, const SkyPoint &dest, double fov, double maglim)
 
bool exportPath ()
 

Detailed Description

Helper class used as a wrapper for StarHopper when capturing FOV snapshots.

Author
Rafał Kułaga

Definition at line 21 of file shfovexporter.h.

Constructor & Destructor Documentation

◆ ShFovExporter()

ShFovExporter::ShFovExporter ( PrintingWizard wizard,
SkyMap map 
)

Constructor.

Definition at line 17 of file shfovexporter.cpp.

Member Function Documentation

◆ calculatePath()

bool ShFovExporter::calculatePath ( const SkyPoint src,
const SkyPoint dest,
double  fov,
double  maglim 
)

Calculate path between source and destination SkyPoints.

Parameters
srcSkyPoint at which StarHopper will begin.
destSkyPoint at which StarHopper will end.
fovStar hopping field of view angle (in deg).
maglimMagnitude limit.
Returns
True if path has been found.

Definition at line 21 of file shfovexporter.cpp.

◆ exportPath()

bool ShFovExporter::exportPath ( )

Export FOV snapshots across calculated path.

Returns
False if path is empty.
Note
You should call ShFovExporter::calculatePath() before calling this method.

Definition at line 39 of file shfovexporter.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Aug 18 2022 03:56:49 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.