![]() |
VR-Forces 5.0.2 Developer's Guide
|
The osg implementation of an attribute group.

Public Member Functions | |
| DtOsgAttributeGroupWidget (DtDe &de, DtUniqueID id) | |
| virtual | ~DtOsgAttributeGroupWidget () |
| DtOsgAttributeGroupWidget ()=delete | |
| DtOsgAttributeGroupWidget (const DtOsgAttributeGroupWidget &other)=delete | |
| DtOsgAttributeGroupWidget & | operator= (const DtOsgAttributeGroupWidget &other)=delete |
| virtual void | setBackgroundEnabled (bool enabled) |
| virtual void | setOutlineColor (float r, float g, float b, float a=1.0f) |
| virtual void | setOutlineWidth (float width) |
| virtual void | setOutlineEnabled (bool enabled) |
| virtual void | setTypeText (unsigned int index, const DtUnicode &attributeName) |
| virtual void | setTypeValueText (unsigned int index, const DtUnicode &attributeName) |
| virtual void | setTypeNumeric (unsigned int index, const DtUnicode &attributeName) |
| virtual void | setTypeValueBar (unsigned int index, const DtUnicode &attributeName) |
| virtual void | setTypeGraph (unsigned int index, const DtUnicode &attributeName, int maxValues) |
| virtual void | setTypeImage (unsigned int index, const DtUnicode &attributeName) |
| virtual void | setTypeNull (unsigned int index) |
| virtual void | setValueImage (unsigned int index, const std::string &imageFilepath) |
| virtual void | setValueGraphPoint (unsigned int index, unsigned int n, float x, float y) |
| virtual void | setValueBarValue (unsigned int index, float val) |
| virtual void | setValueNumeric (unsigned int index, float val) |
| virtual void | setValueTextValue (unsigned int index, const DtUnicode &val) |
| virtual void | setAttributeVisible (unsigned int index, bool visible) |
| virtual void | setOverlay (unsigned int overlay) |
| virtual unsigned int | overlay () const |
| virtual void | setOrderGroup (unsigned int group) |
| virtual unsigned int | orderGroup () const |
| virtual void | setBackgroundOrderGroup (unsigned int groupId) |
| virtual void | setPosition (float x, float y, float z, float w=0) |
| virtual void | setBackgroundImage (const std::string &filename) |
| virtual void | setBackgroundColor (float r, float g, float b, float a=1.0f) |
| virtual void | setColor (float r, float g, float b, float a) |
| virtual void | setOrigin (float originX, float originY) |
| virtual void | setSize (float w, float h) |
| virtual void | setPadding (float paddingX, float paddingY) |
| virtual void | setModelDefinition (const std::string &str) |
| virtual void | setEventsEnabled (bool enabled) |
| virtual void | expandLayoutBy (unsigned int rows, unsigned int cols) |
| virtual void | setVisible (bool visible) |
| virtual void | setLodOutAltitude (double lodOutAltitude) |
| virtual void | setIsLodOutAltitudeEnabled (bool isLodOutAltitudeEnabled) |
| virtual void | setHorizontalCenter (bool center) |
| virtual void | setVerticalCenter (bool center) |
| virtual void | setFontSize (float fontSize) |
| virtual void | setFontFile (const std::string &fontFile) |
| virtual void | setShadowText (bool enabled) |
| virtual void | setRotation (float) |
Public Member Functions inherited from makVrv::DtAttributeGroupWidget | |
| DtAttributeGroupWidget (DtDe &de, DtUniqueID id) | |
| virtual | ~DtAttributeGroupWidget () |
Public Member Functions inherited from makVrv::DtWidget | |
| DtWidget (DtDe &de, DtUniqueID id) | |
| virtual | ~DtWidget () |
| virtual void | setParentId (DtUniqueID id) |
| virtual void | setAltitudeSpecificSizes (const DtWidget::DtDynamicSizeConfigurationCollection &configs) |
| virtual void | clearAltitudeSpecificSizes () |
| virtual void | setIsForcedSizeByAltitudeEnabled (bool enabled) |
| virtual void | setAltitudeForForcedSize (double minimumAltitudeForUse) |
| virtual DtUniqueID | id () const |
| virtual DtUniqueID | parentId () const |
Protected Member Functions | |
| virtual void | createOrUpdateTextAttribute (unsigned int rowIndex, unsigned int columnIndex, const DtUnicode &textString) |
| virtual DtTextAttribute * | buildTextAttribute (const DtUnicode &text) |
Protected Attributes | |
| DtAttributeLayout | myLayout |
| osg::Vec4 | myBackgroundColor |
| unsigned int | myOrderGroup |
| unsigned int | myBackgroundOrderGroup |
| float | myR |
| float | myG |
| float | myB |
| float | myA |
| std::string | myFontFile |
| float | myFontSize |
| unsigned int | myOverlay |
| bool | myIsLodOutAltitudeEnabled |
| double | myLodOutAltitude |
Protected Attributes inherited from makVrv::DtWidget | |
| DtDe & | myDe |
| DtUniqueID | myId |
| DtUniqueID | myParentId |
Additional Inherited Members | |
Public Types inherited from makVrv::DtWidget | |
| typedef std::vector < DtDynamicSizeConfiguration > | DtDynamicSizeConfigurationCollection |
| makVrv::DtOsgAttributeGroupWidget::DtOsgAttributeGroupWidget | ( | DtDe & | de, |
| DtUniqueID | id | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
delete |
Default Constructor not implemented.
|
delete |
Copy Constructor not implemented - Copy not allowed.
|
delete |
Assignment Operator not implemented - Assignment not allowed.
|
virtual |
Enable or disable the background.
Implements makVrv::DtAttributeGroupWidget.
|
virtual |
Set the color of the outline.
Implements makVrv::DtAttributeGroupWidget.
|
virtual |
Set the line width of the outline.
Implements makVrv::DtAttributeGroupWidget.
|
virtual |
Enable or disable the outline.
Implements makVrv::DtAttributeGroupWidget.
|
virtual |
Set the index'th attribute to be a text-only attribute.
Implements makVrv::DtAttributeGroupWidget.
|
virtual |
Set the index'th attribute to be a text value attribute.
Implements makVrv::DtAttributeGroupWidget.
|
virtual |
Set the index'th attribute to be a numeric attribute.
Implements makVrv::DtAttributeGroupWidget.
|
virtual |
Set the index'th attribute to be a value bar attribute.
Implements makVrv::DtAttributeGroupWidget.
|
virtual |
Set the index'th attribute to be a line graph attribute.
Implements makVrv::DtAttributeGroupWidget.
|
virtual |
Set the index'th attribute to be an image attribute.
Implements makVrv::DtAttributeGroupWidget.
Set the index'th attribute to be a null attribute (not displayed)
Implements makVrv::DtAttributeGroupWidget.
|
virtual |
Set the value of the index'th attribute to the image filename.
Implements makVrv::DtAttributeGroupWidget.
|
virtual |
Set the line graph's nth x,y values for the index'th attribute.
Implements makVrv::DtAttributeGroupWidget.
|
virtual |
Set the value bar value for the index'th attribute.
Implements makVrv::DtAttributeGroupWidget.
|
virtual |
Set the numeric value for the index'th attribute.
Implements makVrv::DtAttributeGroupWidget.
|
virtual |
Set the text value for the index'th attribute.
Implements makVrv::DtAttributeGroupWidget.
|
virtual |
Set an attribute visible or hidden.
Implements makVrv::DtAttributeGroupWidget.
Sets the overlay of the widget.
Implements makVrv::DtWidget.
Gets the overlay of the widget.
Implements makVrv::DtWidget.
Sets the overlay group of the widget.
Implements makVrv::DtWidget.
Gets the overlay of the widget.
Implements makVrv::DtWidget.
|
virtual |
Set the overlay group used for shadows and the background.
Implements makVrv::DtAttributeGroupWidget.
|
virtual |
Set the position of the widget in screen space.
Implements makVrv::DtWidget.
|
virtual |
Set the background image.
Implements makVrv::DtWidget.
|
virtual |
Set the background color.
Implements makVrv::DtAttributeGroupWidget.
|
virtual |
Set the color of the widget.
Implements makVrv::DtWidget.
|
virtual |
Sets the origin location, by default it is 0,0. The origin can be used to specify a offset from the position.
Implements makVrv::DtWidget.
|
virtual |
Sets the size of the widget in overlay coordinate space.
Implements makVrv::DtWidget.
|
virtual |
Sets the size of the widget in overlay coordinate space.
Implements makVrv::DtWidget.
|
virtual |
Sets the model definition of the widget (optional, since widgets are not models)
Implements makVrv::DtWidget.
|
virtual |
Enable or disable events for this widget.
Implements makVrv::DtWidget.
|
virtual |
Expand the layout to have at least rows, cols dimensions.
|
virtual |
Set the attribute group visible or hidden.
Implements makVrv::DtWidget.
|
virtual |
Set the altitude, in meters, at which all attributes belonging to the calling attribute group widget will no longer appear. This is only used if setIsLodOutAltitudeEnabled(true).
Implements makVrv::DtAttributeGroupWidget.
|
virtual |
Set whether or not the attributes in this attribute group widget will use the LOD Out Altitude property. The LOD Out Altitude property is set using setLodOutAltitude(...). Default is True.
Implements makVrv::DtAttributeGroupWidget.
|
virtual |
Set whether or not to center the attribute group horizontally around its origin.
Implements makVrv::DtAttributeGroupWidget.
|
virtual |
Set whether or not to center the attribute group vertically around its origin.
Implements makVrv::DtAttributeGroupWidget.
|
virtual |
Set the size of the font in points.
Implements makVrv::DtAttributeGroupWidget.
|
virtual |
Set the font file to use.
Implements makVrv::DtAttributeGroupWidget.
|
virtual |
Set whether text shadows should be displayed.
Implements makVrv::DtAttributeGroupWidget.
|
virtual |
No-op for attribute groups as they cannot be rotated.
Implements makVrv::DtWidget.
|
protectedvirtual |
Update the string of a text attribute at the given row/column If a text attribute is not present at the given row/column, create one and update its text.
|
protectedvirtual |
Create a text attribute with the provided DtUnicode string.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |