USGS

Isis 3.0 Object Programmers' Reference

Home

Isis::MeasureTool Class Reference

Tool for measuring distances. More...

#include <MeasureTool.h>

Inheritance diagram for Isis::MeasureTool:
Inheritance graph
Collaboration diagram for Isis::MeasureTool:
Collaboration graph

Public Slots

void activate (bool)
 Activates the tool.
 
void setCubeViewport (MdiCubeViewport *cvp)
 Sets the current viewport to the given cvp.
 

Signals

void clearWarningSignal ()
 
void toolActivated ()
 
void viewportChanged ()
 

Public Member Functions

 MeasureTool (QWidget *parent)
 MeasureTool constructor.
 
void addTo (QMenu *menu)
 Adds the measure action to the given menu.
 
QString menuName () const
 Returns the menu name.
 
void addTo (ViewportMainWindow *mw)
 Adds the tool to the application.
 
void addTo (ToolPad *toolpad)
 Adds the tool to the toolpad.
 
virtual void addTo (Workspace *ws)
 Adds the given workspace to the cubeviewport list.
 
virtual void addToPermanent (QToolBar *toolbar)
 
void addToActive (QToolBar *toolbar)
 
QString toolIconDir () const
 returns the path to the icon directory.
 
virtual void paintViewport (MdiCubeViewport *vp, QPainter *painter)
 
RubberBandToolrubberBandTool ()
 
void setList (ToolList *currentList)
 

Protected Types

typedef QVector
< MdiCubeViewport * > 
CubeViewportList
 A list of cubeviewports.
 

Protected Slots

virtual void rubberBandComplete ()
 Called when the rubberBanding by the user is finished.
 
virtual void updateMeasure ()
 Updates the Measure specifications.
 
virtual void mouseLeave ()
 Mouse leave event.
 
virtual void screenPixelsChanged ()
 This is called when actions change which pixels from the cube are displayed.
 
virtual void mouseEnter ()
 
virtual void mouseMove (QPoint p)
 
virtual void mouseMove (QPoint p, Qt::MouseButton)
 
virtual void mouseDoubleClick (QPoint p)
 
virtual void mouseButtonPress (QPoint p, Qt::MouseButton s)
 
virtual void mouseButtonRelease (QPoint p, Qt::MouseButton s)
 Resets the Warning to Nowarning when a different activity occurs on the application.
 
virtual void scaleChanged ()
 
virtual void stretchRequested (MdiCubeViewport *, int)
 
void registerTool (MdiCubeViewport *viewport)
 Registers the tool to the viewport.
 

Protected Member Functions

QWidgetcreateToolBarWidget (QStackedWidget *parent)
 Creates the widget (button) that goes on the tool bar.
 
QActiontoolPadAction (ToolPad *pad)
 Add the measure tool action to the toolpad.
 
void updateTool ()
 Updates the measure tool.
 
void removeConnections (MdiCubeViewport *cvp)
 Removes the connection on the given cube viewport.
 
void enableRubberBandTool ()
 Enables/resets the rubberband tool.
 
MdiCubeViewportcubeViewport () const
 Return the current cubeviewport.
 
CubeViewportListcubeViewportList () const
 Return the list of cubeviewports.
 
virtual void addConnections (MdiCubeViewport *cvp)
 Anytime a tool is created, you must add the connections for it.
 
Workspaceworkspace ()
 

Private Types

enum  TableColumnsMap {
  FeatureName, FeatureType, LatitudeLongitude, SampleLine,
  DistanceKm, DistanceM, DistancePix, AngleDeg,
  AngleRad, AreaKm, AreaM, AreaPix,
  Segments, Path, FileName, Notes
}
 Enum for all possible table columns. More...
 
enum  TableColumnIndex {
  StartLatIndex = 2, StartLonIndex, EndLatIndex, EndLonIndex,
  StartSampIndex, StartLineIndex, EndSampIndex, EndLineIndex,
  DistanceKmIndex, DistanceMIndex, DistancePixIndex, AngleDegIndex,
  AngleRadIndex, AreaKmIndex, AreaMIndex, AreaPixIndex,
  SegmentsSumIndex, SegmentNumberIndex, PathIndex, FileNameIndex
}
 Enum for storing all the indexes. More...
 

