Isis 3 Programmer Reference
Isis::SunShadowTool Class Reference

Tool for measuring shadow heights. More...

#include <SunShadowTool.h>

Inheritance diagram for Isis::SunShadowTool:
Inheritance graph
Collaboration diagram for Isis::SunShadowTool:
Collaboration graph

Public Slots

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

Signals

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

Public Member Functions

 SunShadowTool (QWidget *parent)
 Construct a sun shadow tool. More...
 
void addTo (QMenu *menu)
 Adds the measure action to the given menu. More...
 
void paintViewport (MdiCubeViewport *vp, QPainter *painter)
 Paint anything we need to on the viewport. More...
 
void addTo (ViewportMainWindow *mw)
 Adds the tool to the application. More...
 
void addTo (ToolPad *toolpad)
 Adds the tool to the toolpad. More...
 
virtual void addTo (Workspace *ws)
 Adds the given workspace to the cubeviewport list. More...
 
virtual QString menuName () const
 Anytime a tool is created, you must give it a name for the menu. More...
 
virtual void addToPermanent (QToolBar *toolbar)
 
void addToActive (QToolBar *toolbar)
 
QString toolIconDir () const
 returns the path to the icon directory. More...
 
RubberBandToolrubberBandTool ()
 
void setList (ToolList *currentList)
 

Protected Types

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

Protected Slots

virtual void mouseMove (QPoint p)
 When the mouse moves, if we're tracking then we go ahead and update all of our calculated values for the shadow measurement. More...
 
virtual void mouseButtonPress (QPoint p, Qt::MouseButton s)
 When the mouse left button is pressed we start tracking. More...
 
virtual void mouseButtonRelease (QPoint p, Qt::MouseButton s)
 When the mouse left button is released we finish tracking. More...
 
virtual void rubberBandComplete ()
 
virtual void screenPixelsChanged ()
 This is called when actions change which pixels from the cube are displayed. More...
 
virtual void mouseEnter ()
 
virtual void mouseMove (QPoint p, Qt::MouseButton)
 
virtual void mouseLeave ()
 

Protected Member Functions

QWidgetcreateToolBarWidget (QStackedWidget *parent)
 Creates the widget (button) that goes on the tool bar. More...
 
QActiontoolPadAction (ToolPad *pad)
 Create an action for activating this tool. More...
 
void updateTool ()
 This enables/disables this tool's functionality based on the active viewport's compatibility. More...
 
virtual void mouseDoubleClick (QPoint p)
 
virtual void updateMeasure ()
 
virtual void scaleChanged ()
 
virtual void stretchRequested (MdiCubeViewport *, int)
 
void registerTool (MdiCubeViewport *viewport)
 Registers the tool to the viewport. More...
 
MdiCubeViewportcubeViewport () const
 Return the current cubeviewport. More...
 
CubeViewportListcubeViewportList () const
 Return the list of cubeviewports. More...
 
virtual void addConnections (MdiCubeViewport *cvp)
 Anytime a tool is created, you must add the connections for it. More...
 
virtual void removeConnections (MdiCubeViewport *cvp)
 Anytime a tool is created, you must be able to remove it's connections. More...
 
virtual void enableRubberBandTool ()
 Anytime a tool is created, you may use the rubber band tool. More...
 
Workspaceworkspace ()
 

Private Types

enum  TableColumnIndex {
  StartLatIndex = 2, StartLonIndex, EndLatIndex, EndLonIndex,
  StartSampIndex, StartLineIndex, EndSampIndex, EndLineIndex,
  ShadowLengthKmIndex, ShadowLengthMIndex, ShadowHeightKmIndex, ShadowHeightMIndex,
  IncidenceAngleDegreesIndex, IncidenceAngleRadiansIndex, PathIndex, FileNameIndex
}
 Enum for storing all the indexes. More...
 

Private Slots

void updateShadowHeightEdit ()
 Change the value in the distance edit to match the units. More...
 
void reinitialize ()
 Clear all calculated values and then re-calculate them. More...
 

Private Member Functions

void addRow ()
 Add a results row to the table. More...
 
void recalculateShadowHeight ()
 Try to calculate the shadow height. More...
 
