Isis Developer Reference
Isis::MosaicTrackTool Class Reference

#include <MosaicTrackTool.h>

Inheritance diagram for Isis::MosaicTrackTool:
Inheritance graph
Collaboration diagram for Isis::MosaicTrackTool:
Collaboration graph

Public Slots

virtual void mouseMove (QPointF p)
 
virtual void mouseLeave ()
 Clears the labels if the mouse leaves the application.
 
void activate (bool)
 Activates the tool.
 

Signals

void activated (bool)
 

Public Member Functions

 MosaicTrackTool (MosaicSceneWidget *, QStatusBar *)
 MosaicTrackTool constructor.
 
virtual ~MosaicTrackTool ()
 
void updateLabels (QPointF p)
 Updates the tracking labels.
 
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 ()
 
virtual PvlObject toPvl () const
 
virtual void fromPvl (const PvlObject &obj)
 
virtual QString projectPvlObjectName () const
 

Protected Slots

virtual void updateTool ()
 

Protected Member Functions

virtual void mouseEnter ()
 
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 ()
 
virtual QWidgetgetToolBarWidget ()
 This method returns a widget that will be put in a tool bar when the tool is activated.
 

Detailed Description

Author
????-??-?? Unknown

Constructor & Destructor Documentation

◆ MosaicTrackTool()

Isis::MosaicTrackTool::MosaicTrackTool ( MosaicSceneWidget * scene,
QStatusBar * status )

MosaicTrackTool constructor.

Parameters
parent

References Isis::MosaicTool::getWidget().

◆ ~MosaicTrackTool()

Isis::MosaicTrackTool::~MosaicTrackTool ( )
virtual

Member Function Documentation

◆ activate

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

Activates the tool.

Parameters
on

References Isis::MosaicTool::activated().

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

◆ activated

void Isis::MosaicTool::activated ( bool )
signalinherited

◆ addTo() [1/3]

virtual void Isis::MosaicTool::addTo ( QMenu * menu)
inlinevirtualinherited

◆ addTo() [2/3]

void Isis::MosaicTool::addTo ( QToolBar * toolBar)
virtualinherited

◆ addTo() [3/3]

void Isis::MosaicTool::addTo ( ToolPad * toolPad)
virtualinherited

◆ fromPvl()

◆ getIcon()

◆ getToolBarWidget()

QWidget * Isis::MosaicTool::getToolBarWidget ( )
protectedvirtualinherited

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 in Isis::MosaicAreaTool, Isis::MosaicControlNetTool, Isis::MosaicFindTool, Isis::MosaicGridTool, and Isis::MosaicZoomTool.

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

◆ getViewActions()

QList< QAction * > Isis::MosaicTool::getViewActions ( )
virtualinherited

Reimplemented in Isis::MosaicZoomTool.

◆ getWidget()

◆ isActive()

◆ mouseButtonPress()

void Isis::MosaicTool::mouseButtonPress ( QPointF ,
Qt::MouseButton s )
protectedvirtualinherited

◆ mouseButtonRelease()

void Isis::MosaicTool::mouseButtonRelease ( QPointF ,
Qt::MouseButton s )
protectedvirtualinherited

◆ mouseDoubleClick()

void Isis::MosaicTool::mouseDoubleClick ( QPointF )
protectedvirtualinherited

◆ mouseEnter()

virtual void Isis::MosaicTool::mouseEnter ( )
inlineprotectedvirtualinherited

◆ mouseLeave

void Isis::MosaicTrackTool::mouseLeave ( )
virtualslot

Clears the labels if the mouse leaves the application.

◆ mouseMove

void Isis::MosaicTrackTool::mouseMove ( QPointF p)
virtualslot

References updateLabels().

◆ mouseWheel()

void Isis::MosaicTool::mouseWheel ( QPointF ,
int delta )
protectedvirtualinherited

Reimplemented in Isis::MosaicZoomTool.

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

◆ projectPvlObjectName()

QString Isis::MosaicTool::projectPvlObjectName ( ) const
virtualinherited

◆ rubberBandComplete()

virtual void Isis::MosaicTool::rubberBandComplete ( QRectF r,
Qt::MouseButton s )
inlineprotectedvirtualinherited

Reimplemented in Isis::MosaicZoomTool.

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

◆ toolBarDestroyed()

void Isis::MosaicTool::toolBarDestroyed ( QObject * obj)
protectedinherited

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

◆ toPvl()

◆ updateLabels()

void Isis::MosaicTrackTool::updateLabels ( QPointF p)

Updates the tracking labels.

Displays the Planetocentric Latitude and 360 Positive East Longitude in the lower right corner of the window.

Parameters
p

References Isis::MosaicSceneWidget::getProjection(), Isis::MosaicTool::getWidget(), and Isis::Projection::Triaxial.

Referenced by mouseMove().

◆ updateTool

virtual void Isis::MosaicTool::updateTool ( )
inlineprotectedvirtualslotinherited

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