Private Slots

void updateUnitsCombo ()
 Updates the units combo box.
 
void updateDistEdit ()
 Change the value in the distance edit to match the units.
 

Private Member Functions

void addRow ()
 
void updateDist (MdiCubeViewport *cvp, int row)
 This method updates the distance variables.
 
void setDistances (MdiCubeViewport *cvp, QPoint lineStart, QPoint lineEnd)
 
void updateRow (int row)
 This method updates the row in the table window with the current measure information.
 
void updateRows (int row)
 This method is called instead of updateRows if the 'Show All Segment' checkbox is checked.
 
void initData (void)
 Initialize Class data.
 

Private Attributes

QActionm_action
 Measure tool's action.
 
QLineEdit * m_distLineEdit
 Distance line edit.
 
QComboBoxm_unitsComboBox
 Units selection.
 
int miComboUnit
 
double m_startSamp
 starting sample
 
double m_endSamp
 ending sample
 
double m_startLine
 starting line
 
double m_endLine
 ending line
 
double m_startLat
 starting latitude
 
double m_endLat
 ending latitude
 
double m_startLon
 starting longitude
 
double m_endLon
 ending longitude
 
double m_kmDist
 distance in kilometers
 
double m_mDist
 distance in meters
 
double m_pixDist
 distance in pixels
 
double m_radAngle
 angle in radians
 
double m_degAngle
 angle in degrees
 
double m_kmArea
 area in kilometers
 
double m_mArea
 area in meters
 
double m_pixArea
 area in pixels
 
QList< double > m_distanceSegments
 
QList< double > m_pixDistSegments
 
QList< double > m_startSampSegments
 
QList< double > m_endSampSegments
 
QList< double > m_startLineSegments
 
QList< double > m_endLineSegments
 
QList< double > m_startLatSegments
 
QList< double > m_endLatSegments
 
QList< double > m_startLonSegments
 
QList< double > m_endLonSegments
 
int m_numLinked
 number of linked viewports
 
QString m_path
 filename path
 
QString m_fname
 filename
 
TableMainWindowm_tableWin
 table window
 
RubberBandComboBoxm_rubberBand
 rubberband combo box
 
QCheckBox * m_showAllSegments
 

Detailed Description

Tool for measuring distances.

Author
????-??-?? Unknown
History:

2007-11-19 Stacy Alley added the capability of the qisis windows to remember size and location

2007-11-29 Stacy Alley replaced all the table stuff with the new TableMainWindow class.

2008-08-18 Christopher Austin Upgraded to geos3.0.0

2008-09-26 Steven Lambright Added Segmented line

2009-02-12 Steven Lambright Fixed bug where measure tool would not measure pixels for non-camera, non-projection cubes.

2010-02-17 Sharmila Prasad Fixed bug where the distance was calculated twice for a cube with both camera and projection. Also made changes to save the most recent selection (km,m,pixels) when different tool is selected

2010-06-26 Eric Hyer - Now uses MdiCubeViewport instead of CubeViewport. Fixed some include issues (some still remain!)

2011-09-20 Steven Lambright - Added some abstraction, fixed problems with segmented line and rectangle. Fixes #218.

2011-11-01 Steven Lambright - Fixed possible seg fault. References #205.

2012-11-30 Debbie A. Cook - Changed to use TProjection instead of Projection. References #775.

2014-02-07 Tracie Sucharski - Latitude and Longitude were swapped in the endpoints. Fixes #2032.

Definition at line 57 of file MeasureTool.h.

Member Typedef Documentation

typedef QVector< MdiCubeViewport * > Isis::Tool::CubeViewportList
protectedinherited

A list of cubeviewports.

Definition at line 219 of file Tool.h.

Member Enumeration Documentation

Enum for storing all the indexes.

Enumerator
StartLatIndex 

