Kstars
simplefovexporter.h
23 * SimpleFovExporter class can be used for export of FOV representations in user-interactive mode as well as
25 * \note Please note that SimpleFovExporter class instances may pause simulation clock if they're configured
27 * \note FOV representation's shape can be overridden (i.e. FOV image will be always rectangular) using
65 void exportFov(const QList<SkyPoint *> &points, const QList<FOV *> &fovs, const QList<QPaintDevice *> &pds);
104 inline void setFovShapeOverriden(bool overrideFovShape) { m_OverrideFovShape = overrideFovShape; }
118 static inline double calculateZoomLevel(int pixelSize, float degrees) { return (pixelSize * 57.3 * 60) / degrees; }
SimpleFovExporter class is used for FOV representation exporting.
Definition simplefovexporter.h:31
bool isClockStopping() const
Check if FOV export will cause simulation clock to be stopped.
Definition simplefovexporter.h:80
void setFovSymbolDrawn(bool draw)
Enable or disable FOV symbol drawing.
Definition simplefovexporter.h:110
static double calculatePixelSize(float degrees, double zoomLevel)
Calculate pixel size of given angular length at given zoom level.
Definition simplefovexporter.h:126
static double calculateZoomLevel(int pixelSize, float degrees)
Calculate zoom level at which given angular length will occupy given length in pixels.
Definition simplefovexporter.h:118
void exportFov(SkyPoint *point, FOV *fov, QPaintDevice *pd)
Paint FOV representation on passed QPaintDevice subclass.
Definition simplefovexporter.cpp:23
void setFovShapeOverriden(bool overrideFovShape)
Enable or disable FOV shape overriding.
Definition simplefovexporter.h:104
void setClockStopping(bool stopping)
Enable or disable stopping simulation for FOV export.
Definition simplefovexporter.h:98
bool isFovShapeOverriden() const
Check if FOV representation will be always rectangular.
Definition simplefovexporter.h:86
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:47 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:47 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.