File failed to load: https://isis.astrogeology.usgs.gov/6.0.0/Object/assets/jax/output/NativeMML/config.js
Isis 3 Programmer Reference
Isis::MosaicGridTool Class Reference

This controls the 'Grid' abilities in the MosaicSceneWidget. More...

#include <MosaicGridTool.h>

Inheritance diagram for Isis::MosaicGridTool:
Inheritance graph
Collaboration diagram for Isis::MosaicGridTool:
Collaboration graph

Public Types

enum  GridExtentSource { Map, Cubes, Manual }
 

Public Slots

void autoGrid (bool draw)
 Calculates the lat/lon increments from the bounding rectangle of the open cubes. More...
 
void clearGrid ()
 Clears the grid from the scene. More...
 
void configure ()
 Give a configuration dialog for the options available in this tool. More...
 
void drawGrid ()
 Creates the GridGraphicsItem that will draw the grid. More...
 
void drawGrid (bool draw)
 Determines whether the grid should be drawn or not. More...
 
void onCubesChanged ()
 Determines whether or not the bounding rectangle was changed by the addition or removal of cubes. More...
 
void onToolOpen (bool check)
 Checks both checkboxes when the tool is first opened. More...
 
void onProjectionChanged ()
 
void activate (bool)
 Activates the tool. More...
 

Signals

void boundingRectChanged ()
 
void activated (bool)
 

Public Member Functions

 MosaicGridTool (MosaicSceneWidget *)
 MosaicGridTool constructor. More...
 
void addToMenu (QMenu *menu)
 Adds the pan action to the given menu. More...
 
bool autoGridCheckBox ()
 True if checked. More...
 
Latitude baseLat ()
 The base latitude. More...
 
Longitude baseLon ()
 The base longitude. More...
 
int density ()
 The density or resolution of the grid. More...
 
Angle latInc ()
 The angle of the latitude increment. More...
 
GridExtentSource latExtents ()
 The extent type (Map, Cubes, Manual) for the latitude. More...
 
QString latType ()
 The latitude type (planetocentric/planetographic) of the projection of the scene. More...
 
QString lonDomain ()
 The longitude domain of the projection of the scene. More...
 
GridExtentSource lonExtents ()
 The extent type (Map, Cubes, Manual) for the longitude. More...
 
Angle lonInc ()
 The angle of the longitude increment. More...
 
Latitude maxLat ()
 The maximum latitude used to determine the grid's extents and increments. More...
 
Longitude maxLon ()
 The maximum longitude used to determine the grid's extents and increments. More...
 
Latitude minLat ()
 The minimum latitude used to determine the grid's extents and increments. More...
 
Longitude minLon ()
 The minimum longitude used to determine the grid's extents and increments. More...
 
MosaicSceneWidgetsceneWidget ()
 
bool showGrid ()
 True if grid is displayed. More...
 
void setAutoGridCheckBox (bool checked)
 Modify the check state of the checkbox. More...
 
void setBaseLat (Latitude baseLat)
 Modify the base latitude. More...
 
void setBaseLon (Longitude baseLon)
 Modify the base longitude. More...
 
void setDensity (int density)
 Modify the density. More...
 
void setLatExtents (GridExtentSource source, Latitude minLat, Latitude maxLat)
 Set the maximum and minimum latitude of the grid. More...
 
void setLatInc (Angle latInc)
 Modify the latitude increment. More...
 
void setLonExtents (GridExtentSource source, Longitude minLon, Longitude maxLon)
 Set the maximum and minimum longitude of the grid. More...
 
void setLonInc (Angle lonInc)
 Modify the longitude increment. More...
 
void setShowGrid (bool show)
 Modify the check state of the checkbox. More...
 
void fromPvl (const PvlObject &obj)
 Read the tool information form a pvl object. More...
 
QString projectPvlObjectName () const
 An accessor for the name of the Pvl object that the tool's information is stored in. More...
 
PvlObject toPvl () const
 Store the tool information in a pvl object. More...
 
Longitude domainMinLon ()
 
Longitude domainMaxLon ()
 
bool isActive () const
 Returns the activeness of this toool. More...
 
QPixmap getIcon (QString iconName) const
 returns the path to the icon directory. More...
 