Starting latitude index.

StartLonIndex 

Starting longitude index.

EndLatIndex 

Ending latitude index.

EndLonIndex 

Ending longitude index.

StartSampIndex 

Starting sample index.

StartLineIndex 

Starting line index.

EndSampIndex 

Ending sample index.

EndLineIndex 

Ending line index.

DistanceKmIndex 

Distance in kilometers index.

DistanceMIndex 

Distance in meters index.

DistancePixIndex 

Distance in pixels index.

AngleDegIndex 

Angle in degrees index.

AngleRadIndex 

Angle in radians index.

AreaKmIndex 

Area in kilometers index.

AreaMIndex 

Area in meters index.

AreaPixIndex 

Area in pixels index.

SegmentsSumIndex 

Segment lengths in kilometers.

SegmentNumberIndex 

Segment number.

PathIndex 

FileName path index.

FileNameIndex 

FileName index.

Definition at line 124 of file MeasureTool.h.

Enum for all possible table columns.

Enumerator
FeatureName 

Feature name.

FeatureType 

Feature type.

LatitudeLongitude 

Latitude Longitude.

SampleLine 

Sample Line.

DistanceKm 

Distance in kilometers.

DistanceM 

Distance in meters.

DistancePix 

Distance in pixels.

AngleDeg 

Angle in degrees.

AngleRad 

Angle in radians.

AreaKm 

Area in kilometers.

AreaM 

Area in meters.

AreaPix 

Area in pixels.

Segments 

Segment lengths in kilometers.

Path 

FileName path.

FileName 

FileName.

Notes 

User input.

Definition at line 102 of file MeasureTool.h.

Constructor & Destructor Documentation

Isis::MeasureTool::MeasureTool ( QWidget parent)

Member Function Documentation

virtual void Isis::Tool::addConnections ( MdiCubeViewport cvp)
inlineprotectedvirtualinherited

Anytime a tool is created, you must add the connections for it.

Parameters
cvp

Reimplemented in Isis::TrackTool, and Isis::WindowTool.

Definition at line 253 of file Tool.h.

Referenced by Isis::Tool::addViewportConnections().

void Isis::MeasureTool::addTo ( QMenu *  menu)
virtual

Adds the measure action to the given menu.

Parameters
menu

Reimplemented from Isis::Tool.

Definition at line 224 of file MeasureTool.cpp.

References m_action.

void Isis::Tool::addTo ( ToolPad toolpad)
inherited

Adds the tool to the toolpad.

Parameters
toolpad

Definition at line 97 of file Tool.cpp.

References Isis::Tool::activate(), Isis::ToolPad::addAction(), Isis::Tool::m_toolPadAction, and Isis::Tool::toolPadAction().

void Isis::Tool::addTo ( Workspace ws)
virtualinherited

Adds the given workspace to the cubeviewport list.

Parameters
ws

Reimplemented in Isis::EditTool, Isis::FileTool, Isis::SpecialPixelTool, and Isis::WindowTool.

Definition at line 44 of file Tool.cpp.

References Isis::Tool::registerTool(), and Isis::Tool::setCubeViewport().

void Isis::Tool::addToActive ( QToolBar toolbar)
inherited
virtual void Isis::Tool::addToPermanent ( QToolBar toolbar)
inlinevirtualinherited
QWidget * Isis::MeasureTool::createToolBarWidget ( QStackedWidget *  parent)
protectedvirtual
MdiCubeViewport* Isis::Tool::cubeViewport ( ) const
inlineprotectedinherited

Return the current cubeviewport.

Returns
CubeViewport*

Definition at line 211 of file Tool.h.

References Isis::Tool::m_cvp.

