Isis Developer Reference
|
This displays a box with a given distance from a point. More...
#include <MosaicAreaTool.h>
Public Slots | |
void | userChangedBox () |
void | clearBox () |
void | activate (bool) |
Activates the tool. | |
Signals | |
void | activated (bool) |
Public Member Functions | |
MosaicAreaTool (MosaicSceneWidget *) | |
MosaicAreaTool constructor. | |
void | addToMenu (QMenu *menu) |
Adds the pan action to the given menu. | |
PvlObject | toPvl () const |
void | fromPvl (const PvlObject &obj) |
QString | projectPvlObjectName () const |
bool | isActive () const |
Returns the activeness of this toool. | |
QPixmap | getIcon (QString iconName) const |
returns the path to the icon directory. | |
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 | |
QAction * | getPrimaryAction () |
Adds the action to the toolpad. | |
QWidget * | getToolBarWidget () |
This method returns a widget that will be put in a tool bar when the tool is activated. | |
QWidget * | createToolBarWidget () |
Creates the widget to add to the tool bar. | |
void | mouseButtonRelease (QPointF, Qt::MouseButton) |
virtual void | mouseEnter () |
virtual void | mouseMove (QPointF) |
virtual void | mouseLeave () |
virtual void | mouseDoubleClick (QPointF) |
virtual void | mouseButtonPress (QPointF, Qt::MouseButton s) |
virtual void | mouseWheel (QPointF, int delta) |
virtual void | rubberBandComplete (QRectF r, Qt::MouseButton s) |
void | toolBarDestroyed (QObject *obj) |
MosaicSceneWidget * | getWidget () |
This displays a box with a given distance from a point.
Isis::MosaicAreaTool::MosaicAreaTool | ( | MosaicSceneWidget * | scene | ) |
|
slotinherited |
Activates the tool.
on |
References Isis::MosaicTool::activated().
Referenced by Isis::MosaicTool::addTo().
|
signalinherited |
|
inlinevirtualinherited |
|
virtualinherited |
References Isis::MosaicTool::getToolBarWidget(), and Isis::MosaicTool::toolBarDestroyed().
|
virtualinherited |
void Isis::MosaicAreaTool::addToMenu | ( | QMenu * | menu | ) |
Adds the pan action to the given menu.
menu |
|
slot |
References Isis::MosaicSceneWidget::getScene(), and Isis::MosaicTool::getWidget().
Referenced by getToolBarWidget(), mouseButtonRelease(), and userChangedBox().
|
protected |
Creates the widget to add to the tool bar.
parent |
|
virtual |
Reimplemented from Isis::MosaicTool.
References Isis::toBool(), and userChangedBox().
|
inherited |
returns the path to the icon directory.
References Isis::FileName::expanded().
Referenced by getPrimaryAction(), Isis::MosaicControlNetTool::getPrimaryAction(), Isis::MosaicFindTool::getPrimaryAction(), Isis::MosaicGridTool::getPrimaryAction(), Isis::MosaicPanTool::getPrimaryAction(), Isis::MosaicSelectTool::getPrimaryAction(), Isis::MosaicZoomTool::getPrimaryAction(), and Isis::MosaicZoomTool::MosaicZoomTool().
|
protectedvirtual |
Adds the action to the toolpad.
toolpad |
Implements Isis::MosaicTool.
References Isis::MosaicTool::getIcon().
|
protectedvirtual |
This method returns a widget that will be put in a tool bar when the tool is activated.
This method will only be called once so it can new the widget without a problem.
Reimplemented from Isis::MosaicTool.
References clearBox(), and userChangedBox().
Reimplemented in Isis::MosaicZoomTool.
|
inlineprotectedinherited |
Referenced by Isis::MosaicGridTool::autoGrid(), clearBox(), Isis::MosaicGridTool::clearGrid(), Isis::MosaicFindTool::clearPoint(), Isis::MosaicGridTool::domainMaxLon(), Isis::MosaicGridTool::domainMinLon(), Isis::MosaicGridTool::drawGrid(), Isis::MosaicGridTool::fromPvl(), Isis::MosaicGridTool::getToolBarWidget(), Isis::MosaicFindTool::getUserGroundPoint(), Isis::MosaicGridTool::latType(), Isis::MosaicControlNetTool::loadNetwork(), Isis::MosaicGridTool::lonDomain(), Isis::MosaicControlNetTool::MosaicControlNetTool(), Isis::MosaicGridTool::MosaicGridTool(), Isis::MosaicTrackTool::MosaicTrackTool(), Isis::MosaicControlNetTool::mouseButtonRelease(), mouseButtonRelease(), Isis::MosaicFindTool::mouseButtonRelease(), Isis::MosaicZoomTool::mouseWheel(), Isis::MosaicGridTool::onCubesChanged(), Isis::MosaicGridTool::onProjectionChanged(), Isis::MosaicZoomTool::rubberBandComplete(), Isis::MosaicGridTool::sceneWidget(), Isis::MosaicGridTool::setLatExtents(), Isis::MosaicGridTool::setLonExtents(), Isis::MosaicTrackTool::updateLabels(), Isis::MosaicZoomTool::updateResolutionBox(), Isis::MosaicPanTool::updateTool(), Isis::MosaicSelectTool::updateTool(), Isis::MosaicZoomTool::updateTool(), userChangedBox(), and Isis::MosaicZoomTool::zoomFit().
|
inlineinherited |
Returns the activeness of this toool.
Referenced by Isis::MosaicControlNetTool::mouseButtonRelease(), Isis::MosaicZoomTool::mouseButtonRelease(), mouseButtonRelease(), Isis::MosaicFindTool::mouseButtonRelease(), Isis::MosaicZoomTool::rubberBandComplete(), Isis::MosaicFindTool::updateTool(), Isis::MosaicPanTool::updateTool(), Isis::MosaicSelectTool::updateTool(), and Isis::MosaicZoomTool::updateTool().
|
protectedvirtualinherited |
Referenced by Isis::MosaicTool::MosaicTool().
|
protectedvirtual |
Reimplemented from Isis::MosaicTool.
References clearBox(), Isis::MosaicSceneWidget::getProjection(), Isis::MosaicSceneWidget::getView(), Isis::MosaicTool::getWidget(), Isis::MosaicTool::isActive(), and userChangedBox().
|
protectedvirtualinherited |
Referenced by Isis::MosaicTool::MosaicTool().
|
inlineprotectedvirtualinherited |
Referenced by Isis::MosaicTool::MosaicTool().
|
inlineprotectedvirtualinherited |
Referenced by Isis::MosaicTool::MosaicTool().
|
protectedvirtualinherited |
Referenced by Isis::MosaicTool::MosaicTool().
|
protectedvirtualinherited |
Reimplemented in Isis::MosaicZoomTool.
Referenced by Isis::MosaicTool::MosaicTool().
|
virtual |
Reimplemented from Isis::MosaicTool.
Referenced by toPvl().
|
inlineprotectedvirtualinherited |
Reimplemented in Isis::MosaicZoomTool.
Referenced by Isis::MosaicTool::MosaicTool().
|
protectedinherited |
Referenced by Isis::MosaicTool::addTo().
|
virtual |
Reimplemented from Isis::MosaicTool.
References projectPvlObjectName(), and Isis::toString().
|
inlineprotectedvirtualslotinherited |
Referenced by Isis::MosaicTool::MosaicTool().
|
slot |
References clearBox(), Isis::MosaicSceneWidget::getProjection(), Isis::MosaicSceneWidget::getScene(), Isis::MosaicSceneWidget::getView(), Isis::MosaicTool::getWidget(), Isis::Distance::Meters, Isis::Projection::projectionType(), Isis::IString::ToDouble(), Isis::Projection::Triaxial, Isis::Projection::XCoord(), and Isis::Projection::YCoord().
Referenced by fromPvl(), getToolBarWidget(), MosaicAreaTool(), and mouseButtonRelease().