virtual void addTo (QMenu *menu)
 
virtual void addTo (ToolPad *toolPad)
 
virtual void addTo (QToolBar *toolBar)
 
virtual QList< QAction * > getViewActions ()
 

Protected Slots

virtual void updateTool ()
 

Protected Member Functions

QWidgetcreateToolBarWidget ()
 Creates the widget to add to the tool bar. More...
 
QActiongetPrimaryAction ()
 Adds the action to the toolpad. More...
 
QWidgetgetToolBarWidget ()
 Creates the Grid Toolbar Widget. More...
 
virtual void mouseEnter ()
 
virtual void mouseMove (QPointF)
 
virtual void mouseLeave ()
 
virtual void mouseDoubleClick (QPointF)
 
virtual void mouseButtonPress (QPointF, Qt::MouseButton s)
 
virtual void mouseButtonRelease (QPointF, Qt::MouseButton s)
 
virtual void mouseWheel (QPointF, int delta)
 
virtual void rubberBandComplete (QRectF r, Qt::MouseButton s)
 
void toolBarDestroyed (QObject *obj)
 
MosaicSceneWidgetgetWidget ()
 

Private Member Functions

void enableToolBar ()
 Enables entire tool bar. More...
 
void disableToolBar ()
 Disables entire tool bar. More...
 

Private Attributes

QPointer< QLabel > m_autoGridLabel
 Enabled and diabled with the autoGrid checkbox. More...
 
QPointer< QCheckBox > m_autoGridCheckBox
 True if grid properties come from the open cubes. More...
 
QPointer< QCheckBox > m_drawGridCheckBox
 True if grid properties come from the open cubes. More...
 
bool m_shouldCheckBoxes
 True when the tool is first opened to check the checkboxes. More...
 
Latitude m_baseLat
 Base latitude for drawing the grid. More...
 
Longitude m_baseLon
 Base longitude for drawing the grid. More...
 
Angle m_latInc
 Latitude increment for drawing the grid. More...
 
Angle m_lonInc
 Longitude increment for drawing the grid. More...
 
GridExtentSource m_latExtents
 Used for the state of the options dialog. More...
 
Latitude m_maxLat
 Maximum latitude of the grid. More...
 
Latitude m_minLat
 Minimum latitude of the grid. More...
 
GridExtentSource m_lonExtents
 Used for the state of the options dialog. More...
 
Longitude m_maxLon
 Maximum longitude of the grid. More...
 
Longitude m_minLon
 Minimum longitude of the grid. More...
 
int m_density
 Grid density for drawing the grid. More...
 
QActionm_action
 
QGraphicsItemm_gridItem
 
QRectF m_previousBoundingRect
 The bounding rectangle of the previous set of open cubes. More...
 
bool p_active
 Is the tool active? More...
 
MosaicSceneWidgetp_widget
 
QActionp_primaryAction
 
QActionp_toolBarAction
 

Detailed Description

This controls the 'Grid' abilities in the MosaicSceneWidget.

Author
????-??-?? Stacy Alley
History:
2011-05-07 Steven Lambright - Refactored along with all of 'qmos'
History:
2011-05-11 Steven Lambright - Added project settings
History:
2012-04-16 Jeannie Backer - Added #include for PvlObject class in implementation file.
History:
2012-07-10 Kimberly Oyama and Steven Lambright - Added an auto grid option that draws a grid with lat/lon increments and extents based on either the map projection, the bounding rectangle of the open cubes, or the user entered extents. Also, added accessors, mutators, and other support for a new options dialog that lets the user configure the grid. Changed the draw/clear grid buttons to a show grid checkbox. Fixes #604.
History:
2013-02-01 Steven Lambright - Fixed a problem with setLonInc() bounding the maximum longitude increment incorrectly, which caused a bad increment. This resulted in freezing or an invalid grid. Fixes #1060.
History:
2013-03-06 Steven Lambright - Added support for getting target radii from TargetName if the mapping radii keywords are missing.
History:
2013-03-19 Steven Lambright - Auto grid now remembers its last setting and defaults to it.
History:
2013-09-11 Tracie Sucharski - Check for existence of scene widget before calling methods on it in domainMinLon() and domainMaxLon(). Fixes #1748.