Referenced by Isis::WindowTool::addConnections(), Isis::TrackTool::addConnections(), Isis::StretchTool::advancedStretchChanged(), Isis::FindTool::centerLinkedViewports(), Isis::StretchTool::changeStretch(), Isis::BandTool::changeView(), Isis::BandTool::copyLinkedViewports(), Isis::FileTool::discard(), Isis::Tool::enableToolBar(), Isis::FileTool::exportView(), Isis::StatisticsTool::getStatistics(), Isis::FindTool::handleRecordClicked(), Isis::EditTool::LineToPoints(), Isis::TrackTool::locateCursor(), Isis::SunShadowTool::mouseButtonPress(), Isis::RubberBandTool::mouseButtonRelease(), Isis::EditTool::mouseButtonRelease(), Isis::FeatureNomenclatureTool::mouseButtonRelease(), Isis::FindTool::mouseButtonRelease(), Isis::StretchTool::mouseButtonRelease(), Isis::MatchTool::mouseButtonRelease(), Isis::QnetTool::mouseButtonRelease(), Isis::AdvancedTrackTool::mouseLeave(), Isis::ScatterPlotTool::mouseMove(), Isis::SunShadowTool::mouseMove(), Isis::TrackTool::mouseMove(), Isis::RubberBandTool::mouseMove(), Isis::SunShadowTool::paintViewport(), Isis::RubberBandTool::paintViewport(), Isis::FindTool::paintViewport(), Isis::FileTool::print(), Isis::SunShadowTool::recalculateShadowHeight(), Isis::EditTool::redoEdit(), Isis::FindTool::refresh(), Isis::HistogramTool::refreshPlot(), Isis::SpatialPlotTool::refreshPlot(), Isis::SpectralPlotTool::refreshPlot(), Isis::WindowTool::removeConnections(), Isis::TrackTool::removeConnections(), Isis::RubberBandTool::repaint(), Isis::WindowTool::resizeWindows(), Isis::HistogramTool::rubberBandComplete(), rubberBandComplete(), Isis::ZoomTool::rubberBandComplete(), Isis::EditTool::rubberBandComplete(), Isis::StretchTool::rubberBandComplete(), Isis::FileTool::save(), Isis::FileTool::saveAs(), Isis::FileTool::saveAsCubeByOption(), Isis::FileTool::saveAsReducedCube(), Isis::FileTool::saveInfo(), Isis::BandTool::setBandBin(), Isis::BandTool::setList(), Isis::StretchTool::setStretchAcrossBands(), Isis::StretchTool::setStretchAllViewports(), Isis::StretchTool::showAdvancedDialog(), Isis::ScatterPlotTool::showNewScatterPlotConfig(), Isis::StretchTool::stretchChanged(), Isis::StretchTool::stretchGlobal(), Isis::StretchTool::stretchGlobalAllBands(), Isis::StretchTool::stretchRegional(), Isis::EditTool::undoEdit(), Isis::StretchTool::updateAdvStretchDialogforAll(), Isis::StretchTool::updateHistograms(), Isis::TrackTool::updateLabels(), updateMeasure(), Isis::AdvancedTrackTool::updateRow(), Isis::WindowTool::updateTool(), Isis::BlinkTool::updateTool(), Isis::SpecialPixelTool::updateTool(), Isis::SunShadowTool::updateTool(), Isis::BandTool::updateTool(), Isis::AbstractPlotTool::updateTool(), Isis::ZoomTool::updateTool(), Isis::FileTool::updateTool(), Isis::EditTool::updateTool(), Isis::FindTool::updateTool(), Isis::StretchTool::updateTool(), Isis::AbstractPlotTool::viewportsToPlot(), Isis::EditTool::writeToCube(), Isis::ZoomTool::zoomBy(), Isis::ZoomTool::zoomFit(), Isis::ZoomTool::zoomFitHeight(), Isis::ZoomTool::zoomFitWidth(), and Isis::ZoomTool::zoomManual().

Tool::CubeViewportList * Isis::Tool::cubeViewportList ( ) const
protectedinherited

Return the list of cubeviewports.

Returns
CubeViewportList*

Definition at line 389 of file Tool.cpp.

References Isis::Workspace::cubeViewportList().