void updateRow (int row)
 This method updates the row in the table window with the current measure information. More...
 

Private Attributes

QLineEdit * m_shadowHeightLineEdit
 This displays the currently calculated height of the measured shadow. More...
 
QComboBoxm_unitsComboBox
 User can choose the height line edit's units (M or KM) More...
 
QCheckBox * m_drawInSunDirection
 Check box to enable/disable confining tracking to sun direction. More...
 
double m_startSamp
 Start sample of the measurement. More...
 
double m_startLine
 Start line of the measurement. More...
 
SurfacePointm_startSurfacePoint
 Start ground coordinate of the measurement. More...
 
double m_endSamp
 End sample of the measurement. More...
 
double m_endLine
 End line of the measurement. More...
 
SurfacePointm_endSurfacePoint
 End ground coordinate of the measurement. More...
 
Anglem_incidenceAngle
 Incidence angle from the normal at the end point. More...
 
Distancem_shadowHeight
 Calculated shadow height. More...
 
Distancem_shadowLength
 Calculated shadow length. More...
 
QString m_path
 Current cube file path. More...
 
QString m_fileName
 Current cube file name. More...
 
TableMainWindowm_tableWin
 Table window for displaying all of the table information. More...
 
bool m_enabled
 True if this tool is enabled (capable of working). Requires a camera. More...
 
bool m_tracking
 True if currently tracking the user's mouse position and calculating values on every mouse move. More...
 
Anglem_trackingAngle
 The angle that we want mouse tracking to be in. More...
 

Detailed Description

Tool for measuring shadow heights.

Author
2012-03-12 Steven Lambright
History:

2012-07-06 Debbie A. Cook - Updated Spice members to be more compliant with Isis coding standards. References #972.

2014-01-16 Kimberly Oyama - Corrected the equation, in the recalculateShadowHeight() method, that finds the height of the object casting the shadow. It now uses the tangent of the angle multiplied by the length of the shadow instead of the sine of the angle. Fixes #1933.

Definition at line 39 of file SunShadowTool.h.

Member Typedef Documentation

◆ CubeViewportList

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

A list of cubeviewports.

Definition at line 219 of file Tool.h.

Member Enumeration Documentation

◆ TableColumnIndex

Enum for storing all the indexes.

Enumerator
StartLatIndex 

Start lat table column index.

StartLonIndex 

Start lon table column index.

EndLatIndex 

End lat table column index.

EndLonIndex 

End lon table column index.

StartSampIndex 

Start cube sample table column index.

StartLineIndex 

Start cube line table column index.

EndSampIndex 

End cube sample table column index.

EndLineIndex 

End cube line table column index.

ShadowLengthKmIndex 

Shadow length in kilometers table column index.

ShadowLengthMIndex 

Shadow length in meters table column index.

ShadowHeightKmIndex 

Shadow height in kilometers table column index.

ShadowHeightMIndex 

Shadow height in meters table column index.

IncidenceAngleDegreesIndex 

Incidence angle in degrees table column index.

IncidenceAngleRadiansIndex 

Incidence angle in radians table column index.

PathIndex 

Cube file path table column index.

FileNameIndex 

Cube file name table column index.

Definition at line 79 of file SunShadowTool.h.

Constructor & Destructor Documentation

◆ SunShadowTool()

Isis::SunShadowTool::SunShadowTool ( QWidget parent)

Member Function Documentation

◆ activate

◆ addConnections()

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().

◆ addRow()

void Isis::SunShadowTool::addRow ( )
private

Add a results row to the table.

Definition at line 436 of file SunShadowTool.cpp.

References m_tableWin, and Isis::TableMainWindow::table().

Referenced by mouseButtonPress().

◆ addTo() [1/4]

void Isis::SunShadowTool::addTo ( QMenu menu)
virtual

Adds the measure action to the given menu.

Parameters
menu

Reimplemented from Isis::Tool.

Definition at line 174 of file SunShadowTool.cpp.

◆ addTo() [2/4]

◆ addTo() [3/4]

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

Adds the tool to the toolpad.

Parameters
toolpad

Definition at line 98 of file Tool.cpp.

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

◆ addTo() [4/4]

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 45 of file Tool.cpp.

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

◆ addToActive()