Definition at line 53 of file MosaicGridTool.h.

Member Enumeration Documentation

◆ GridExtentSource

Enumerator
Map 

The grid will be drawn using the extents from the map projection.

Cubes 

The grid will be drawn using the extents from the bounding rectangle of the open cubes.

Manual 

The grid will be drawn using the extents that the user specifies.

Definition at line 57 of file MosaicGridTool.h.

Constructor & Destructor Documentation

◆ MosaicGridTool()

Isis::MosaicGridTool::MosaicGridTool ( MosaicSceneWidget scene)

Member Function Documentation

◆ activate

void Isis::MosaicTool::activate ( bool  on)
slotinherited

Activates the tool.

Parameters
on

Definition at line 148 of file MosaicTool.cpp.

References Isis::MosaicTool::disableToolBar(), Isis::MosaicTool::enableToolBar(), and Isis::MosaicTool::p_active.

◆ addToMenu()

void Isis::MosaicGridTool::addToMenu ( QMenu menu)

Adds the pan action to the given menu.

Parameters
menu

Definition at line 73 of file MosaicGridTool.cpp.

◆ autoGrid

void Isis::MosaicGridTool::autoGrid ( bool  draw)
slot

◆ autoGridCheckBox()

bool Isis::MosaicGridTool::autoGridCheckBox ( )

True if checked.

Returns
The state of the checkbox.

Definition at line 82 of file MosaicGridTool.cpp.

References m_autoGridCheckBox.

Referenced by Isis::MosaicGridToolConfigDialog::readSettings().

◆ baseLat()

Latitude Isis::MosaicGridTool::baseLat ( )

The base latitude.

Returns
The base latitude

Definition at line 92 of file MosaicGridTool.cpp.

References m_baseLat.

Referenced by Isis::MosaicGridToolConfigDialog::readSettings(), and setBaseLat().

◆ baseLon()

Longitude Isis::MosaicGridTool::baseLon ( )

The base longitude.

Returns
The base longitude

Definition at line 102 of file MosaicGridTool.cpp.

References m_baseLon.

Referenced by Isis::MosaicGridToolConfigDialog::readSettings(), and setBaseLon().

◆ clearGrid

void Isis::MosaicGridTool::clearGrid ( )
slot

Clears the grid from the scene.

Does not erase any grid information.

Definition at line 781 of file MosaicGridTool.cpp.

References drawGrid().

Referenced by Isis::MosaicGridToolConfigDialog::applySettings(), and drawGrid().

◆ configure

void Isis::MosaicGridTool::configure ( )
slot

Give a configuration dialog for the options available in this tool.

Definition at line 797 of file MosaicGridTool.cpp.

Referenced by getToolBarWidget().

◆ createToolBarWidget()

QWidget * Isis::MosaicGridTool::createToolBarWidget ( )
protected

Creates the widget to add to the tool bar.

Parameters
parent
Returns
QWidget*

Definition at line 947 of file MosaicGridTool.cpp.

◆ density()

int Isis::MosaicGridTool::density ( )

The density or resolution of the grid.

The number of straight lines used to draw the grid.

Returns
The density

Definition at line 113 of file MosaicGridTool.cpp.

References m_density.

Referenced by Isis::MosaicGridToolConfigDialog::readSettings(), and setDensity().

◆ disableToolBar()

void Isis::MosaicTool::disableToolBar ( )
privateinherited

Disables entire tool bar.

Definition at line 174 of file MosaicTool.cpp.

Referenced by Isis::MosaicTool::activate().

◆ drawGrid [1/2]

void Isis::MosaicGridTool::drawGrid ( )
slot

Creates the GridGraphicsItem that will draw the grid.

If there is no grid item the grid is cleared and redrawn with a new item.

Definition at line 835 of file MosaicGridTool.cpp.

References Isis::Angle::degrees(), m_autoGridCheckBox, m_autoGridLabel, m_baseLat, m_baseLon, m_density, m_drawGridCheckBox, m_latInc, m_lonInc, m_maxLat, m_maxLon, m_minLat, m_minLon, and onCubesChanged().

Referenced by Isis::MosaicGridToolConfigDialog::applySettings(), autoGrid(), clearGrid(), drawGrid(), fromPvl(), and getToolBarWidget().

