![]() |
VR-Forces Developer's Guide
|
The attribute layout tells DtAttributes where to draw.

Public Member Functions | |
| virtual | ~DtImageAttribute () |
| DtImageAttribute ()=delete | |
| DtImageAttribute (const DtImageAttribute &other)=delete | |
| DtImageAttribute & | operator= (const DtImageAttribute &other)=delete |
| virtual void | setImageFilePath (const std::string &imageFilePath) |
| virtual void | setPosition (float x, float y, float z, float w) |
| virtual void | setOffset (double x, double y) |
| virtual void | getMinSize (double &xOut, double &yOut) |
| virtual void | setColor (float r, float g, float b, float a) |
| virtual void | setSize (double x, double y) |
| virtual void | setShadowText (bool enabled) |
| virtual void | setVisible (bool visible) |
| virtual bool | visible () const |
| virtual void | setLodOutAltitude (double lodOutAltitude) override |
| virtual double | lodOutAltitude () const override |
| virtual void | setIsLodOutAltitudeEnabled (bool isEnabled) override |
| virtual bool | isLodOutAltitudeEnabled () const override |
| virtual void | setOverlay (unsigned int overlayId) |
| virtual void | setGroup (unsigned int group) |
Public Member Functions inherited from makVrv::DtAttribute | |
| DtAttribute () | |
| virtual | ~DtAttribute () |
| DtAttribute (const DtAttribute &other)=delete | |
| DtAttribute & | operator= (const DtAttribute &other)=delete |
| virtual void | setForegroundGroup (unsigned int group) |
| virtual void | setBackgroundGroup (unsigned int group) |
Protected Member Functions | |
| DtImageAttribute (DtDe &de) | |
| void | updateImageBox () |
Protected Attributes | |
| DtBaseQuadAttribute * | myQuadAttribute |
| DtBaseOutlineAttribute * | myOutlineAttribute |
| DtDe & | myDe |
| std::string | myImageFilePath |
| DtOsgTextureWrapper * | myQuadTexture |
| double | mySizeX |
| double | mySizeY |
| double | myLodOutAltitude |
| bool | myIsLodOutAltitudeEnabled |
Private Attributes | |
| friend | DtImageAttributeCreator |
Additional Inherited Members | |
Public Attributes inherited from makVrv::DtAttribute | |
| boost::signalslib::signal < void(DtAttribute *, double, double)> | signal_sizeChanged |
|
virtual |
DTOR.
|
delete |
Default Constructor not implemented.
|
delete |
Copy Constructor not implemented - Copy not allowed.
|
protected |
Protected CTOR Use DtImageAttributeCreator to create an instance of this class.
|
delete |
Assignment Operator not implemented - Assignment not allowed.
|
virtual |
Set the image to display.
Reimplemented in makVrf::DtVrfImageAttribute.
|
virtual |
Set the position of the attribute in world space, using vrvGraphics float packing.
Implements makVrv::DtAttribute.
Set the offset of the attribute.
Reimplemented from makVrv::DtAttribute.
Get the minimum size of the attribute.
Implements makVrv::DtAttribute.
Reimplemented in makVrf::DtVrfImageAttribute.
|
virtual |
Set the color of the attribute.
Implements makVrv::DtAttribute.
Set the size of the attribute.
Implements makVrv::DtAttribute.
Reimplemented in makVrf::DtVrfImageAttribute.
|
virtual |
Set whether attribute text should have shadows. This function is not supported by this class and does nothing.
Implements makVrv::DtAttribute.
|
virtual |
Set the attribute visible or hidden.
Implements makVrv::DtAttribute.
Reimplemented in makVrf::DtVrfImageAttribute.
|
virtual |
Get the visibility of the attribute.
Implements makVrv::DtAttribute.
|
overridevirtual |
Set the altitude, in meters, at which this attribute no longer appears.
Implements makVrv::DtAttribute.
|
overridevirtual |
Get the altitude, in meters, at which this attribute no longer appears.
Implements makVrv::DtAttribute.
|
overridevirtual |
Set whether or not this attribute will use the LOD Out Altitude property.
Implements makVrv::DtAttribute.
|
overridevirtual |
Get whether or not this attribute will use the LOD Out Altitude property.
Implements makVrv::DtAttribute.
Set the overlay to draw the attribute on Overlay ids are defined in DtOverlayManager.
Implements makVrv::DtAttribute.
Set the group to draw the atribute on. The group specifies the z order of the attribute on the overlay.
Implements makVrv::DtAttribute.
|
protected |
Updates the image box with the current settings. This function is not virtual because it is called from the constructor.
|
private |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |