|
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef Qisis_MeasureTool_h
2 #define Qisis_MeasureTool_h
21 class MdiCubeViewport;
84 void updateUnitsCombo();
85 void updateDistEdit();
89 QLineEdit *m_distLineEdit;
95 void setDistances(
MdiCubeViewport *cvp, QPoint lineStart, QPoint lineEnd);
96 void updateRow(
int row);
97 void updateRows(
int row);
103 enum TableColumnsMap {
125 enum TableColumnIndex {
165 double m_kmPlanarDist;
184 TableMainWindow *m_tableWin;
185 RubberBandComboBox *m_rubberBand;
186 QCheckBox *m_showAllSegments;
@ 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
Combo box for choosing a rubber band type.
Definition: RubberBandComboBox.h:26
QTableWidget * table() const
Returns the table.
Definition: TableMainWindow.h:70
@ Pixels
The distance is being specified in pixels.
Definition: Distance.h:47
@ SegmentedLine
Segmented Line.
Definition: RubberBandComboBox.h:43
@ Circle
Circle.
Definition: RubberBandComboBox.h:37
QString name() const
Returns the name of the file excluding the path and the attributes in the file name.
Definition: FileName.cpp:162
File name manipulation and expansion.
Definition: FileName.h:100
const double DEG2RAD
Multiplier for converting from degrees to radians.
Definition: Constants.h:43
@ Polygon
Polygon.
Definition: RubberBandComboBox.h:41
@ Line
Line.
Definition: RubberBandComboBox.h:42
@ Rectangle
Rectangle.
Definition: RubberBandComboBox.h:39
@ Angle
Angle.
Definition: RubberBandComboBox.h:44
void addToTable(bool setOn, const QString &heading, const QString &menuText="", int insertAt=-1, Qt::Orientation o=Qt::Horizontal, QString toolTip="")
Adds a new column to the table when a new curve is added to the plot.
Definition: TableMainWindow.cpp:208
void setTrackListItems(bool track=false)
If this property is true, the class will keep track of the checked/unchecked items in the dock area w...
Definition: TableMainWindow.cpp:875
@ Kilometers
The distance is being specified in kilometers.
Definition: Distance.h:45
void clearRow(int row)
This method clears the text of the given row.
Definition: TableMainWindow.cpp:452
@ Meters
The distance is being specified in meters.
Definition: Distance.h:43
QString expanded() const
Returns a QString of the full file name including the file path, excluding the attributes.
Definition: FileName.cpp:196
@ Ellipse
Ellipse.
Definition: RubberBandComboBox.h:38
bool isLinked() const
Is the viewport linked with other viewports.
Definition: MdiCubeViewport.h:50
void setCurrentRow(int row)
Sets the current row to row.
Definition: TableMainWindow.cpp:896
@ RingPlane
These projections are used to map ring planes.
Definition: Projection.h:168
a subclass of the qisis mainwindow, tablemainwindow handles all of the table tasks.
Definition: TableMainWindow.h:57
#define ASSERT(x)
Definition: IsisDebug.h:134
const double Null
Value for an Isis Null pixel.
Definition: SpecialPixel.h:95
void reset()
Resets the selection.
Definition: RubberBandComboBox.cpp:226
void setStatusMessage(QString message)
sets the status message in the lower lefthand corner of the window.
Definition: TableMainWindow.cpp:191
double degrees() const
Get the angle in units of Degrees.
Definition: Angle.h:232
int currentRow() const
Returns the current row.
Definition: TableMainWindow.h:114
@ Triaxial
These projections are used to map triaxial and irregular-shaped bodies.
Definition: Projection.h:166
@ RotatedRectangle
RotatedRectangle.
Definition: RubberBandComboBox.h:40
ProjectionType
This enum defines the subclasses of Projection supported in Isis.
Definition: Projection.h:166
QString path() const
Returns the path of the file name.
Definition: FileName.cpp:103
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
double radians() const
Convert an angle to a double.
Definition: Angle.h:226