kstars
simplefovexporter.h
Go to the documentation of this file.
78 void exportFov(const QList<SkyPoint*> &points, const QList<FOV*> &fovs, const QList<QPaintDevice*> &pds);
131 static inline double calculateZoomLevel(int pixelSize, float degrees) { return (pixelSize * 57.3 * 60) / degrees; }
139 static inline double calculatePixelSize(float degrees, double zoomLevel) { return degrees * zoomLevel / (57.3 * 60.0); }
static double calculatePixelSize(float degrees, double zoomLevel)
Calculate pixel size of given angular length at given zoom level.
Definition: simplefovexporter.h:139
bool isClockStopping()
Check if FOV export will cause simulation clock to be stopped.
Definition: simplefovexporter.h:93
void setFovShapeOverriden(bool override)
Enable or disable FOV shape overriding.
Definition: simplefovexporter.h:117
static double calculateZoomLevel(int pixelSize, float degrees)
Calculate zoom level at which given angular length will occupy given length in pixels.
Definition: simplefovexporter.h:131
SimpleFovExporter class is used for FOV representation exporting.
Definition: simplefovexporter.h:43
void setClockStopping(bool stopping)
Enable or disable stopping simulation for FOV export.
Definition: simplefovexporter.h:111
void exportFov(SkyPoint *point, FOV *fov, QPaintDevice *pd)
Paint FOV representation on passed QPaintDevice subclass.
Definition: simplefovexporter.cpp:33
void setFovSymbolDrawn(bool draw)
Enable or disable FOV symbol drawing.
Definition: simplefovexporter.h:123
bool isFovShapeOverriden()
Check if FOV representation will be always rectangular.
Definition: simplefovexporter.h:99
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.