![]() |
VR-Forces 4.0.4 Class Documentation
|

Public Slots | |
| virtual void | setViewportExtents (const DtTMViewportExtents *v) |
| Sets the tdb view and emits tdbViewSet. | |
| virtual void | setMinimapExtents (const DtTMViewportExtents *v) |
| Sets the minimap view. | |
| virtual void | setActive () |
| The window of this rubber band is now active. | |
Signals | |
| void | viewportExtentsSet (const DtTMViewportExtents *v) |
| Called after setViewportExtents. | |
| void | viewportExtentsChanged (const DtTMViewportExtents *v) |
| Called after internally changing tdb view. | |
| void | rubberBandUpdated () |
| Indicates that the rubber band has been updated. | |
| void | activePenChanged (const QPen *) |
| Called when the active pen changed. | |
| void | inactivePenChanged (const QPen *) |
| Called when the inactive pen changed. | |
| void | isActive (DtTMRubberBand *) |
| notifies whoever wants to know that this rubber band is active | |
Public Member Functions | |
| DtTMRubberBand () | |
| Constructor. | |
| virtual | ~DtTMRubberBand () |
| Destructor. | |
| virtual bool | init (const DtTMMiniMap *m, const DtTMMapArea *a) |
| Initializer. | |
| virtual const QPen * | activePen () const |
| Returns a reference to the pen used for drawing in the active state. | |
| virtual void | setActivePen (const QPen *p) |
| Sets the pen used for drawing in the active state. | |
| virtual const QPen * | inactivePen () const |
| Returns a reference to the pen use for drawing in the inactive state. | |
| virtual void | setInactivePen (const QPen *p) |
| Sets the pen used for drawing in the inactive state. | |
| virtual void | setPct (const double pctX, const double pctY, const double pctW, const double pctH) |
| Sets the location and size of the rubber band. | |
| virtual double | pctX () const |
| virtual void | setPctX (const double d) |
| virtual double | pctY () const |
| virtual void | setPctY (const double d) |
| virtual double | pctW () const |
| virtual void | setPctW (const double d) |
| virtual double | pctH () const |
| virtual void | setPctH (const double d) |
| virtual const DtTMViewportExtents * | windowViewportExtents () const |
| Returns a pointer to the window tdb view. | |
| virtual void | setWindowViewportExtents (const DtTMViewportExtents *v) |
| Set the window tdb view. | |
| virtual const DtTMViewportExtents & | viewportExtents () const |
| Get myTdbView. | |
Static Public Member Functions | |
| static DtTMRubberBand * | create () |
| Returns a newly created instance of a DtTMRubberBand. | |
Protected Member Functions | |
| virtual void | resizeRectToFitAspectRatio (DtExtent &ext, DtTMViewportExtents *extents) |
| DtTMRubberBand (const DtTMRubberBand &orig) | |
| Copy constructor. | |
| DtTMRubberBand & | operator= (const DtTMRubberBand &rhs) |
| Assignment operator. | |
Protected Attributes | |
| DtTMViewportExtents | myViewportExtents |
| const DtTMViewportExtents * | myWindowViewportExtents |
| QPen * | myActivePen |
| QPen * | myInactivePen |
| double | myPctX |
| double | myPctY |
| double | myPctW |
| double | myPctH |
Constructor.
| virtual DtTMRubberBand::~DtTMRubberBand | ( | ) | [virtual] |
Destructor.
| DtTMRubberBand::DtTMRubberBand | ( | const DtTMRubberBand & | orig | ) | [protected] |
Copy constructor.
| virtual bool DtTMRubberBand::init | ( | const DtTMMiniMap * | m, |
| const DtTMMapArea * | a | ||
| ) | [virtual] |
Initializer.
| virtual const QPen* DtTMRubberBand::activePen | ( | ) | const [virtual] |
Returns a reference to the pen used for drawing in the active state.
| virtual void DtTMRubberBand::setActivePen | ( | const QPen * | p | ) | [virtual] |
Sets the pen used for drawing in the active state.
| virtual const QPen* DtTMRubberBand::inactivePen | ( | ) | const [virtual] |
Returns a reference to the pen use for drawing in the inactive state.
| virtual void DtTMRubberBand::setInactivePen | ( | const QPen * | p | ) | [virtual] |
Sets the pen used for drawing in the inactive state.
| virtual void DtTMRubberBand::setPct | ( | const double | pctX, |
| const double | pctY, | ||
| const double | pctW, | ||
| const double | pctH | ||
| ) | [virtual] |
Sets the location and size of the rubber band.
| virtual double DtTMRubberBand::pctX | ( | ) | const [virtual] |
| virtual void DtTMRubberBand::setPctX | ( | const double | d | ) | [virtual] |
| virtual double DtTMRubberBand::pctY | ( | ) | const [virtual] |
| virtual void DtTMRubberBand::setPctY | ( | const double | d | ) | [virtual] |
| virtual double DtTMRubberBand::pctW | ( | ) | const [virtual] |
| virtual void DtTMRubberBand::setPctW | ( | const double | d | ) | [virtual] |
| virtual double DtTMRubberBand::pctH | ( | ) | const [virtual] |
| virtual void DtTMRubberBand::setPctH | ( | const double | d | ) | [virtual] |
| virtual const DtTMViewportExtents* DtTMRubberBand::windowViewportExtents | ( | ) | const [virtual] |
Returns a pointer to the window tdb view.
| virtual void DtTMRubberBand::setWindowViewportExtents | ( | const DtTMViewportExtents * | v | ) | [virtual] |
Set the window tdb view.
| virtual const DtTMViewportExtents& DtTMRubberBand::viewportExtents | ( | ) | const [virtual] |
Get myTdbView.
| static DtTMRubberBand* DtTMRubberBand::create | ( | ) | [static] |
Returns a newly created instance of a DtTMRubberBand.
| void DtTMRubberBand::viewportExtentsSet | ( | const DtTMViewportExtents * | v | ) | [signal] |
Called after setViewportExtents.
| void DtTMRubberBand::viewportExtentsChanged | ( | const DtTMViewportExtents * | v | ) | [signal] |
Called after internally changing tdb view.
| void DtTMRubberBand::rubberBandUpdated | ( | ) | [signal] |
Indicates that the rubber band has been updated.
| void DtTMRubberBand::activePenChanged | ( | const QPen * | ) | [signal] |
Called when the active pen changed.
| void DtTMRubberBand::inactivePenChanged | ( | const QPen * | ) | [signal] |
Called when the inactive pen changed.
| void DtTMRubberBand::isActive | ( | DtTMRubberBand * | ) | [signal] |
notifies whoever wants to know that this rubber band is active
| virtual void DtTMRubberBand::setViewportExtents | ( | const DtTMViewportExtents * | v | ) | [virtual, slot] |
Sets the tdb view and emits tdbViewSet.
| virtual void DtTMRubberBand::setMinimapExtents | ( | const DtTMViewportExtents * | v | ) | [virtual, slot] |
Sets the minimap view.
| virtual void DtTMRubberBand::setActive | ( | ) | [virtual, slot] |
The window of this rubber band is now active.
| virtual void DtTMRubberBand::resizeRectToFitAspectRatio | ( | DtExtent & | ext, |
| DtTMViewportExtents * | extents | ||
| ) | [protected, virtual] |
| DtTMRubberBand& DtTMRubberBand::operator= | ( | const DtTMRubberBand & | rhs | ) | [protected] |
Assignment operator.
DtTMViewportExtents DtTMRubberBand::myViewportExtents [protected] |
const DtTMViewportExtents* DtTMRubberBand::myWindowViewportExtents [protected] |
QPen* DtTMRubberBand::myActivePen [protected] |
QPen* DtTMRubberBand::myInactivePen [protected] |
double DtTMRubberBand::myPctX [protected] |
double DtTMRubberBand::myPctY [protected] |
double DtTMRubberBand::myPctW [protected] |
double DtTMRubberBand::myPctH [protected] |