Changeset View
Changeset View
Standalone View
Standalone View
kstars/fitsviewer/fitsdata.h
Show All 38 Lines | |||||
39 | 39 | | |||
40 | #ifndef KSTARS_LITE | 40 | #ifndef KSTARS_LITE | ||
41 | #include <kxmlguiwindow.h> | 41 | #include <kxmlguiwindow.h> | ||
42 | #ifdef HAVE_WCSLIB | 42 | #ifdef HAVE_WCSLIB | ||
43 | #include <wcs.h> | 43 | #include <wcs.h> | ||
44 | #endif | 44 | #endif | ||
45 | #endif | 45 | #endif | ||
46 | 46 | | |||
47 | #include "fitsskyobject.h" | ||||
48 | | ||||
47 | class QProgressDialog; | 49 | class QProgressDialog; | ||
48 | 50 | | |||
49 | class SkyObject; | | |||
50 | class SkyPoint; | 51 | class SkyPoint; | ||
51 | class FITSHistogram; | 52 | class FITSHistogram; | ||
52 | 53 | | |||
53 | typedef struct | 54 | typedef struct | ||
54 | { | 55 | { | ||
55 | float ra; | 56 | float ra; | ||
56 | float dec; | 57 | float dec; | ||
57 | } wcs_point; | 58 | } wcs_point; | ||
58 | 59 | | |||
59 | class Edge; | 60 | class Edge; | ||
60 | 61 | | |||
61 | class FITSSkyObject : public QObject | | |||
62 | { | | |||
63 | Q_OBJECT | | |||
64 | public: | | |||
65 | explicit FITSSkyObject(SkyObject *object, int xPos, int yPos); | | |||
66 | SkyObject *skyObject(); | | |||
67 | int x(); | | |||
68 | int y(); | | |||
69 | void setX(int xPos); | | |||
70 | void setY(int yPos); | | |||
71 | | ||||
72 | private: | | |||
73 | SkyObject *skyObjectStored; | | |||
74 | int xLoc; | | |||
75 | int yLoc; | | |||
76 | }; | | |||
77 | | ||||
78 | class FITSData : public QObject | 62 | class FITSData : public QObject | ||
79 | { | 63 | { | ||
80 | Q_OBJECT | 64 | Q_OBJECT | ||
81 | 65 | | |||
82 | // Name of FITS file | 66 | // Name of FITS file | ||
83 | Q_PROPERTY(QString filename READ filename) | 67 | Q_PROPERTY(QString filename READ filename) | ||
84 | // Size of file in bytes | 68 | // Size of file in bytes | ||
85 | Q_PROPERTY(qint64 size READ size) | 69 | Q_PROPERTY(qint64 size READ size) | ||
▲ Show 20 Lines • Show All 449 Lines • Show Last 20 Lines |