◆ drawGrid [2/2]

void Isis::MosaicGridTool::drawGrid ( bool  draw)
slot

Determines whether the grid should be drawn or not.

Parameters
drawTrue if grid should be drawn. Otherwise, it will be cleared.

Definition at line 876 of file MosaicGridTool.cpp.

References clearGrid(), drawGrid(), m_autoGridCheckBox, and m_autoGridLabel.

◆ enableToolBar()

void Isis::MosaicTool::enableToolBar ( )
privateinherited

Enables entire tool bar.

Definition at line 185 of file MosaicTool.cpp.

Referenced by Isis::MosaicTool::activate().

◆ fromPvl()

◆ getIcon()

◆ getPrimaryAction()

QAction * Isis::MosaicGridTool::getPrimaryAction ( )
protectedvirtual

Adds the action to the toolpad.

Parameters
toolpad
Returns
QAction*

Implements Isis::MosaicTool.

Definition at line 960 of file MosaicGridTool.cpp.

References Isis::MosaicTool::getIcon().

◆ getToolBarWidget()

QWidget * Isis::MosaicGridTool::getToolBarWidget ( )
protectedvirtual

Creates the Grid Toolbar Widget.

Returns
The toolbar widget

Reimplemented from Isis::MosaicTool.

Definition at line 981 of file MosaicGridTool.cpp.

References autoGrid(), configure(), drawGrid(), m_autoGridCheckBox, m_autoGridLabel, m_drawGridCheckBox, m_previousBoundingRect, and onToolOpen().

◆ isActive()

bool Isis::MosaicTool::isActive ( ) const
inlineinherited

◆ latExtents()

MosaicGridTool::GridExtentSource Isis::MosaicGridTool::latExtents ( )

The extent type (Map, Cubes, Manual) for the latitude.

Returns
The extent type of the latitude

Definition at line 133 of file MosaicGridTool.cpp.

References m_latExtents.

Referenced by Isis::MosaicGridToolConfigDialog::MosaicGridToolConfigDialog(), and Isis::MosaicGridToolConfigDialog::readSettings().

◆ latInc()

Angle Isis::MosaicGridTool::latInc ( )

The angle of the latitude increment.

Returns
The latitude increment angle.

Definition at line 123 of file MosaicGridTool.cpp.

References m_latInc.

Referenced by Isis::MosaicGridToolConfigDialog::readSettings(), and setLatInc().

◆ latType()

QString Isis::MosaicGridTool::latType ( )

The latitude type (planetocentric/planetographic) of the projection of the scene.

Returns
the latitude type as a string

Definition at line 143 of file MosaicGridTool.cpp.

References Isis::TProjection::LatitudeTypeString(), and Isis::Projection::Triaxial.

Referenced by Isis::MosaicGridToolConfigDialog::MosaicGridToolConfigDialog().

◆ lonDomain()

QString Isis::MosaicGridTool::lonDomain ( )

The longitude domain of the projection of the scene.

Returns
the domain as a string

Definition at line 162 of file MosaicGridTool.cpp.

References Isis::TProjection::LongitudeDomainString(), and Isis::Projection::Triaxial.

Referenced by Isis::MosaicGridToolConfigDialog::MosaicGridToolConfigDialog().

◆ lonExtents()

MosaicGridTool::GridExtentSource Isis::MosaicGridTool::lonExtents ( )

The extent type (Map, Cubes, Manual) for the longitude.

Returns
The extent type of the longitude

Definition at line 181 of file MosaicGridTool.cpp.

References m_lonExtents.

Referenced by Isis::MosaicGridToolConfigDialog::MosaicGridToolConfigDialog(), and Isis::MosaicGridToolConfigDialog::readSettings().

◆ lonInc()

Angle Isis::MosaicGridTool::lonInc ( )

The angle of the longitude increment.

Returns
The longitude increment angle.

Definition at line 191 of file MosaicGridTool.cpp.

References m_lonInc.

Referenced by Isis::MosaicGridToolConfigDialog::readSettings(), and setLonInc().

◆ maxLat()

Latitude Isis::MosaicGridTool::maxLat ( )

