Changeset View
Changeset View
Standalone View
Standalone View
kstars/fitsviewer/fitsview.h
Show First 20 Lines • Show All 151 Lines • ▼ Show 20 Line(s) | 54 | public: | |||
---|---|---|---|---|---|
152 | { | 152 | { | ||
153 | return currentHeight; | 153 | return currentHeight; | ||
154 | } | 154 | } | ||
155 | 155 | | |||
156 | // Star Detection | 156 | // Star Detection | ||
157 | int findStars(StarAlgorithm algorithm = ALGORITHM_CENTROID, const QRect &searchBox = QRect()); | 157 | int findStars(StarAlgorithm algorithm = ALGORITHM_CENTROID, const QRect &searchBox = QRect()); | ||
158 | void toggleStars(bool enable); | 158 | void toggleStars(bool enable); | ||
159 | void setStarsEnabled(bool enable); | 159 | void setStarsEnabled(bool enable); | ||
160 | void setStarsHFREnabled(bool enable); | ||||
160 | void setStarFilterRange(float const innerRadius, float const outerRadius); | 161 | void setStarFilterRange(float const innerRadius, float const outerRadius); | ||
161 | int filterStars(); | 162 | int filterStars(); | ||
162 | 163 | | |||
163 | // FITS Mode | 164 | // FITS Mode | ||
164 | void updateMode(FITSMode fmode); | 165 | void updateMode(FITSMode fmode); | ||
165 | FITSMode getMode() | 166 | FITSMode getMode() | ||
166 | { | 167 | { | ||
167 | return mode; | 168 | return mode; | ||
▲ Show 20 Lines • Show All 115 Lines • ▼ Show 20 Line(s) | 258 | private: | |||
283 | 284 | | |||
284 | bool firstLoad { true }; | 285 | bool firstLoad { true }; | ||
285 | bool markStars { false }; | 286 | bool markStars { false }; | ||
286 | bool showStarProfile { false }; | 287 | bool showStarProfile { false }; | ||
287 | bool showCrosshair { false }; | 288 | bool showCrosshair { false }; | ||
288 | bool showObjects { false }; | 289 | bool showObjects { false }; | ||
289 | bool showEQGrid { false }; | 290 | bool showEQGrid { false }; | ||
290 | bool showPixelGrid { false }; | 291 | bool showPixelGrid { false }; | ||
292 | bool showStarsHFR { false }; | ||||
291 | 293 | | |||
292 | struct | 294 | struct | ||
293 | { | 295 | { | ||
294 | bool used() const | 296 | bool used() const | ||
295 | { | 297 | { | ||
296 | return innerRadius != 0.0f || outerRadius != 1.0f; | 298 | return innerRadius != 0.0f || outerRadius != 1.0f; | ||
297 | } | 299 | } | ||
298 | float innerRadius { 0.0f }; | 300 | float innerRadius { 0.0f }; | ||
▲ Show 20 Lines • Show All 50 Lines • Show Last 20 Lines |