![]() |
VR-Forces Developer's Guide
|
Class for a widget that displays remote graphics attribute groups.

Public Types | |
| enum | DtOriginPlacementPolicy { DtOriginPlacementPolicy::TopRight, DtOriginPlacementPolicy::TopLeft, DtOriginPlacementPolicy::BottomLeft, DtOriginPlacementPolicy::BottomRight, DtOriginPlacementPolicy::Center, DtOriginPlacementPolicy::TopCenter, DtOriginPlacementPolicy::MiddleLeft } |
Public Types inherited from makVrv::DtWidget | |
| typedef std::vector < DtDynamicSizeConfiguration > | DtDynamicSizeConfigurationCollection |
Public Member Functions | |
| DtAttributeGroupWidget (DtDe &de, DtUniqueID id) | |
| virtual | ~DtAttributeGroupWidget () |
| virtual void | setOriginPlacementPolicy (DtOriginPlacementPolicy originPolicy)=0 |
| virtual void | setBackgroundEnabled (bool enabled)=0 |
| virtual void | setBackgroundColor (float r, float g, float b, float a=1.0f)=0 |
| virtual void | setOutlineColor (float r, float g, float b, float a=1.0f)=0 |
| virtual void | setOutlineWidth (float width)=0 |
| virtual void | setOutlineEnabled (bool enabled)=0 |
| virtual void | setTypeText (unsigned int index, const DtUnicode &attributeName)=0 |
| virtual void | setTypeNumeric (unsigned int index, const DtUnicode &attributeName)=0 |
| virtual void | setTypeValueBar (unsigned int index, const DtUnicode &attributeName)=0 |
| virtual void | setTypeGraph (unsigned int index, const DtUnicode &attributeName, int maxValues)=0 |
| virtual void | setTypeImage (unsigned int index, const DtUnicode &attributeName)=0 |
| virtual void | setTypeValueText (unsigned int index, const DtUnicode &attributeName)=0 |
| virtual void | setTypeNull (unsigned int index)=0 |
| virtual void | setValueImage (unsigned int index, const std::string &imageFilepath)=0 |
| virtual void | setValueGraphPoint (unsigned int index, unsigned int n, float x, float y)=0 |
| virtual void | setValueBarValue (unsigned int index, float val)=0 |
| virtual void | setValueNumeric (unsigned int index, float val)=0 |
| virtual void | setValueTextValue (unsigned int index, const DtUnicode &val)=0 |
| virtual void | setAttributeVisible (unsigned int index, bool visible)=0 |
| virtual void | setHorizontalCenter (bool center)=0 |
| virtual void | setVerticalCenter (bool center)=0 |
| virtual void | setFontSize (float points)=0 |
| virtual void | setFontFile (const std::string &)=0 |
| virtual void | setShadowText (bool enabled)=0 |
| virtual void | setBackgroundOrderGroup (unsigned int groupId)=0 |
Public Member Functions inherited from makVrv::DtWidget | |
| DtWidget (DtDe &de, DtUniqueID id) | |
| virtual | ~DtWidget () |
| DtWidget (const DtWidget &other)=delete | |
| DtWidget & | operator= (const DtWidget &other)=delete |
| DtWidget (const DtWidget &&other)=delete | |
| DtWidget & | operator= (const DtWidget &&other)=delete |
| virtual void | setOverlay (unsigned int overlay)=0 |
| virtual unsigned int | overlay () const =0 |
| virtual void | setOrderGroup (unsigned int group)=0 |
| virtual void | setRotation (float)=0 |
| virtual unsigned int | orderGroup () const =0 |
| virtual void | setParentId (DtUniqueID id) |
| virtual void | setPosition (float x, float y, float z, float w=0)=0 |
| virtual void | setBackgroundImage (const std::string &filename)=0 |
| virtual void | setColor (float r, float g, float b, float a)=0 |
| virtual void | setOriginOffset (int xOffset, int yOffset)=0 |
| virtual void | setSize (float w, float h)=0 |
| virtual void | setAltitudeSpecificSizes (const DtWidget::DtDynamicSizeConfigurationCollection &configs) |
| virtual void | clearAltitudeSpecificSizes () |
| virtual void | setIsForcedSizeByAltitudeEnabled (bool enabled) |
| virtual void | setAltitudeForForcedSize (double minimumAltitudeForUse) |
| virtual void | setLodOutAltitude (double lodOutAltitude)=0 |
| virtual void | setIsLodOutAltitudeEnabled (bool isLodOutAltitudeEnabled)=0 |
| virtual void | setPadding (float paddingX, float paddingY)=0 |
| virtual void | setModelDefinition (const std::string &str)=0 |
| virtual void | setEventsEnabled (bool enabled)=0 |
| virtual void | setVisible (bool visible)=0 |
| virtual DtUniqueID | id () const |
| virtual DtUniqueID | parentId () const |
| virtual void | registerUpdater (DtWidgetUpdater *updater) |
| virtual void | unregisterUpdater (DtWidgetUpdater *updater) |
| virtual DtWidgetUpdater * | updater () |
Additional Inherited Members | |
Protected Member Functions inherited from makVrv::DtWidget | |
| virtual void | updateEventSignals ()=0 |
Protected Attributes inherited from makVrv::DtWidget | |
| DtDe & | myDe |
| DtUniqueID | myId |
| DtUniqueID | myParentId |
| DtSignalConnectionManager | mySignalConnectionManager |
| DtWidgetUpdater * | myUpdater |
| makVrv::DtAttributeGroupWidget::DtAttributeGroupWidget | ( | DtDe & | de, |
| DtUniqueID | id | ||
| ) |
A widget label ctor.
|
virtual |
DTOR.
|
pure virtual |
Sets the policy for how the glyph is located with respect to its position.
Implemented in makVrv::DtOsgAttributeGroupWidget.
|
pure virtual |
Enable or disable the background.
Implemented in makVrv::DtOsgAttributeGroupWidget.
|
pure virtual |
Set the background color.
Implemented in makVrv::DtOsgAttributeGroupWidget.
|
pure virtual |
Set the color of the outline.
Implemented in makVrv::DtOsgAttributeGroupWidget.
|
pure virtual |
Set the line width of the outline.
Implemented in makVrv::DtOsgAttributeGroupWidget.
|
pure virtual |
Enable or disable the outline.
Implemented in makVrv::DtOsgAttributeGroupWidget.
|
pure virtual |
Set the index'th attribute to be a text-only attribute.
Implemented in makVrv::DtOsgAttributeGroupWidget.
|
pure virtual |
Set the index'th attribute to be a numeric attribute.
Implemented in makVrv::DtOsgAttributeGroupWidget.
|
pure virtual |
Set the index'th attribute to be a value bar attribute.
Implemented in makVrv::DtOsgAttributeGroupWidget.
|
pure virtual |
Set the index'th attribute to be a line graph attribute maxValues is the maximum number of values to store in the graph; when this maximum is reached, the graph will throw out the oldest values as new values are added. Values of maxValue < 0 indicate no limit.
Implemented in makVrv::DtOsgAttributeGroupWidget.
|
pure virtual |
Set the index'th attribute to be an image attribute.
Implemented in makVrv::DtOsgAttributeGroupWidget.
|
pure virtual |
Set the index'th attribute to be a value text attribute.
Implemented in makVrv::DtOsgAttributeGroupWidget.
Set the index'th attribute to be a null attribute (not displayed)
Implemented in makVrv::DtOsgAttributeGroupWidget.
|
pure virtual |
Set the value of the index'th attribute to the image filename.
Implemented in makVrv::DtOsgAttributeGroupWidget.
|
pure virtual |
Set the line graph's nth x,y values for the index'th attribute.
Implemented in makVrv::DtOsgAttributeGroupWidget.
|
pure virtual |
Set the value bar value for the index'th attribute.
Implemented in makVrv::DtOsgAttributeGroupWidget.
|
pure virtual |
Set the numeric value for the index'th attribute.
Implemented in makVrv::DtOsgAttributeGroupWidget.
|
pure virtual |
Set the text value for the index'th attribute.
Implemented in makVrv::DtOsgAttributeGroupWidget.
|
pure virtual |
Set an attribute visible or hidden.
Implemented in makVrv::DtOsgAttributeGroupWidget.
|
pure virtual |
Set whether or not to center the attribute group horizontally around its origin.
Implemented in makVrv::DtOsgAttributeGroupWidget.
|
pure virtual |
Set whether or not to center the attribute group vertically around its origin.
Implemented in makVrv::DtOsgAttributeGroupWidget.
|
pure virtual |
Set the font size for text based attributes.
Implemented in makVrv::DtOsgAttributeGroupWidget.
|
pure virtual |
Set the font size file.
Implemented in makVrv::DtOsgAttributeGroupWidget.
|
pure virtual |
Set whether text shadows should be displayed.
Implemented in makVrv::DtOsgAttributeGroupWidget.
|
pure virtual |
Set the overlay group used for shadows and the background.
Implemented in makVrv::DtOsgAttributeGroupWidget.