The maximum latitude used to determine the grid's extents and increments.

Returns
The maximum latitude of the grid range.

Definition at line 201 of file MosaicGridTool.cpp.

References m_maxLat.

Referenced by Isis::MosaicGridToolConfigDialog::readSettings(), and setLatExtents().

◆ maxLon()

Longitude Isis::MosaicGridTool::maxLon ( )

The maximum longitude used to determine the grid's extents and increments.

Returns
The maximum longitude of the grid range.

Definition at line 211 of file MosaicGridTool.cpp.

References m_maxLon.

Referenced by Isis::MosaicGridToolConfigDialog::readSettings(), and setLonExtents().

◆ minLat()

Latitude Isis::MosaicGridTool::minLat ( )

The minimum latitude used to determine the grid's extents and increments.

Returns
The minimum latitude of the grid range.

Definition at line 221 of file MosaicGridTool.cpp.

References m_minLat.

Referenced by Isis::MosaicGridToolConfigDialog::readSettings(), and setLatExtents().

◆ minLon()

Longitude Isis::MosaicGridTool::minLon ( )

The minimum longitude used to determine the grid's extents and increments.

Returns
The minimum longitude of the grid range.

Definition at line 231 of file MosaicGridTool.cpp.

References m_minLon.

Referenced by Isis::MosaicGridToolConfigDialog::readSettings(), and setLonExtents().

◆ onCubesChanged

void Isis::MosaicGridTool::onCubesChanged ( )
slot

Determines whether or not the bounding rectangle was changed by the addition or removal of cubes.

If it wasn't changed, the grid is not redrawn. If it was (and autogrid is checked), the grid is redrawn with new lat/lon increments.

Definition at line 897 of file MosaicGridTool.cpp.

References autoGrid(), m_autoGridCheckBox, and m_previousBoundingRect.

Referenced by drawGrid().

◆ onToolOpen

void Isis::MosaicGridTool::onToolOpen ( bool  check)
slot

Checks both checkboxes when the tool is first opened.

Allows the grid to remain when the tool is not active.

Parameters
checkTrue when the tool is activated

Definition at line 915 of file MosaicGridTool.cpp.

References autoGrid(), m_autoGridCheckBox, m_autoGridLabel, m_drawGridCheckBox, and m_shouldCheckBoxes.

Referenced by getToolBarWidget().

◆ projectPvlObjectName()

QString Isis::MosaicGridTool::projectPvlObjectName ( ) const
virtual

An accessor for the name of the Pvl object that the tool's information is stored in.

Returns
The name in string form.

Reimplemented from Isis::MosaicTool.

Definition at line 637 of file MosaicGridTool.cpp.

Referenced by toPvl().

◆ sceneWidget()

◆ setAutoGridCheckBox()

void Isis::MosaicGridTool::setAutoGridCheckBox ( bool  checked)

Modify the check state of the checkbox.

Parameters
checkedthe new state of the checkbox

Definition at line 261 of file MosaicGridTool.cpp.

References m_autoGridCheckBox.

Referenced by Isis::MosaicGridToolConfigDialog::applySettings().

◆ setBaseLat()

void Isis::MosaicGridTool::setBaseLat ( Latitude  baseLat)

Modify the base latitude.

Parameters
baseLatthe new base latitude.

Definition at line 271 of file MosaicGridTool.cpp.

References baseLat(), and m_baseLat.

Referenced by Isis::MosaicGridToolConfigDialog::applySettings().

◆ setBaseLon()

void Isis::MosaicGridTool::setBaseLon ( Longitude  baseLon)

Modify the base longitude.

Parameters
baseLonthe new base longitude.

Definition at line 281 of file MosaicGridTool.cpp.

References baseLon(), and m_baseLon.

Referenced by Isis::MosaicGridToolConfigDialog::applySettings().

◆ setDensity()

void Isis::MosaicGridTool::setDensity ( int  density)

Modify the density.

Parameters
densitythe new density value.

Definition at line 291 of file MosaicGridTool.cpp.

References density(), and m_density.

Referenced by Isis::MosaicGridToolConfigDialog::applySettings().

◆ setLatExtents()

◆ setLatInc()

void Isis::MosaicGridTool::setLatInc ( Angle  latInc)

Modify the latitude increment.

Parameters
latIncthe new increment angle.

Definition at line 413 of file MosaicGridTool.cpp.

References Isis::Angle::Degrees, latInc(), and m_latInc.

Referenced by Isis::MosaicGridToolConfigDialog::applySettings().

◆ setLonExtents()

void Isis::MosaicGridTool::setLonExtents ( GridExtentSource  source,
Longitude  minLon = Longitude(),
Longitude  maxLon = Longitude() 
)

Set the maximum and minimum longitude of the grid.

Parameters
sourceWhere the grid extents come from (Map, Cubes, Manual).
minLonThe minimum longitude of the grid.
maxLonThe maximum longitude of the grid.

Definition at line 427 of file MosaicGridTool.cpp.

References Cubes, Isis::Angle::Degrees, Isis::TProjection::Longitude(), m_lonExtents, m_maxLat, m_maxLon, m_minLat, m_minLon, Manual, Map, Isis::TProjection::MaximumLongitude(), maxLon(), Isis::TProjection::MinimumLongitude(), minLon(), Isis::Projection::projectionType(), Isis::TProjection::SetCoordinate(), and Isis::Projection::Triaxial.

Referenced by Isis::MosaicGridToolConfigDialog::applySettings(), and autoGrid().

◆ setLonInc()

void Isis::MosaicGridTool::setLonInc ( Angle  lonInc)

Modify the longitude increment.

Parameters
lonIncthe new lonitude increment.

Definition at line 534 of file MosaicGridTool.cpp.

References Isis::Angle::Degrees, lonInc(), m_lonInc, m_maxLon, and m_minLon.

Referenced by Isis::MosaicGridToolConfigDialog::applySettings().

◆ setShowGrid()

void Isis::MosaicGridTool::setShowGrid ( bool  show)

Modify the check state of the checkbox.

Parameters
checkedthe new state of the checkbox

Definition at line 549 of file MosaicGridTool.cpp.

References m_drawGridCheckBox.

Referenced by Isis::MosaicGridToolConfigDialog::applySettings().

◆ showGrid()

bool Isis::MosaicGridTool::showGrid ( )

True if grid is displayed.

Returns
Whether or not the grid is displayed.

Definition at line 251 of file MosaicGridTool.cpp.

References m_drawGridCheckBox.

Referenced by Isis::MosaicGridToolConfigDialog::readSettings().

◆ toPvl()

PvlObject Isis::MosaicGridTool::toPvl ( ) const
virtual

Store the tool information in a pvl object.

Returns
the pvl object

Reimplemented from Isis::MosaicTool.

Definition at line 647 of file MosaicGridTool.cpp.

References Isis::Angle::degrees(), m_baseLat, m_baseLon, m_density, m_latExtents, m_latInc, m_lonExtents, m_lonInc, m_maxLat, m_maxLon, m_minLat, m_minLon, m_shouldCheckBoxes, projectPvlObjectName(), and Isis::toString().

Member Data Documentation

◆ m_autoGridCheckBox

QPointer<QCheckBox> Isis::MosaicGridTool::m_autoGridCheckBox
private

True if grid properties come from the open cubes.

Definition at line 134 of file MosaicGridTool.h.

Referenced by autoGridCheckBox(), drawGrid(), getToolBarWidget(), onCubesChanged(), onToolOpen(), and setAutoGridCheckBox().

◆ m_autoGridLabel

QPointer<QLabel> Isis::MosaicGridTool::m_autoGridLabel
private

Enabled and diabled with the autoGrid checkbox.

Definition at line 133 of file MosaicGridTool.h.

Referenced by drawGrid(), getToolBarWidget(), and onToolOpen().

◆ m_baseLat

Latitude Isis::MosaicGridTool::m_baseLat
private

Base latitude for drawing the grid.

Definition at line 138 of file MosaicGridTool.h.

Referenced by baseLat(), drawGrid(), fromPvl(), MosaicGridTool(), setBaseLat(), and toPvl().

◆ m_baseLon

Longitude Isis::MosaicGridTool::m_baseLon
private

Base longitude for drawing the grid.

Definition at line 139 of file MosaicGridTool.h.