void Isis::Tool::addToActive ( QToolBar toolbar)
inherited

◆ addToPermanent()

virtual void Isis::Tool::addToPermanent ( QToolBar toolbar)
inlinevirtualinherited

◆ createToolBarWidget()

QWidget * Isis::SunShadowTool::createToolBarWidget ( QStackedWidget *  parent)
protectedvirtual

Creates the widget (button) that goes on the tool bar.

Parameters
parent
Returns
QWidget*

Reimplemented from Isis::Tool.

Definition at line 118 of file SunShadowTool.cpp.

References Isis::Distance::Kilometers, m_drawInSunDirection, m_shadowHeightLineEdit, m_tableWin, m_unitsComboBox, Isis::Distance::Meters, and updateShadowHeightEdit().

◆ cubeViewport()

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::exportToList(), Isis::FileTool::exportView(), Isis::StatisticsTool::getStatistics(), Isis::FindTool::handleRecordClicked(), Isis::EditTool::LineToPoints(), Isis::TrackTool::locateCursor(), mouseButtonPress(), Isis::ControlNetTool::mouseButtonRelease(), 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(), mouseMove(), Isis::TrackTool::mouseMove(), Isis::RubberBandTool::mouseMove(), paintViewport(), Isis::RubberBandTool::paintViewport(), Isis::FindTool::paintViewport(), Isis::FileTool::print(), 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(), Isis::MeasureTool::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(), Isis::MeasureTool::updateMeasure(), Isis::AdvancedTrackTool::updateRow(), Isis::WindowTool::updateTool(), Isis::BlinkTool::updateTool(), Isis::SpecialPixelTool::updateTool(), Isis::BandTool::updateTool(), 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().

◆ cubeViewportList()

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

Return the list of cubeviewports.

Returns
CubeViewportList*

Definition at line 390 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::ControlNetTool::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::ControlNetTool::setControlNet(), Isis::FeatureNomenclatureTool::setFontColor(), Isis::FeatureNomenclatureTool::setFontSize(), Isis::FeatureNomenclatureTool::setShowApprovedOnly(), Isis::StretchTool::setStretchAllViewports(), Isis::FeatureNomenclatureTool::setVectorType(), Isis::StretchTool::stretchGlobalAllViewports(), Isis::BlinkTool::toggleLink(), Isis::WindowTool::unlinkWindows(), Isis::MeasureTool::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().

◆ enableRubberBandTool()

void Isis::Tool::enableRubberBandTool ( )
protectedvirtualinherited

Anytime a tool is created, you may use the rubber band tool.

Enable the use of the rubberband tool.

Reimplemented in Isis::RubberBandTool, Isis::ZoomTool, Isis::MeasureTool, Isis::StereoTool, Isis::SpatialPlotTool, Isis::SpectralPlotTool, and Isis::HistogramTool.

Definition at line 339 of file Tool.cpp.

References Isis::RubberBandTool::disable().

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

◆ menuName()

virtual QString Isis::Tool::menuName ( ) const
inlinevirtualinherited

◆ mouseButtonPress

void Isis::SunShadowTool::mouseButtonPress ( QPoint  p,
Qt::MouseButton  s 
)
protectedvirtualslot

When the mouse left button is pressed we start tracking.

Parameters
pThe current mouse position in viewport screen pixel coordinates
sThe mouse button that was pressed.

Definition at line 269 of file SunShadowTool.cpp.

References addRow(), Isis::Cube::camera(), Isis::CubeViewport::cube(), Isis::Tool::cubeViewport(), Isis::Angle::Degrees, m_enabled, m_startLine, m_startSamp, m_tableWin, m_tracking, m_trackingAngle, Isis::Null, reinitialize(), Isis::Camera::SetImage(), Isis::Camera::SunAzimuth(), and Isis::CubeViewport::viewportToCube().

◆ mouseButtonRelease

void Isis::SunShadowTool::mouseButtonRelease ( QPoint  p,
Qt::MouseButton  s 
)
protectedvirtualslot

When the mouse left button is released we finish tracking.

Parameters
pThe current mouse position in viewport screen pixel coordinates
sThe mouse button that was pressed.

Definition at line 301 of file SunShadowTool.cpp.

