![]() |
VR-Forces 4.2 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. | |
Public Member Functions inherited from DtArchivableObject | |
| DtArchivableObject (QString name, DtArchivableObjectCreator fcn) | |
| This constructor will add this object to the archivable object factory. | |
| DtArchivableObject (QString name) | |
| DtArchivableObject () | |
| virtual | ~DtArchivableObject () |
| virtual QString | name () const |
| DtArchiver * | archiver () |
| Returns the archiver of this object. | |
| virtual void | read (QTextStream &s) |
| Reads/writes archiver. | |
| virtual void | write (QTextStream &s) |
| virtual void | setLevel (int i) |
| virtual int | level () const |
| virtual DtArchivableObject * | clone () |
| Allows for cloning of this object. | |
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 |
Protected Attributes inherited from DtArchivableObject | |
| DtArchiver * | myArchiver |
| DtTMRubberBand::DtTMRubberBand | ( | ) |
Constructor.
|
virtual |
Destructor.
|
protected |
Copy constructor.
|
virtual |
Initializer.
|
virtual |
Returns a reference to the pen used for drawing in the active state.
|
virtual |
Sets the pen used for drawing in the active state.
|
virtual |
Returns a reference to the pen use for drawing in the inactive state.
|
virtual |
Sets the pen used for drawing in the inactive state.
|
virtual |
Sets the location and size of the rubber band.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Returns a pointer to the window tdb view.
|
virtual |
Set the window tdb view.
|
virtual |
Get myTdbView.
|
static |
Returns a newly created instance of a DtTMRubberBand.
|
signal |
Called after setViewportExtents.
|
signal |
Called after internally changing tdb view.
|
signal |
Indicates that the rubber band has been updated.
|
signal |
Called when the active pen changed.
|
signal |
Called when the inactive pen changed.
|
signal |
notifies whoever wants to know that this rubber band is active
|
virtualslot |
Sets the tdb view and emits tdbViewSet.
|
virtualslot |
Sets the minimap view.
|
virtualslot |
The window of this rubber band is now active.
|
protectedvirtual |
|
protected |
Assignment operator.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |