|
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef FeatureNomenclatureTool_h
2 #define FeatureNomenclatureTool_h
7 #include <QProgressDialog>
20 template <
typename A,
typename B>
class QMap;
21 template <
typename A,
typename B>
struct QPair;
24 class MdiCubeViewport;
25 class UniversalGroundMap;
140 void centerOnSelectedFeature();
142 void featureSelected();
144 void findNomenclatureStateChanged(
int);
145 void nomenclaturePositionsOutdated();
146 void onToolActivated();
147 void showDisclaimer();
151 class ViewportFeatureDisplay;
155 void findMissingNomenclature();
157 void rebuildFeaturesCombo();
161 void toolStateChanged();
164 const ViewportFeatureDisplay *
170 void writeSettings();
188 class FeaturePosition {
192 FeaturePosition(
const FeaturePosition &other);
195 bool isValid()
const;
203 void swap(FeaturePosition &other);
204 FeaturePosition &operator=(
const FeaturePosition &rhs);
210 double m_centerSample;
236 class FeatureDisplayPosition {
238 FeatureDisplayPosition();
239 FeatureDisplayPosition(QRect textRect, QRect fullDisplayRect,
241 FeatureDisplayPosition(
const FeatureDisplayPosition &other);
242 ~FeatureDisplayPosition();
244 QRect textArea()
const;
245 QRect displayArea()
const;
248 void swap(FeatureDisplayPosition &other);
249 FeatureDisplayPosition &operator=(
const FeatureDisplayPosition &rhs);
256 QRect *m_fullDisplayRect;
275 class ViewportFeatureDisplay {
277 ViewportFeatureDisplay();
279 MdiCubeViewport *sourceViewport,
282 ViewportFeatureDisplay(
const ViewportFeatureDisplay &other);
283 ~ViewportFeatureDisplay();
286 void centerFeature(FeatureNomenclature::Feature);
289 MdiCubeViewport *sourceViewport()
const;
290 void paint(QPainter *painter,
bool showVectors,
297 void swap(ViewportFeatureDisplay &other);
298 ViewportFeatureDisplay &operator=(
299 const ViewportFeatureDisplay &rhs);
309 MdiCubeViewport *m_sourceViewport;
324 QPointer<QAction> m_action;
327 QPointer<QCheckBox> m_findNomenclatureCheckBox;
337 QPointer<QComboBox> m_foundFeaturesCombo;
339 QPointer<QPushButton> m_nomenclatureCenterBtn;
341 QPointer<QPushButton> m_nomenclatureOptionsBtn;
343 QPointer<QPushButton> m_disclaimerBtn;
348 QPointer<QProgressBar> m_queryingProgress;
356 QMap< MdiCubeViewport *,
357 FeatureNomenclature *> * m_nomenclatureSearchers;
364 bool m_nomenclatureEnabled;
367 QString m_disclaimerText;
374 bool m_defaultEnabled;
376 bool m_disclaimedAlready;
380 bool m_showApprovedOnly;
@ Degrees
Degrees are generally considered more human readable, 0-360 is one circle, however most math does not...
Definition: Angle.h:56
Cube display widget for certain Isis MDI applications.
Definition: MdiCubeViewport.h:39
Universal Ground Map.
Definition: UniversalGroundMap.h:69
Feature nomenclature database querier.
Definition: FeatureNomenclature.h:51
A named feature on a target.
Definition: FeatureNomenclature.h:117
@ Approved
When this status is assigned to a feature, the displayed status will be "Adopted by the IAU" and the ...
Definition: FeatureNomenclature.h:67
static bool featureDiameterGreaterThan(const FeatureNomenclature::Feature &lhs, const FeatureNomenclature::Feature &rhs)
Compare the diameter of two features.
Definition: FeatureNomenclature.cpp:193
const double Null
Value for an Isis Null pixel.
Definition: SpecialPixel.h:95
This is free and unencumbered software released into the public domain.
Definition: CubeIoHandler.h:22
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
@ None
Definition: PixelType.h:28