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;
Cube display widget for certain Isis MDI applications.
Definition: MdiCubeViewport.h:53
Universal Ground Map.
Definition: UniversalGroundMap.h:85
Feature nomenclature database querier.
Definition: FeatureNomenclature.h:51
Definition: BoxcarCachingAlgorithm.h:29
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
Definition: CubeIoHandler.h:39
Definition: CubeIoHandler.h:38
A named feature on a target.
Definition: FeatureNomenclature.h:117