Referenced by Isis::BlinkTool::advance(), Isis::SpecialPixelTool::apply(), Isis::FindTool::centerLinkedViewports(), Isis::WindowTool::changeCursor(), Isis::FileTool::closeAll(), Isis::BandTool::copyAllViewports(), Isis::BandTool::copyLinkedViewports(), Isis::MatchTool::createPoint(), Isis::BlinkTool::eventFilter(), Isis::FeatureNomenclatureTool::featuresIdentified(), Isis::FeatureNomenclatureTool::findMissingNomenclature(), Isis::FeatureNomenclatureTool::findNomenclatureStateChanged(), Isis::FindTool::handleLinkClicked(), Isis::WindowTool::linkWindows(), Isis::RubberBandTool::mouseButtonRelease(), Isis::RubberBandTool::mouseMove(), Isis::QnetTool::openGround(), Isis::StereoTool::paintAllViewports(), Isis::MatchTool::paintAllViewports(), Isis::QnetTool::paintAllViewports(), Isis::FindTool::refresh(), Isis::ScatterPlotTool::repaintViewports(), Isis::AbstractPlotTool::repaintViewports(), Isis::WindowTool::resizeWindows(), Isis::BlinkTool::reverse(), Isis::ZoomTool::rubberBandComplete(), Isis::MatchTool::serialNumberList(), Isis::FeatureNomenclatureTool::setFontColor(), Isis::FeatureNomenclatureTool::setFontSize(), Isis::FeatureNomenclatureTool::setShowApprovedOnly(), Isis::StretchTool::setStretchAllViewports(), Isis::FeatureNomenclatureTool::setVectorType(), Isis::StretchTool::stretchGlobalAllViewports(), Isis::BlinkTool::toggleLink(), Isis::WindowTool::unlinkWindows(), updateMeasure(), Isis::AdvancedTrackTool::updateRow(), Isis::WindowTool::updateTool(), Isis::BlinkTool::updateTool(), Isis::FindTool::updateTool(), Isis::AbstractPlotTool::viewportsToPlot(), Isis::ZoomTool::zoomBy(), Isis::ZoomTool::zoomFit(), Isis::ZoomTool::zoomFitHeight(), Isis::ZoomTool::zoomFitWidth(), and Isis::ZoomTool::zoomManual().

void Isis::MeasureTool::enableRubberBandTool ( )
protectedvirtual

Enables/resets the rubberband tool.

Reimplemented from Isis::Tool.

Definition at line 310 of file MeasureTool.cpp.

References m_rubberBand, Isis::RubberBandComboBox::reset(), and Isis::RubberBandTool::setDrawActiveViewportOnly().

void Isis::MeasureTool::initData ( void  )
private

Initialize Class data.

Author
sprasad (10/23/2009)

Definition at line 514 of file MeasureTool.cpp.

References m_degAngle, m_endLat, m_endLine, m_endLon, m_endSamp, m_kmArea, m_kmDist, m_mArea, m_mDist, m_pixArea, m_pixDist, m_radAngle, m_startLat, m_startLine, m_startLon, m_startSamp, and Isis::Null.

Referenced by updateDist().

QString Isis::MeasureTool::menuName ( ) const
inlinevirtual

Returns the menu name.

Reimplemented from Isis::Tool.

Definition at line 65 of file MeasureTool.h.

void Isis::Tool::mouseButtonPress ( QPoint  p,
Qt::MouseButton  s 
)
protectedvirtualslotinherited
Parameters
p
s

Definition at line 366 of file Tool.cpp.

Referenced by Isis::Tool::addViewportConnections(), and Isis::Tool::removeViewportConnections().

void Isis::Tool::mouseButtonRelease ( QPoint  p,
Qt::MouseButton  s 
)
protectedvirtualslotinherited

Resets the Warning to Nowarning when a different activity occurs on the application.

This is called by all the mouseButtonRelease events in all the tools.

Parameters
p
s

Reimplemented in Isis::FeatureNomenclatureTool.

Definition at line 379 of file Tool.cpp.

Referenced by Isis::Tool::addViewportConnections(), Isis::StretchTool::mouseButtonRelease(), and Isis::Tool::removeViewportConnections().

