A DtAttachableHatTextUpdater is used to update a HAT text object that can be positioned in the scene by (possibly) attaching it to another object. This updater extends the usual updater paradigm in that it not only positions the object, but also calculates and sets the actual HAT text. To do so, the scene object must have a model of type DtWidgetLabel in its model list.
|
| | DtAttachableHatTextUpdater (DtDe &de, DtUniqueID id) |
| |
| virtual | ~DtAttachableHatTextUpdater () |
| |
| | DtAttachableHatTextUpdater ()=delete |
| |
| | DtAttachableHatTextUpdater (const DtAttachableHatTextUpdater &other)=delete |
| |
| DtAttachableHatTextUpdater & | operator= (const DtAttachableHatTextUpdater &other)=delete |
| |
| virtual void | update (double simTime) |
| |
| virtual void | setUseHighestTerrainLod (bool useHighest) |
| |
| virtual bool | useHighestTerrainLod () const |
| |
| virtual void | setTextProportion (double proportion) |
| |
| virtual void | setDisplayUnitCollectionName (const DtUnicode &displayUnitCollectionName) |
| |
| | DtAttachableUpdater (DtDe &de, DtUniqueID id) |
| |
| virtual | ~DtAttachableUpdater () |
| |
| virtual bool | needsUpdate (DtTime tNow) |
| |
| virtual void | addAttachedPoint (const DtVector &position, int targetVertexIndex) |
| |
| virtual void | addAttachedPoint (DtUniqueID uniqueID, int targetVertexIndex) |
| |
| virtual void | addAttachedPoint (DtUniqueID uniqueID, int vtx1, int vtx2, double proportion, int targetVertexIndex) |
| |
| virtual const AttachedPoint & | attachedPoint (int targetVertexIndex) const |
| |
| virtual void | setPositionOffset (const DtVector &offset) |
| |
| virtual void | setWorldPositionOffset (const DtVector &offset) |
| |
| virtual void | setPositionOffset (const DtVector &offset, int vtx) |
| |
| virtual void | setOrientationOffset (const DtTaitBryan &offset) |
| |
| virtual void | setWorldOrientationOffset (const DtTaitBryan &offset) |
| |
| virtual void | setAttachedPointMode (unsigned int mode, int vtx) |
| |
| virtual void | update (DtTime tNow) |
| |
| virtual void | setSceneObject (DtSceneObject *sceneObject) |
| |
| virtual void | doAttachment (DtTime tNow) |
| |
| DtTime | lastUpdateTime () const |
| |
| virtual bool | updateIfNeeded (DtTime tNow) |
| |
| virtual | ~DtTickable () |
| |
| virtual void | setIsThreadSafe (bool safe) |
| |
| virtual bool | isThreadSafe () const |
| |
| virtual void | setTickableListState (TickableListState safeList) |
| |
| virtual TickableListState | tickableListState () const |
| |
| virtual void | setUpdatePeriod (unsigned int period) |
| |
| virtual unsigned int | updatePeriod () const |
| |
| virtual bool | lodSystemEnabled () const |
| |