|
| | DtWindowEntityAttachedSurface (DtDe &de, DtUniqueID id) |
| | CTOR. More...
|
| |
| virtual | ~DtWindowEntityAttachedSurface () |
| | DTOR. More...
|
| |
| virtual void | needsUpdate () |
| | Connected to signal_postUpdate. More...
|
| |
| virtual void | setEntity (DtUniqueID entityId) |
| | Set the entity ID that this surface will be "attached" to. More...
|
| |
| virtual void | slot_sceneObjectToBeDeleted () |
| | Connected to signal_sceneObjectToBeDeleted when the entity is deleted this surface (and all its children) are set to invisible. More...
|
| |
| virtual void | setChannel (DtChannel *channel) |
| | Set the channel this surface is active on. More...
|
| |
| virtual void | setChannelOverlay (std::string displayName, std::string windowName, std::string channelName) |
| | Set the channel this surface is active on. More...
|
| |
| virtual void | setOffsets (float xOffset, float yOffset, float zOffset) |
| | These are the offsets from the entity position that are projected onto the screen to the centre of the surface, these are in metres. More...
|
| |
| virtual void | setSurfaceWidthHeight (float width, float height) |
| | This is required as the corners for the clip box are recalcualted every frame. More...
|
| |
| virtual void | setSurfaceCoordinateExtents (float minU, float minV, float maxU, float maxV) |
| | These UV coords allow for a sub coordinate system on the surface. More...
|
| |
| | DtWindowSurface (DtDe &de, DtUniqueID id) |
| | CTOR. More...
|
| |
| virtual | ~DtWindowSurface () |
| | DTOR. More...
|
| |
| virtual void | setClipBox (DtClipBox clipBox) |
| | Set this surface's clip box. More...
|
| |
| virtual void | setClipBox (double bottomLeftX, double bottomLeftY, double topRightX, double topRightY) |
| |
| virtual void | setScaleToClipBox (const bool scaleToClipBox) |
| | Setting this flag means that a scale is calculated from the clip coordinates, and that is set as the scale for the surface. More...
|
| |
| | DtWindowObject (DtDe &de, DtUniqueID id) |
| | CTOR. More...
|
| |
| virtual | ~DtWindowObject () |
| | DTOR. More...
|
| |
| virtual void | setVisible (bool visible) |
| | Set / Get the window object's visibility in the window. More...
|
| |
| virtual bool | visible () |
| |
| virtual DtUniqueID | uniqueId () |
| | Returns the unique ID of this object. More...
|
| |
| DtWindowObject * | getParent () |
| | Get the parent windowObject. More...
|
| |
| virtual ChildList | childList () |
| | Returns the child list. More...
|
| |
| virtual void | addChild (DtUniqueID id) |
| | Add a child to this objects child list. More...
|
| |
| virtual void | removeChild (DtUniqueID id) |
| | Remove a child from this objects child list. More...
|
| |
| virtual void | setColor (float r, float g, float b, float a) |
| | Set / Get the objects's color. More...
|
| |
| virtual void | getColor (float &r, float &g, float &b, float &a) |
| |
| virtual void | slot_postTick () |
| | Slot for DtDe::signal_postTick, using when this object is flashing/blinking. More...
|
| |
| virtual Transform | windowTransform () |
| | Get the window transform that is the total transform of this object and all it's parents. More...
|
| |
| virtual DtClipBox | clipBox () |
| | Get this object's clip box specifications. More...
|
| |
| virtual void | setParentId (DtUniqueID parentId) |
| | Get / Set Parent IDs. More...
|
| |
| virtual DtUniqueID | getParentId () |
| |
| virtual void | setPosition (double x, double y) |
| | Set / Get the window position of this object. More...
|
| |
| virtual void | getPosition (double &x, double &y) |
| |
| virtual void | setScale (double scale) |
| | Set / Get the scale of the x y components. More...
|
| |
| virtual void | setScale (double x, double y) |
| |
| virtual void | getScale (double &x, double &y) |
| |
| virtual void | setRotation (double rotation) |
| | Set / Get the rotation of the window object around it's set position, (0.0,0.0) if none is set. More...
|
| |
| virtual void | getRotation (double &rotation) |
| |
| virtual void | setInheritColor (bool inheritColor) |
| | Set / Get whether this object inherits it's color from it's parent. More...
|
| |
| virtual bool | inheritColor () |
| |
| virtual void | setGroup (int id) |
| | Set / Get the group ID The higher the Z order the "closer" the element will be drawn to the eye point. More...
|
| |
| virtual int | group () |
| |
| virtual void | setFlashing (bool flashing, double interval) |
| | Set / Get this object to flash on and off at the given interval. More...
|
| |
| virtual void | getFlashing (bool &flashing, double &interval) |
| |
| virtual void | getChannelOverlay (std::string &displayName, std::string &windowName, std::string &channelName) |
| |
This surface is attached onto an entity.
The surface will adjust its position on screen to that of the entity with projectToScreen for the channel that is set. The clip coordinates will also update. Once an entity is successfully set on this class the surface is updated by the postUpdate signal. signal_sceneObjectToBeDeleted is also connected so that updates stop once the entity has been deleted.