Kstars

fitscommon.h
1/*
2 SPDX-FileCopyrightText: 2012 Jasem Mutlaq <mutlaqja@ikarustech.com>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8
9#include <QString>
10#include <KLocalizedString>
11
12typedef enum { FITS_NORMAL, FITS_FOCUS, FITS_GUIDE, FITS_CALIBRATE, FITS_ALIGN, FITS_UNKNOWN } FITSMode;
13
14// Focus States
15static const QStringList FITSModes = { I18N_NOOP("Normal"), I18N_NOOP("Focus"), I18N_NOOP("Guide"),
16 I18N_NOOP("Calibrate"), I18N_NOOP("Align"), I18N_NOOP("Unknown")
17 };
18
19const QString &getFITSModeStringString(FITSMode mode);
20
21typedef enum { FITS_CLIP, FITS_HFR, FITS_WCS, FITS_VALUE, FITS_POSITION, FITS_ZOOM, FITS_RESOLUTION, FITS_LED, FITS_MESSAGE} FITSBar;
22
23typedef enum
24{
25 FITS_NONE,
26 FITS_AUTO_STRETCH,
27 FITS_HIGH_CONTRAST,
28 FITS_EQUALIZE,
29 FITS_HIGH_PASS,
30 FITS_MEDIAN,
31 FITS_GAUSSIAN,
32 FITS_ROTATE_CW,
33 FITS_ROTATE_CCW,
34 FITS_MOUNT_FLIP_H,
35 FITS_MOUNT_FLIP_V,
36 FITS_AUTO,
37 FITS_LINEAR,
38 FITS_LOG,
39 FITS_SQRT,
40 FITS_CUSTOM
41} FITSScale;
42
43typedef enum { ZOOM_FIT_WINDOW, ZOOM_KEEP_LEVEL, ZOOM_FULL } FITSZoom;
44
45typedef enum { HFR_AVERAGE, HFR_MEDIAN, HFR_HIGH, HFR_MAX, HFR_ADJ_AVERAGE } HFRType;
46
47typedef enum { ALGORITHM_GRADIENT, ALGORITHM_CENTROID, ALGORITHM_THRESHOLD, ALGORITHM_SEP, ALGORITHM_BAHTINOV } StarAlgorithm;
48
49typedef enum { RED_CHANNEL, GREEN_CHANNEL, BLUE_CHANNEL } ColorChannels;
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 24 2024 11:49:22 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.