References m_tracking, and mouseMove().

◆ mouseDoubleClick()

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

Definition at line 358 of file Tool.cpp.

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

◆ mouseMove

void Isis::SunShadowTool::mouseMove ( QPoint  p)
protectedvirtualslot

When the mouse moves, if we're tracking then we go ahead and update all of our calculated values for the shadow measurement.

Parameters
pThe current mouse position in viewport screen pixel coordinates

Definition at line 212 of file SunShadowTool.cpp.

References Isis::Tool::cubeViewport(), Isis::Angle::Degrees, Isis::Angle::isValid(), m_drawInSunDirection, m_endLine, m_endSamp, m_startLine, m_startSamp, m_tableWin, m_tracking, m_trackingAngle, Isis::Angle::radians(), recalculateShadowHeight(), Isis::TableMainWindow::table(), updateRow(), and Isis::CubeViewport::viewportToCube().

Referenced by mouseButtonRelease().

◆ paintViewport()

void Isis::SunShadowTool::paintViewport ( MdiCubeViewport vp,
QPainter *  painter 
)
virtual

Paint anything we need to on the viewport.

Currently, we draw a line along where the user is measuring a shadow.

Parameters
vpViewport to paint
painterThe painter to use for painting

Reimplemented from Isis::Tool.

Definition at line 185 of file SunShadowTool.cpp.

References Isis::CubeViewport::cubeToViewport(), Isis::Tool::cubeViewport(), m_endLine, m_endSamp, m_startLine, m_startSamp, and Isis::Null.

◆ recalculateShadowHeight()

◆ registerTool()

void Isis::Tool::registerTool ( MdiCubeViewport viewport)
protectedinherited

Registers the tool to the viewport.

Parameters
viewport

Definition at line 327 of file Tool.cpp.

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

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

◆ reinitialize

void Isis::SunShadowTool::reinitialize ( )
privateslot

◆ removeConnections()

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

Anytime a tool is created, you must be able to remove it's connections.

Parameters
cvp

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

Definition at line 261 of file Tool.h.

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

◆ screenPixelsChanged

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().

◆ setCubeViewport

void Isis::Tool::setCubeViewport ( MdiCubeViewport cvp)
slotinherited

◆ toolIconDir()

QString Isis::Tool::toolIconDir ( ) const
inlineinherited

◆ toolPadAction()

QAction * Isis::SunShadowTool::toolPadAction ( ToolPad toolpad)
protectedvirtual

Create an action for activating this tool.

Parameters
toolpadThe tool pad that will contain the given action
Returns
The created action

Reimplemented from Isis::Tool.

Definition at line 92 of file SunShadowTool.cpp.

References Isis::Tool::toolIconDir().

◆ updateRow()

◆ updateShadowHeightEdit

◆ updateTool()

void Isis::SunShadowTool::updateTool ( )
protectedvirtual

This enables/disables this tool's functionality based on the active viewport's compatibility.

Reimplemented from Isis::Tool.

Definition at line 588 of file SunShadowTool.cpp.

References Isis::Cube::camera(), Isis::CubeViewport::cube(), Isis::Tool::cubeViewport(), m_enabled, m_shadowHeightLineEdit, m_unitsComboBox, and updateShadowHeightEdit().

Member Data Documentation

◆ m_drawInSunDirection

QCheckBox* Isis::SunShadowTool::m_drawInSunDirection
private

Check box to enable/disable confining tracking to sun direction.

Definition at line 74 of file SunShadowTool.h.

Referenced by createToolBarWidget(), mouseMove(), and SunShadowTool().

◆ m_enabled

bool Isis::SunShadowTool::m_enabled
private

True if this tool is enabled (capable of working). Requires a camera.

Definition at line 144 of file SunShadowTool.h.

Referenced by mouseButtonPress(), SunShadowTool(), and updateTool().

◆ m_endLine

double Isis::SunShadowTool::m_endLine
private

End line of the measurement.

Definition at line 124 of file SunShadowTool.h.

Referenced by mouseMove(), paintViewport(), recalculateShadowHeight(), reinitialize(), and updateRow().

◆ m_endSamp

double Isis::SunShadowTool::m_endSamp
private

End sample of the measurement.

