File failed to load: https://isis.astrogeology.usgs.gov/6.0.0/Object/assets/jax/output/NativeMML/config.js
Isis 3 Programmer Reference
FeatureNomenclatureTool.h
1 #ifndef FeatureNomenclatureTool_h
2 #define FeatureNomenclatureTool_h
3 
4 #include "Tool.h"
5 
6 #include <QPointer>
7 #include <QProgressDialog>
8 #include "FeatureNomenclature.h"
9 
10 class QCheckBox;
11 class QComboBox;
12 class QDialog;
13 class QLabel;
14 class QLineEdit;
15 class QMenu;
16 class QProgressBar;
17 class QPushButton;
18 class QString;
19 
20 template <typename A, typename B> class QMap;
21 template <typename A, typename B> struct QPair;
22 
23 namespace Isis {
24  class MdiCubeViewport;
25  class UniversalGroundMap;
26 
56  class FeatureNomenclatureTool : public Tool {
57  Q_OBJECT
58 
59  public:
60 
62  enum VectorType {
110  Box
111  };
112 
115 
116  void addTo(QMenu *menu);
117  void paintViewport(MdiCubeViewport *vp, QPainter *painter);
118 
119  bool defaultEnabled() const;
120  QColor fontColor() const;
121  int fontSize() const;
122  bool showApprovedOnly() const;
123  VectorType vectorType() const;
124 
126  void setFontColor(QColor color);
127  void setFontSize(int newFontSize);
128  void setShowApprovedOnly(bool approvedOnly);
129  void setVectorType(VectorType show);
130 
131  QString menuName() const;
132 
133  protected:
134  QWidget *createToolBarWidget(QStackedWidget *parent);
136  void mouseButtonRelease(QPoint p, Qt::MouseButton s);
137  void updateTool();
138 
139  private slots:
141  void configure();
142  void featureSelected();
146  void onToolActivated();
147  void showDisclaimer();
148 
149  private:
150  // This is an inner class defined below.
151  class ViewportFeatureDisplay;
152 
157  void rebuildFeaturesCombo();
161  void toolStateChanged();
162  void viewportDone(MdiCubeViewport *vp);
163  ViewportFeatureDisplay *viewportFeatureDisplay(MdiCubeViewport *vp);
164  const ViewportFeatureDisplay *
166  bool viewportFeaturesFound(MdiCubeViewport *vp) const;
168 
169  void readSettings();
170  void writeSettings();
171 
172  private:
189  public:
190  FeaturePosition();
192  FeaturePosition(const FeaturePosition &other);
194 
195  bool isValid() const;
196 
200  const FeatureNomenclature::Feature &feature() const;
202 
203  void swap(FeaturePosition &other);
205 
206  private:
208  double m_centerLine;
211 
214 
222  };
223 
224 
237  public:
239  FeatureDisplayPosition(QRect textRect, QRect fullDisplayRect,
243 
244  QRect textArea() const;
245  QRect displayArea() const;
246  QList<QPoint> edgePoints() const;
247 
248  void swap(FeatureDisplayPosition &other);
250  private:
251 
252  private:
254  QRect *m_textRect;
259  };
260 
261 
276  public:
284 
290  void paint(QPainter *painter, bool showVectors,
291  VectorType vectorType, bool approvedOnly)const;
292 
293  void handleMouseClicked(FeatureNomenclatureTool *tool, QPoint p,
294  Qt::MouseButton s);
296 
297  void swap(ViewportFeatureDisplay &other);
299  const ViewportFeatureDisplay &rhs);
300 
301  private:
303 
304  private:
320  };
321 
322  private:
324  QPointer<QAction> m_action;
325 
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;
349 
358 
365 
368 
372  QColor *m_fontColor;
381  };
382 }
383 
384 #endif
Isis::FeatureNomenclatureTool::FeatureDisplayPosition::m_edgePoints
QList< QPoint > * m_edgePoints
The viewport screen pixel points which the edges are at.
Definition: FeatureNomenclatureTool.h:258
Isis::FeatureNomenclatureTool::fontColor
QColor fontColor() const
What is the font color to use?
Definition: FeatureNomenclatureTool.cpp:161
Isis::FeatureNomenclatureTool::VectorType
VectorType
Enumeration of extent vector typess.
Definition: FeatureNomenclatureTool.h:62
Isis::FeatureNomenclatureTool::ViewportFeatureDisplay::handleViewChanged
void handleViewChanged(FeatureNomenclatureTool *tool)
The display options or area on the viewport has changed.
Definition: FeatureNomenclatureTool.cpp:1775
Isis::FeatureNomenclatureTool::showFeatureDetails
void showFeatureDetails(FeatureNomenclature::Feature)
Show a dialog with full feature details of a given feature.
Definition: FeatureNomenclatureTool.cpp:814
Isis::FeatureNomenclatureTool::FeaturePosition::m_centerSample
double m_centerSample
The cube sample position of the feature center, Null if !isValid()
Definition: FeatureNomenclatureTool.h:210
Isis::MdiCubeViewport
Cube display widget for certain Isis MDI applications.
Definition: MdiCubeViewport.h:39
QWidget
Isis::FeatureNomenclatureTool::updateTool
void updateTool()
Updates the state of the current tool.
Definition: FeatureNomenclatureTool.cpp:404
QProgressBar
Isis::FeatureNomenclatureTool::ViewportFeatureDisplay::features
QList< FeatureNomenclature::Feature > features()
Get a list of features available on this viewport.
Definition: FeatureNomenclatureTool.cpp:1549
Isis::UniversalGroundMap
Universal Ground Map.
Definition: UniversalGroundMap.h:69
Isis::FeatureNomenclatureTool::removeFeatureDisplay
void removeFeatureDisplay(MdiCubeViewport *vp)
Remove knowledge of features on the given viewport.
Definition: FeatureNomenclatureTool.cpp:801
Isis::FeatureNomenclatureTool::centerOnSelectedFeature
void centerOnSelectedFeature()
Center the relevent viewport (and any viewports linked to it) on the feature selected in the feature ...
Definition: FeatureNomenclatureTool.cpp:413
QList
This is free and unencumbered software released into the public domain.
Definition: BoxcarCachingAlgorithm.h:13
Isis::FeatureNomenclatureTool::Arrows4
@ Arrows4
When using this vector (extent) type, 4 arrows will be drawn out from the text of the feature.
Definition: FeatureNomenclatureTool.h:83
Isis::FeatureNomenclature
Feature nomenclature database querier.
Definition: FeatureNomenclature.h:51
Isis::FeatureNomenclatureTool::m_showApprovedOnly
bool m_showApprovedOnly
Only show IAU approved features.
Definition: FeatureNomenclatureTool.h:380
Isis::FeatureNomenclatureTool::ViewportFeatureDisplay::m_viewportCubeRange
QPair< QPointF, QPointF > * m_viewportCubeRange
A check to make sure the cube viewport is in the correct state for painting.
Definition: FeatureNomenclatureTool.h:319
Isis::FeatureNomenclatureTool::onToolActivated
void onToolActivated()
When this tool is activated (clicked on in the tool bar), turn ourselves on immediately.
Definition: FeatureNomenclatureTool.cpp:524
Isis::Tool
Base class for the Qisis tools.
Definition: Tool.h:67
Isis::FeatureNomenclatureTool::m_disclaimerBtn
QPointer< QPushButton > m_disclaimerBtn
This is the 'Disclaimer' button in this tool's tool bar.
Definition: FeatureNomenclatureTool.h:343
Isis::FeatureNomenclatureTool::menuName
QString menuName() const
This is the name of the menu that should be passed into "addTo()".
Definition: FeatureNomenclatureTool.cpp:291
Isis::FeatureNomenclatureTool::~FeatureNomenclatureTool
~FeatureNomenclatureTool()
Cleans up memory allocated by this tool.
Definition: FeatureNomenclatureTool.cpp:98
QMenu
Isis::FeatureNomenclatureTool::setFontColor
void setFontColor(QColor color)
Set the color to use for drawing on the viewport.
Definition: FeatureNomenclatureTool.cpp:215
Isis::FeatureNomenclatureTool::showApprovedOnly
bool showApprovedOnly() const
Show approved features only?
Definition: FeatureNomenclatureTool.cpp:181
Isis::FeatureNomenclatureTool::ViewportFeatureDisplay::m_features
QList< FeaturePosition > * m_features
The features on the image in m_sourceViewport.
Definition: FeatureNomenclatureTool.h:311
Isis::FeatureNomenclatureTool::FeatureDisplayPosition
A named feature's position in a viewport.
Definition: FeatureNomenclatureTool.h:236
Isis::FeatureNomenclatureTool::findNomenclatureStateChanged
void findNomenclatureStateChanged(int)
The 'Name Features' check box has changed state.
Definition: FeatureNomenclatureTool.cpp:487
Isis::FeatureNomenclatureTool::FeatureDisplayPosition::swap
void swap(FeatureDisplayPosition &other)
Swap member data with another instance of this class.
Definition: FeatureNomenclatureTool.cpp:1389
Isis::FeatureNomenclatureTool::defaultEnabled
bool defaultEnabled() const
Is this tool enabled by default? (i.e.
Definition: FeatureNomenclatureTool.cpp:151
Isis::FeatureNomenclatureTool::ViewportFeatureDisplay::operator=
ViewportFeatureDisplay & operator=(const ViewportFeatureDisplay &rhs)
Copy the data of rhs into *this.
Definition: FeatureNomenclatureTool.cpp:1888
Isis::FeatureNomenclatureTool::FeatureNomenclatureTool
FeatureNomenclatureTool(QWidget *parent)
This instantiates a FeatureNomenclatureTool.
Definition: FeatureNomenclatureTool.cpp:46
Isis::FeatureNomenclatureTool::FeatureDisplayPosition::~FeatureDisplayPosition
~FeatureDisplayPosition()
Free the allocated memory.
Definition: FeatureNomenclatureTool.cpp:1337
Isis::FeatureNomenclatureTool::None
@ None
When using this vector (extent) type, no extents will be drawn.
Definition: FeatureNomenclatureTool.h:66
Isis::FeatureNomenclatureTool::m_foundNomenclature
QList< ViewportFeatureDisplay > * m_foundNomenclature
The nomenclature that has been identified, one for each viewport.
Definition: FeatureNomenclatureTool.h:351
Isis::FeatureNomenclatureTool::FeatureDisplayPosition::m_fullDisplayRect
QRect * m_fullDisplayRect
The viewport screen pixel rect which the entire display will use.
Definition: FeatureNomenclatureTool.h:256
Isis::FeatureNomenclatureTool::addTo
void addTo(QMenu *menu)
Add the 'Show Nomenclature' option to the options menu.
Definition: FeatureNomenclatureTool.cpp:116
Isis::FeatureNomenclatureTool::setDefaultEnabled
void setDefaultEnabled(bool defaultEnabled)
Set whether this tool is enabled by default.
Definition: FeatureNomenclatureTool.cpp:201
Isis::FeatureNomenclature::Feature
A named feature on a target.
Definition: FeatureNomenclature.h:117
Isis::FeatureNomenclatureTool::Arrows8
@ Arrows8
When using this vector (extent) type, 8 arrows will be drawn out from the text of the feature.
Definition: FeatureNomenclatureTool.h:101
QComboBox
Isis::FeatureNomenclatureTool::setFontSize
void setFontSize(int newFontSize)
Set the font point size to use for drawing text on the viewport.
Definition: FeatureNomenclatureTool.cpp:232
Isis::FeatureNomenclatureTool::showFeatureWebsite
void showFeatureWebsite(FeatureNomenclature::Feature)
Show a web view pointed to the feature's web page.
Definition: FeatureNomenclatureTool.cpp:847
Isis::FeatureNomenclatureTool::m_fontColor
QColor * m_fontColor
The color to use when drawing on the viewport.
Definition: FeatureNomenclatureTool.h:372
Isis::FeatureNomenclatureTool::FeaturePosition::center
QPair< double, double > center() const
Get the center sample/line position of the feature.
Definition: FeatureNomenclatureTool.cpp:1122
Isis::FeatureNomenclatureTool::FeaturePosition::m_centerLine
double m_centerLine
The cube line position of the feature center, Null if !isValid()
Definition: FeatureNomenclatureTool.h:208
Isis::FeatureNomenclatureTool::FeatureDisplayPosition::FeatureDisplayPosition
FeatureDisplayPosition()
Instantiate a blank feature display position.
Definition: FeatureNomenclatureTool.cpp:1285
Isis::FeatureNomenclatureTool::FeatureDisplayPosition::edgePoints
QList< QPoint > edgePoints() const
Get the edge screen pixel points in viewport screen coordinates that circle the feature.
Definition: FeatureNomenclatureTool.cpp:1377
Isis::FeatureNomenclatureTool::FeatureDisplayPosition::operator=
FeatureDisplayPosition & operator=(const FeatureDisplayPosition &rhs)
Assign the state of rhs to this.This is exception-safe.
Definition: FeatureNomenclatureTool.cpp:1405
Isis::FeatureNomenclatureTool::setShowApprovedOnly
void setShowApprovedOnly(bool approvedOnly)
Set whether to show approved features and exclude unapproved features.
Definition: FeatureNomenclatureTool.cpp:250
Isis::FeatureNomenclatureTool::ViewportFeatureDisplay::paint
void paint(QPainter *painter, bool showVectors, VectorType vectorType, bool approvedOnly) const
Paint features onto the viewport.
Definition: FeatureNomenclatureTool.cpp:1594
Isis::FeatureNomenclatureTool::ViewportFeatureDisplay::featurePositions
QList< FeaturePosition > featurePositions()
Get the list of feature positions for a given display.
Definition: FeatureNomenclatureTool.cpp:1565
Isis::FeatureNomenclatureTool::FeaturePosition
A named feature's position in a cube.
Definition: FeatureNomenclatureTool.h:188
Isis::FeatureNomenclatureTool::FeaturePosition::applyExtentType
void applyExtentType(VectorType vectorType)
Applies the type of extents to the feature.
Definition: FeatureNomenclatureTool.cpp:1158
Isis::FeatureNomenclatureTool::FeaturePosition::m_gmap
UniversalGroundMap * m_gmap
The map used to determine the sample, line pair from a lat, lon pair.
Definition: FeatureNomenclatureTool.h:213
Isis::FeatureNomenclatureTool::featuresForViewportFound
void featuresForViewportFound(MdiCubeViewport *vp)
Move the features from a searching state to a found state for the given viewport.
Definition: FeatureNomenclatureTool.cpp:569
Isis::FeatureNomenclatureTool::viewportFeaturesFound
bool viewportFeaturesFound(MdiCubeViewport *vp) const
Test if features have already been found for a given viewport.
Definition: FeatureNomenclatureTool.cpp:960
Isis::FeatureNomenclatureTool::toolStateChanged
void toolStateChanged()
This should be called any time this tool's enabled or searching state could have changed.
Definition: FeatureNomenclatureTool.cpp:858
Isis::FeatureNomenclatureTool::Box
@ Box
When using this vector (extent) type, 4 arrows will be drawn out from the text of the feature.
Definition: FeatureNomenclatureTool.h:110
Isis::FeatureNomenclatureTool::ViewportFeatureDisplay::m_sourceViewport
MdiCubeViewport * m_sourceViewport
The viewport this display is working with; we paint onto this viewport and react to events on this vi...
Definition: FeatureNomenclatureTool.h:309
Isis::FeatureNomenclatureTool::writeSettings
void writeSettings()
Write out this tool's preserved state between runs.
Definition: FeatureNomenclatureTool.cpp:1012
Isis::FeatureNomenclatureTool::m_nomenclatureOptionsBtn
QPointer< QPushButton > m_nomenclatureOptionsBtn
This is the 'Tool Options' button in this tool's tool bar.
Definition: FeatureNomenclatureTool.h:341
Isis::FeatureNomenclatureTool::FeatureDisplayPosition::m_textRect
QRect * m_textRect
The viewport screen pixel rect which the text will consume.
Definition: FeatureNomenclatureTool.h:254
Isis::FeatureNomenclatureTool::FeaturePosition::m_feature
FeatureNomenclature::Feature m_feature
The feature for which we're encapsulating a viewport position.
Definition: FeatureNomenclatureTool.h:221
Isis::FeatureNomenclatureTool::m_nomenclatureSearchers
QMap< MdiCubeViewport *, FeatureNomenclature * > * m_nomenclatureSearchers
The nomenclature being queried currently, one for each viewport that has no found nomenclature.
Definition: FeatureNomenclatureTool.h:357
Isis::FeatureNomenclatureTool::FeaturePosition::~FeaturePosition
~FeaturePosition()
Cleans up allocated memory.
Definition: FeatureNomenclatureTool.cpp:1097
Isis::FeatureNomenclatureTool::m_nomenclatureEnabled
bool m_nomenclatureEnabled
Do we find and display nomenclature? This corresponds to the 'Name Features' check box and the 'Show ...
Definition: FeatureNomenclatureTool.h:364
Isis::FeatureNomenclatureTool::FeaturePosition::feature
FeatureNomenclature::Feature & feature()
Get the feature associated with this feature position.
Definition: FeatureNomenclatureTool.cpp:1145
Isis::FeatureNomenclatureTool::m_extentType
VectorType m_extentType
How we need to draw extents (if at all)
Definition: FeatureNomenclatureTool.h:378
Isis::FeatureNomenclatureTool
Display nomenclature on MDI Cube Viewports.
Definition: FeatureNomenclatureTool.h:56
Isis::FeatureNomenclatureTool::ViewportFeatureDisplay::~ViewportFeatureDisplay
~ViewportFeatureDisplay()
Cleans up memory allocated by this feature display.
Definition: FeatureNomenclatureTool.cpp:1485
Isis::FeatureNomenclatureTool::FeatureDisplayPosition::displayArea
QRect displayArea() const
Get the screen pixel rect in viewport screen coordinates that encapsulates the entire feature.
Definition: FeatureNomenclatureTool.cpp:1366
Isis::FeatureNomenclatureTool::fontSize
int fontSize() const
Retrieve the font size of the features in this tool.
Definition: FeatureNomenclatureTool.cpp:171
Isis::FeatureNomenclatureTool::m_nomenclatureCenterBtn
QPointer< QPushButton > m_nomenclatureCenterBtn
This is the 'Center' button in this tool's tool bar.
Definition: FeatureNomenclatureTool.h:339
Isis::FeatureNomenclatureTool::readSettings
void readSettings()
Read this tool's preserved state.
Definition: FeatureNomenclatureTool.cpp:990
Isis::FeatureNomenclatureTool::FeaturePosition::FeaturePosition
FeaturePosition()
Instiantiates a feature position with no data.
Definition: FeatureNomenclatureTool.cpp:1028
Isis::FeatureNomenclatureTool::ViewportFeatureDisplay::swap
void swap(ViewportFeatureDisplay &other)
Swap *this and other's member data in an exception-free way.
Definition: FeatureNomenclatureTool.cpp:1871
Isis::FeatureNomenclatureTool::nomenclaturePositionsOutdated
void nomenclaturePositionsOutdated()
Update the screen coordinates of the named features because the viewport has changed it's mappings.
Definition: FeatureNomenclatureTool.cpp:510
Isis::FeatureNomenclatureTool::m_findNomenclatureCheckBox
QPointer< QCheckBox > m_findNomenclatureCheckBox
This is the 'Name Features' check box when this tool is active.
Definition: FeatureNomenclatureTool.h:327
Isis::FeatureNomenclatureTool::featuresIdentified
void featuresIdentified(FeatureNomenclature *)
A feature nomenclature has finished querying...
Definition: FeatureNomenclatureTool.cpp:463
Isis::FeatureNomenclatureTool::FeaturePosition::isValid
bool isValid() const
Test if sample/line coordinates could be found for this feature.
Definition: FeatureNomenclatureTool.cpp:1112
Isis::FeatureNomenclatureTool::FeaturePosition::m_featureEdgeLineSamples
QList< QPair< double, double > > * m_featureEdgeLineSamples
The pair is cube sample, line (first and second) respectively.
Definition: FeatureNomenclatureTool.h:219
Isis::FeatureNomenclatureTool::FeaturePosition::swap
void swap(FeaturePosition &other)
Trade member data with other.
Definition: FeatureNomenclatureTool.cpp:1245
Isis::FeatureNomenclatureTool::vectorType
VectorType vectorType() const
Draw vectors to the extents of features?
Definition: FeatureNomenclatureTool.cpp:191
Isis::FeatureNomenclatureTool::ViewportFeatureDisplay::centerFeature
void centerFeature(FeatureNomenclature::Feature)
Center the viewport on this feature.
Definition: FeatureNomenclatureTool.cpp:1517
Isis::FeatureNomenclatureTool::createToolBarWidget
QWidget * createToolBarWidget(QStackedWidget *parent)
Creates the widget that goes on the tool bar when this tool is active.
Definition: FeatureNomenclatureTool.cpp:303
Isis::ToolPad
Definition: ToolPad.h:14
Isis::FeatureNomenclatureTool::viewportFeatureDisplay
ViewportFeatureDisplay * viewportFeatureDisplay(MdiCubeViewport *vp)
Map from viewport to feature display.
Definition: FeatureNomenclatureTool.cpp:923
Isis::FeatureNomenclatureTool::paintViewport
void paintViewport(MdiCubeViewport *vp, QPainter *painter)
Paint features on the given viewport.
Definition: FeatureNomenclatureTool.cpp:132
Isis::FeatureNomenclatureTool::FeaturePosition::edges
QList< QPair< double, double > > edges() const
Get the edge sample/line positions of the feature.
Definition: FeatureNomenclatureTool.cpp:1134
Isis::FeatureNomenclatureTool::showDisclaimer
void showDisclaimer()
Show the user our nomenclature disclaimer and make note that we have shown the disclaimer.
Definition: FeatureNomenclatureTool.cpp:534
Isis::FeatureNomenclatureTool::ViewportFeatureDisplay
The feature display on a single viewport.
Definition: FeatureNomenclatureTool.h:275
Isis::FeatureNomenclatureTool::FeatureDisplayPosition::textArea
QRect textArea() const
Get the screen pixel rect in viewport screen coordinates that ought to be filled with the textual nam...
Definition: FeatureNomenclatureTool.cpp:1355
QPair
This is free and unencumbered software released into the public domain.
Definition: CubeIoHandler.h:23
Isis::FeatureNomenclatureTool::mouseButtonRelease
void mouseButtonRelease(QPoint p, Qt::MouseButton s)
This handles a mouse release on one of the cube viewports when this tool is active.
Definition: FeatureNomenclatureTool.cpp:391
Isis::FeatureNomenclatureTool::ViewportFeatureDisplay::viewportCubeRange
QPair< QPointF, QPointF > viewportCubeRange() const
Get the min/max cube line/sample positions of the viewport.
Definition: FeatureNomenclatureTool.cpp:1904
Isis::FeatureNomenclatureTool::m_disclaimerText
QString m_disclaimerText
The (HTML) contents of the disclaimer to show the user.
Definition: FeatureNomenclatureTool.h:367
Isis::FeatureNomenclatureTool::configure
void configure()
Give a configuration dialog for the options available in this tool.
Definition: FeatureNomenclatureTool.cpp:432
Isis::FeatureNomenclatureTool::m_action
QPointer< QAction > m_action
This is the 'Show Nomenclature' toggleable action in the options menu.
Definition: FeatureNomenclatureTool.h:324
Isis::FeatureNomenclatureTool::m_defaultEnabled
bool m_defaultEnabled
Do we turn ourselves on immediately?
Definition: FeatureNomenclatureTool.h:374
Isis::FeatureNomenclatureTool::m_foundFeaturesCombo
QPointer< QComboBox > m_foundFeaturesCombo
This combo box lists all of the found features and their viewports.
Definition: FeatureNomenclatureTool.h:337
Isis::FeatureNomenclatureTool::rebuildFeaturesCombo
void rebuildFeaturesCombo()
Rebuild m_foundFeaturesCombo's data from scratch.
Definition: FeatureNomenclatureTool.cpp:783
Isis::FeatureNomenclatureTool::FeaturePosition::operator=
FeaturePosition & operator=(const FeaturePosition &rhs)
Assign rhs to this.
Definition: FeatureNomenclatureTool.cpp:1263
QMap
This is free and unencumbered software released into the public domain.
Definition: CubeIoHandler.h:22
Isis::FeatureNomenclatureTool::toolPadAction
QAction * toolPadAction(ToolPad *pad)
Add this tool's action to the toolpad.
Definition: FeatureNomenclatureTool.cpp:364
Isis::FeatureNomenclatureTool::m_disclaimedAlready
bool m_disclaimedAlready
Have we ever shown the user our disclaimer?
Definition: FeatureNomenclatureTool.h:376
Isis::FeatureNomenclatureTool::findMissingNomenclature
void findMissingNomenclature()
Update this tool's nomenclature data based on this tool's enabled state and the current viewport list...
Definition: FeatureNomenclatureTool.cpp:695
Isis::FeatureNomenclatureTool::ViewportFeatureDisplay::handleMouseClicked
void handleMouseClicked(FeatureNomenclatureTool *tool, QPoint p, Qt::MouseButton s)
Handle a mouse click event on the viewport.
Definition: FeatureNomenclatureTool.cpp:1721
Isis::FeatureNomenclatureTool::m_fontSize
int m_fontSize
The font size to use when naming features.
Definition: FeatureNomenclatureTool.h:370
Isis::FeatureNomenclatureTool::ViewportFeatureDisplay::applyExtentType
void applyExtentType(VectorType vectorType)
Apply the extent type to all of the features for the source viewport.
Definition: FeatureNomenclatureTool.cpp:1504
Isis::FeatureNomenclatureTool::ViewportFeatureDisplay::ViewportFeatureDisplay
ViewportFeatureDisplay()
Create a blank feature display.
Definition: FeatureNomenclatureTool.cpp:1416
QDialog
Isis::FeatureNomenclatureTool::ViewportFeatureDisplay::sourceViewport
MdiCubeViewport * sourceViewport() const
Get the viewport associated with this feature display.
Definition: FeatureNomenclatureTool.cpp:1581
Isis::FeatureNomenclatureTool::centerOnFeature
void centerOnFeature(MdiCubeViewport *vp, FeatureNomenclature::Feature)
Center the given and any linked viewports (which contain the same feature) on the given feature.
Definition: FeatureNomenclatureTool.cpp:550
Isis::FeatureNomenclatureTool::ViewportFeatureDisplay::m_featureScreenAreas
QList< FeatureDisplayPosition > * m_featureScreenAreas
The visible features on the image in m_sourceViewport.
Definition: FeatureNomenclatureTool.h:313
QAction
Isis::FeatureNomenclatureTool::featureSelected
void featureSelected()
This handles a feature being selected in the feature list combo box.
Definition: FeatureNomenclatureTool.cpp:447
Isis::FeatureNomenclatureTool::viewportDone
void viewportDone(MdiCubeViewport *vp)
Finalize the search results for the given viewport.
Definition: FeatureNomenclatureTool.cpp:892
Isis::FeatureNomenclatureTool::m_queryingProgress
QPointer< QProgressBar > m_queryingProgress
This is a busy indicator that is visible when queries are out to the nomenclature database.
Definition: FeatureNomenclatureTool.h:348
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::FeatureNomenclatureTool::setVectorType
void setVectorType(VectorType show)
Set whether to draw vectors from the feature center to the feature extents on the viewport.
Definition: FeatureNomenclatureTool.cpp:269
Isis::FeatureNomenclatureTool::viewportsWithFoundNomenclature
QList< MdiCubeViewport * > viewportsWithFoundNomenclature()
Get a list of viewports with found nomenclature.
Definition: FeatureNomenclatureTool.cpp:973

U.S. Department of the Interior | U.S. Geological Survey
ISIS | Privacy & Disclaimers | Astrogeology Research Program
To contact us, please post comments and questions on the USGS Astrogeology Discussion Board
To report a bug, or suggest a feature go to: ISIS Github
File Modified: 07/13/2023 15:16:26