void Isis::Tool::mouseDoubleClick ( QPoint  p)
protectedvirtualslotinherited
Parameters
p

Definition at line 357 of file Tool.cpp.

Referenced by Isis::Tool::addViewportConnections(), and Isis::Tool::removeViewportConnections().

void Isis::MeasureTool::mouseLeave ( )
protectedvirtualslot

Mouse leave event.

Definition at line 301 of file MeasureTool.cpp.

void Isis::Tool::mouseMove ( QPoint  p)
protectedvirtualslotinherited
Parameters
p

Definition at line 351 of file Tool.cpp.

Referenced by Isis::Tool::addViewportConnections(), and Isis::Tool::removeViewportConnections().

virtual void Isis::Tool::paintViewport ( MdiCubeViewport vp,
QPainter *  painter 
)
inlinevirtualinherited
void Isis::Tool::registerTool ( MdiCubeViewport viewport)
protectedslotinherited

Registers the tool to the viewport.

Parameters
viewport

Definition at line 326 of file Tool.cpp.

References Isis::Tool::m_cvp, and Isis::MdiCubeViewport::registerTool().

Referenced by Isis::Tool::addTo().

void Isis::MeasureTool::removeConnections ( MdiCubeViewport cvp)
protectedvirtual

Removes the connection on the given cube viewport.

Parameters
cvp

Reimplemented from Isis::Tool.

Definition at line 855 of file MeasureTool.cpp.

void Isis::MeasureTool::rubberBandComplete ( )
protectedvirtualslot
virtual void Isis::Tool::screenPixelsChanged ( )
inlineprotectedvirtualslotinherited

This is called when actions change which pixels from the cube are displayed.

Definition at line 162 of file Tool.h.

Referenced by Isis::Tool::addViewportConnections(), Isis::Tool::removeViewportConnections(), and Isis::FeatureNomenclatureTool::viewportDone().

void Isis::Tool::setCubeViewport ( MdiCubeViewport cvp)
slotinherited
QAction * Isis::MeasureTool::toolPadAction ( ToolPad toolpad)
protectedvirtual

Add the measure tool action to the toolpad.

Parameters
toolpad
Returns
QAction*

Reimplemented from Isis::Tool.

Definition at line 84 of file MeasureTool.cpp.

References Isis::Tool::toolIconDir().

void Isis::MeasureTool::updateDistEdit ( )
privateslot

Change the value in the distance edit to match the units.

Definition at line 789 of file MeasureTool.cpp.

References m_degAngle, m_distLineEdit, m_kmArea, m_kmDist, m_mArea, m_mDist, m_pixArea, m_pixDist, m_radAngle, m_unitsComboBox, and Isis::Null.

Referenced by createToolBarWidget(), and updateDist().

void Isis::MeasureTool::updateMeasure ( )
protectedvirtualslot
void Isis::MeasureTool::updateRows ( int  row)
private
void Isis::MeasureTool::updateTool ( )
protectedvirtual

Updates the measure tool.

Reimplemented from Isis::Tool.

Definition at line 865 of file MeasureTool.cpp.

References m_distLineEdit.

void Isis::MeasureTool::updateUnitsCombo ( void  )
privateslot

Updates the units combo box.

Definition at line 175 of file MeasureTool.cpp.

References m_unitsComboBox.

Referenced by createToolBarWidget().

Member Data Documentation

QAction* Isis::MeasureTool::m_action
private

Measure tool's action.

Definition at line 87 of file MeasureTool.h.

Referenced by addTo(), and MeasureTool().

double Isis::MeasureTool::m_degAngle
private

angle in degrees

Definition at line 159 of file MeasureTool.h.

Referenced by initData(), updateDist(), updateDistEdit(), and updateRow().

QLineEdit* Isis::MeasureTool::m_distLineEdit
private

Distance line edit.

Definition at line 88 of file MeasureTool.h.

Referenced by createToolBarWidget(), updateDist(), updateDistEdit(), and updateTool().

double Isis::MeasureTool::m_endLat
private

ending latitude

Definition at line 152 of file MeasureTool.h.

Referenced by initData(), updateDist(), and updateRow().

double Isis::MeasureTool::m_endLine
private

ending line

Definition at line 150 of file MeasureTool.h.

Referenced by initData(), updateDist(), and updateRow().

double Isis::MeasureTool::m_endLon
private

ending longitude

Definition at line 154 of file MeasureTool.h.

Referenced by initData(), updateDist(), and updateRow().

double Isis::MeasureTool::m_endSamp
private

ending sample

Definition at line 148 of file MeasureTool.h.

Referenced by initData(), updateDist(), and updateRow().

QString Isis::MeasureTool::m_fname
private

filename

Definition at line 178 of file MeasureTool.h.

Referenced by updateDist(), updateRow(), and updateRows().

double Isis::MeasureTool::m_kmArea
private

area in kilometers

Definition at line 160 of file MeasureTool.h.

Referenced by initData(), updateDist(), updateDistEdit(), and updateRow().

double Isis::MeasureTool::m_kmDist
private

distance in kilometers

Definition at line 155 of file MeasureTool.h.

Referenced by initData(), updateDist(), updateDistEdit(), and updateRow().

double Isis::MeasureTool::m_mArea
private

area in meters

Definition at line 161 of file MeasureTool.h.

Referenced by initData(), updateDist(), updateDistEdit(), and updateRow().

double Isis::MeasureTool::m_mDist
private

distance in meters

Definition at line 156 of file MeasureTool.h.

Referenced by initData(), updateDist(), updateDistEdit(), and updateRow().

int Isis::MeasureTool::m_numLinked
private

number of linked viewports

Definition at line 176 of file MeasureTool.h.

Referenced by updateMeasure().

QString Isis::MeasureTool::m_path
private

filename path

Definition at line 177 of file MeasureTool.h.

Referenced by updateDist(), updateRow(), and updateRows().

double Isis::MeasureTool::m_pixArea
private

area in pixels

Definition at line 162 of file MeasureTool.h.

Referenced by initData(), updateDist(), updateDistEdit(), and updateRow().

double Isis::MeasureTool::m_pixDist
private

distance in pixels

Definition at line 157 of file MeasureTool.h.

Referenced by initData(), updateDist(), updateDistEdit(), and updateRow().

double Isis::MeasureTool::m_radAngle
private

angle in radians

Definition at line 158 of file MeasureTool.h.

Referenced by initData(), updateDist(), updateDistEdit(), and updateRow().

RubberBandComboBox* Isis::MeasureTool::m_rubberBand
private

rubberband combo box

Definition at line 181 of file MeasureTool.h.

Referenced by createToolBarWidget(), enableRubberBandTool(), and MeasureTool().

double Isis::MeasureTool::m_startLat
private

starting latitude

Definition at line 151 of file MeasureTool.h.

Referenced by initData(), updateDist(), and updateRow().

double Isis::MeasureTool::m_startLine
private

starting line

Definition at line 149 of file MeasureTool.h.

Referenced by initData(), updateDist(), and updateRow().

double Isis::MeasureTool::m_startLon
private

starting longitude

Definition at line 153 of file MeasureTool.h.

Referenced by initData(), updateDist(), and updateRow().

double Isis::MeasureTool::m_startSamp
private

starting sample

Definition at line 147 of file MeasureTool.h.

Referenced by initData(), updateDist(), and updateRow().

TableMainWindow* Isis::MeasureTool::m_tableWin
private

table window

Definition at line 180 of file MeasureTool.h.

Referenced by createToolBarWidget(), MeasureTool(), rubberBandComplete(), updateMeasure(), updateRow(), and updateRows().

QComboBox* Isis::MeasureTool::m_unitsComboBox
private

Units selection.

Definition at line 89 of file MeasureTool.h.

Referenced by createToolBarWidget(), rubberBandComplete(), updateDistEdit(), and updateUnitsCombo().


The documentation for this class was generated from the following files: