Isis 3 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. More... | |
Signals | |
void | activated (bool) |
Public Member Functions | |
MosaicAreaTool (MosaicSceneWidget *) | |
MosaicAreaTool constructor. More... | |
void | addToMenu (QMenu *menu) |
Adds the pan action to the given menu. More... | |
PvlObject | toPvl () const |
void | fromPvl (const PvlObject &obj) |
QString | projectPvlObjectName () const |
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 | |
QAction * | getPrimaryAction () |
Adds the action to the toolpad. More... | |
QWidget * | getToolBarWidget () |
This method returns a widget that will be put in a tool bar when the tool is activated. More... | |
QWidget * | createToolBarWidget () |
Creates the widget to add to the tool bar. More... | |
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 |
|
virtualinherited |
References Isis::MosaicTool::getToolBarWidget(), and Isis::MosaicTool::toolBarDestroyed().
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::PvlObject::hasKeyword(), Isis::toBool(), and userChangedBox().
|
inherited |
returns the path to the icon directory.
References Isis::FileName::expanded().
Referenced by Isis::MosaicSelectTool::getPrimaryAction(), Isis::MosaicPanTool::getPrimaryAction(), Isis::MosaicZoomTool::getPrimaryAction(), getPrimaryAction(), Isis::MosaicFindTool::getPrimaryAction(), Isis::MosaicGridTool::getPrimaryAction(), Isis::MosaicControlNetTool::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.
Referenced by Isis::MosaicSceneWidget::getViewActions().
|
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(), mouseButtonRelease(), Isis::MosaicFindTool::mouseButtonRelease(), Isis::MosaicControlNetTool::mouseButtonRelease(), Isis::MosaicZoomTool::mouseWheel(), Isis::MosaicGridTool::onCubesChanged(), Isis::MosaicZoomTool::rubberBandComplete(), Isis::MosaicGridTool::sceneWidget(), Isis::MosaicGridTool::setLatExtents(), Isis::MosaicGridTool::setLonExtents(), Isis::MosaicTrackTool::updateLabels(), Isis::MosaicZoomTool::updateResolutionBox(), Isis::MosaicSelectTool::updateTool(), Isis::MosaicPanTool::updateTool(), Isis::MosaicZoomTool::updateTool(), userChangedBox(), and Isis::MosaicZoomTool::zoomFit().
|
inlineinherited |
Returns the activeness of this toool.
Referenced by Isis::MosaicSceneWidget::isControlNetToolActive(), Isis::MosaicZoomTool::mouseButtonRelease(), mouseButtonRelease(), Isis::MosaicFindTool::mouseButtonRelease(), Isis::MosaicControlNetTool::mouseButtonRelease(), Isis::MosaicZoomTool::rubberBandComplete(), Isis::MosaicSelectTool::updateTool(), Isis::MosaicPanTool::updateTool(), Isis::MosaicZoomTool::updateTool(), and Isis::MosaicFindTool::updateTool().
|
protectedvirtualinherited |
Referenced by Isis::MosaicTool::MosaicTool().
|
protectedvirtual |
|
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::TProjection::SetGround(), Isis::ToDouble(), Isis::Projection::Triaxial, Isis::Projection::XCoord(), and Isis::Projection::YCoord().
Referenced by fromPvl(), getToolBarWidget(), MosaicAreaTool(), and mouseButtonRelease().