Definition at line 122 of file SunShadowTool.h.

Referenced by mouseMove(), paintViewport(), recalculateShadowHeight(), reinitialize(), and updateRow().

◆ m_endSurfacePoint

SurfacePoint* Isis::SunShadowTool::m_endSurfacePoint
private

End ground coordinate of the measurement.

Definition at line 126 of file SunShadowTool.h.

Referenced by recalculateShadowHeight(), reinitialize(), SunShadowTool(), and updateRow().

◆ m_fileName

QString Isis::SunShadowTool::m_fileName
private

Current cube file name.

Definition at line 139 of file SunShadowTool.h.

Referenced by recalculateShadowHeight(), and updateRow().

◆ m_incidenceAngle

Angle* Isis::SunShadowTool::m_incidenceAngle
private

Incidence angle from the normal at the end point.

Definition at line 129 of file SunShadowTool.h.

Referenced by recalculateShadowHeight(), reinitialize(), SunShadowTool(), and updateRow().

◆ m_path

QString Isis::SunShadowTool::m_path
private

Current cube file path.

Definition at line 137 of file SunShadowTool.h.

Referenced by recalculateShadowHeight(), and updateRow().

◆ m_shadowHeight

Distance* Isis::SunShadowTool::m_shadowHeight
private

Calculated shadow height.

Definition at line 132 of file SunShadowTool.h.

Referenced by recalculateShadowHeight(), reinitialize(), SunShadowTool(), updateRow(), and updateShadowHeightEdit().

◆ m_shadowHeightLineEdit

QLineEdit* Isis::SunShadowTool::m_shadowHeightLineEdit
private

This displays the currently calculated height of the measured shadow.

Definition at line 70 of file SunShadowTool.h.

Referenced by createToolBarWidget(), updateShadowHeightEdit(), and updateTool().

◆ m_shadowLength

Distance* Isis::SunShadowTool::m_shadowLength
private

Calculated shadow length.

Definition at line 134 of file SunShadowTool.h.

Referenced by recalculateShadowHeight(), reinitialize(), SunShadowTool(), and updateRow().

◆ m_startLine

double Isis::SunShadowTool::m_startLine
private

Start line of the measurement.

Definition at line 117 of file SunShadowTool.h.

Referenced by mouseButtonPress(), mouseMove(), paintViewport(), recalculateShadowHeight(), reinitialize(), and updateRow().

◆ m_startSamp

double Isis::SunShadowTool::m_startSamp
private

Start sample of the measurement.

Definition at line 115 of file SunShadowTool.h.

Referenced by mouseButtonPress(), mouseMove(), paintViewport(), recalculateShadowHeight(), reinitialize(), and updateRow().

◆ m_startSurfacePoint

SurfacePoint* Isis::SunShadowTool::m_startSurfacePoint
private

Start ground coordinate of the measurement.

Definition at line 119 of file SunShadowTool.h.

Referenced by recalculateShadowHeight(), reinitialize(), SunShadowTool(), and updateRow().

◆ m_tableWin

TableMainWindow* Isis::SunShadowTool::m_tableWin
private

Table window for displaying all of the table information.

Definition at line 142 of file SunShadowTool.h.

Referenced by addRow(), createToolBarWidget(), mouseButtonPress(), mouseMove(), SunShadowTool(), and updateRow().

◆ m_tracking

bool Isis::SunShadowTool::m_tracking
private

True if currently tracking the user's mouse position and calculating values on every mouse move.

Definition at line 149 of file SunShadowTool.h.

Referenced by mouseButtonPress(), mouseButtonRelease(), mouseMove(), and SunShadowTool().

◆ m_trackingAngle

Angle* Isis::SunShadowTool::m_trackingAngle
private

The angle that we want mouse tracking to be in.

Definition at line 151 of file SunShadowTool.h.

Referenced by mouseButtonPress(), mouseMove(), and SunShadowTool().

◆ m_unitsComboBox

QComboBox* Isis::SunShadowTool::m_unitsComboBox
private

User can choose the height line edit's units (M or KM)

Definition at line 72 of file SunShadowTool.h.

Referenced by createToolBarWidget(), updateShadowHeightEdit(), and updateTool().


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