Referenced by baseLon(), drawGrid(), fromPvl(), MosaicGridTool(), setBaseLon(), and toPvl().

◆ m_density

int Isis::MosaicGridTool::m_density
private

Grid density for drawing the grid.

Definition at line 152 of file MosaicGridTool.h.

Referenced by density(), drawGrid(), fromPvl(), MosaicGridTool(), setDensity(), and toPvl().

◆ m_drawGridCheckBox

QPointer<QCheckBox> Isis::MosaicGridTool::m_drawGridCheckBox
private

True if grid properties come from the open cubes.

Definition at line 135 of file MosaicGridTool.h.

Referenced by drawGrid(), getToolBarWidget(), onToolOpen(), setShowGrid(), and showGrid().

◆ m_latExtents

GridExtentSource Isis::MosaicGridTool::m_latExtents
private

Used for the state of the options dialog.

Definition at line 144 of file MosaicGridTool.h.

Referenced by autoGrid(), fromPvl(), latExtents(), MosaicGridTool(), setLatExtents(), and toPvl().

◆ m_latInc

Angle Isis::MosaicGridTool::m_latInc
private

Latitude increment for drawing the grid.

Definition at line 141 of file MosaicGridTool.h.

Referenced by autoGrid(), drawGrid(), fromPvl(), latInc(), MosaicGridTool(), setLatInc(), and toPvl().

◆ m_lonExtents

GridExtentSource Isis::MosaicGridTool::m_lonExtents
private

Used for the state of the options dialog.

Definition at line 148 of file MosaicGridTool.h.

Referenced by autoGrid(), fromPvl(), lonExtents(), MosaicGridTool(), setLonExtents(), and toPvl().

◆ m_lonInc

Angle Isis::MosaicGridTool::m_lonInc
private

Longitude increment for drawing the grid.

Definition at line 142 of file MosaicGridTool.h.

Referenced by autoGrid(), drawGrid(), fromPvl(), lonInc(), MosaicGridTool(), setLonInc(), and toPvl().

◆ m_maxLat

Latitude Isis::MosaicGridTool::m_maxLat
private

Maximum latitude of the grid.

Definition at line 145 of file MosaicGridTool.h.

Referenced by autoGrid(), drawGrid(), fromPvl(), maxLat(), MosaicGridTool(), setLatExtents(), setLonExtents(), and toPvl().

◆ m_maxLon

Longitude Isis::MosaicGridTool::m_maxLon
private

Maximum longitude of the grid.

Definition at line 149 of file MosaicGridTool.h.

Referenced by autoGrid(), drawGrid(), fromPvl(), maxLon(), MosaicGridTool(), setLonExtents(), setLonInc(), and toPvl().

◆ m_minLat

Latitude Isis::MosaicGridTool::m_minLat
private

Minimum latitude of the grid.

Definition at line 146 of file MosaicGridTool.h.

Referenced by autoGrid(), drawGrid(), fromPvl(), minLat(), MosaicGridTool(), setLatExtents(), setLonExtents(), and toPvl().

◆ m_minLon

Longitude Isis::MosaicGridTool::m_minLon
private

Minimum longitude of the grid.

Definition at line 150 of file MosaicGridTool.h.

Referenced by autoGrid(), drawGrid(), fromPvl(), minLon(), MosaicGridTool(), setLonExtents(), setLonInc(), and toPvl().

◆ m_previousBoundingRect

QRectF Isis::MosaicGridTool::m_previousBoundingRect
private

The bounding rectangle of the previous set of open cubes.

Definition at line 156 of file MosaicGridTool.h.

Referenced by autoGrid(), getToolBarWidget(), MosaicGridTool(), and onCubesChanged().

◆ m_shouldCheckBoxes

bool Isis::MosaicGridTool::m_shouldCheckBoxes
private

True when the tool is first opened to check the checkboxes.

Definition at line 136 of file MosaicGridTool.h.

Referenced by fromPvl(), MosaicGridTool(), onToolOpen(), and toPvl().

◆ p_active

bool Isis::MosaicTool::p_active
privateinherited

Is the tool active?

Definition at line 120 of file MosaicTool.h.

Referenced by Isis::MosaicTool::activate(), and Isis::MosaicTool::isActive().


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

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:20:46