![]() |
VR-Forces 4.0.4 Class Documentation
|
This is for the navigation types that are shared between menus and navigation items. More...

Public Slots | |
| virtual bool | mouseEvent (DtTMMapArea *, QMouseEvent *evnt, const DtPoint &pnt) |
| virtual bool | keyboardEvent (DtTMMapArea *area, QKeyEvent *evnt) |
| virtual void | timedPan () |
Public Member Functions | |
| DtNavigationHandler () | |
| Default Constructor. | |
| virtual | ~DtNavigationHandler () |
| Destructor. | |
| virtual bool | aboutToDraw (DtTMMapArea *area, QPainter *pix) |
| virtual bool | userDefinedAction (DtUserDefinedType iAction, void *usr) |
Static Public Member Functions | |
| static DtEventHandler * | create (DtEventController *owner, void *usr) |
| Static creator. | |
Protected Member Functions | |
| virtual bool | processNavigationKey (DtTMMapArea *area, int key, int state) |
| Switch statement to process navigation keypresses. | |
| virtual void | mouseZoom (DtTMMapArea *area, QMouseEvent *e) |
| virtual void | reorderRectangle (QRect &rect) |
| virtual void | resizeRectToFitAspectRatio (QRect &r, const double &ratio) |
| virtual void | resizeRectToFitAspectRatio (DtExtent &ext, DtTMViewportExtents *extents) |
| virtual void | resizeRectToFitAspectRatioFromCenter (DtExtent &ext, DtTMViewportExtents *extents) |
| virtual DtExtent | zoom (const DtExtent &ext, double mag) const |
| virtual void | zoomToExtent (DtTMMapArea *area) |
| virtual DtExtent | getZoomExtentRect (DtTMMapArea *area, const DtModelData *d) const |
| Extent must be in database coordinates. | |
| virtual void | zoomToExtent (DtTMMapArea *area, const QRect &rect) |
| virtual DtExtent | convertRectToExtent (DtTMMapArea *area, const QRect &rect) const |
| virtual void | setCursor (QEvent *) |
| Sets the cursor based on the event. | |
Protected Attributes | |
| DtUserDefinedType | myNavigationDirection |
| QTimer | myPanTimer |
| bool | myShiftTracking |
| QPoint | myMouseBegin |
| QPoint | myMouseLast |
| DtTMArea * | myTimerMap |
| int | myKey |
| int | myState |
| bool | myLeftButton |
| bool | myMouseShiftMap |
| bool | myInMapShiftMode |
| DtPoint | myMapBegin |
| DtPoint | myMapLast |
This is for the navigation types that are shared between menus and navigation items.
Default Constructor.
| virtual DtNavigationHandler::~DtNavigationHandler | ( | ) | [virtual] |
Destructor.
| static DtEventHandler* DtNavigationHandler::create | ( | DtEventController * | owner, |
| void * | usr | ||
| ) | [static] |
Static creator.
Reimplemented in DtTerrainNavigationHandler.
| virtual bool DtNavigationHandler::aboutToDraw | ( | DtTMMapArea * | area, |
| QPainter * | pix | ||
| ) | [virtual] |
Reimplemented from DtEventHandler.
| virtual bool DtNavigationHandler::userDefinedAction | ( | DtUserDefinedType | iAction, |
| void * | usr | ||
| ) | [virtual] |
Reimplemented from DtEventHandler.
Reimplemented in DtTerrainNavigationHandler.
| virtual bool DtNavigationHandler::mouseEvent | ( | DtTMMapArea * | , |
| QMouseEvent * | evnt, | ||
| const DtPoint & | pnt | ||
| ) | [virtual, slot] |
Reimplemented from DtEventHandler.
| virtual bool DtNavigationHandler::keyboardEvent | ( | DtTMMapArea * | area, |
| QKeyEvent * | evnt | ||
| ) | [virtual, slot] |
Reimplemented from DtEventHandler.
| virtual void DtNavigationHandler::timedPan | ( | ) | [virtual, slot] |
| virtual bool DtNavigationHandler::processNavigationKey | ( | DtTMMapArea * | area, |
| int | key, | ||
| int | state | ||
| ) | [protected, virtual] |
Switch statement to process navigation keypresses.
| virtual void DtNavigationHandler::mouseZoom | ( | DtTMMapArea * | area, |
| QMouseEvent * | e | ||
| ) | [protected, virtual] |
| virtual void DtNavigationHandler::reorderRectangle | ( | QRect & | rect | ) | [protected, virtual] |
| virtual void DtNavigationHandler::resizeRectToFitAspectRatio | ( | QRect & | r, |
| const double & | ratio | ||
| ) | [protected, virtual] |
| virtual void DtNavigationHandler::resizeRectToFitAspectRatio | ( | DtExtent & | ext, |
| DtTMViewportExtents * | extents | ||
| ) | [protected, virtual] |
| virtual void DtNavigationHandler::resizeRectToFitAspectRatioFromCenter | ( | DtExtent & | ext, |
| DtTMViewportExtents * | extents | ||
| ) | [protected, virtual] |
| virtual DtExtent DtNavigationHandler::zoom | ( | const DtExtent & | ext, |
| double | mag | ||
| ) | const [protected, virtual] |
| virtual void DtNavigationHandler::zoomToExtent | ( | DtTMMapArea * | area | ) | [protected, virtual] |
| virtual DtExtent DtNavigationHandler::getZoomExtentRect | ( | DtTMMapArea * | area, |
| const DtModelData * | d | ||
| ) | const [protected, virtual] |
Extent must be in database coordinates.
| virtual void DtNavigationHandler::zoomToExtent | ( | DtTMMapArea * | area, |
| const QRect & | rect | ||
| ) | [protected, virtual] |
| virtual DtExtent DtNavigationHandler::convertRectToExtent | ( | DtTMMapArea * | area, |
| const QRect & | rect | ||
| ) | const [protected, virtual] |
| virtual void DtNavigationHandler::setCursor | ( | QEvent * | ) | [protected, virtual] |
Sets the cursor based on the event.
QTimer DtNavigationHandler::myPanTimer [protected] |
bool DtNavigationHandler::myShiftTracking [protected] |
QPoint DtNavigationHandler::myMouseBegin [protected] |
QPoint DtNavigationHandler::myMouseLast [protected] |
DtTMArea* DtNavigationHandler::myTimerMap [protected] |
int DtNavigationHandler::myKey [protected] |
int DtNavigationHandler::myState [protected] |
bool DtNavigationHandler::myLeftButton [protected] |
bool DtNavigationHandler::myMouseShiftMap [protected] |
bool DtNavigationHandler::myInMapShiftMode [protected] |
DtPoint DtNavigationHandler::myMapBegin [protected] |
DtPoint DtNavigationHandler::myMapLast [protected] |