VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions
makVrv::DtAttributeGroupWidget Class Referenceabstract

Class for a widget that displays remote graphics attribute groups.

Inheritance diagram for makVrv::DtAttributeGroupWidget:
Inheritance graph
[legend]

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
 
DtWidgetoperator= (const DtWidget &other)=delete
 
 DtWidget (const DtWidget &&other)=delete
 
DtWidgetoperator= (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 DtWidgetUpdaterupdater ()
 

Additional Inherited Members

- Protected Member Functions inherited from makVrv::DtWidget
virtual void updateEventSignals ()=0
 
- Protected Attributes inherited from makVrv::DtWidget
DtDemyDe
 
DtUniqueID myId
 
DtUniqueID myParentId
 
DtSignalConnectionManager mySignalConnectionManager
 
DtWidgetUpdatermyUpdater
 

Member Enumeration Documentation

Policy that determines where the origin of the widget is.

Enumerator
TopRight 
TopLeft 
BottomLeft 
BottomRight 
Center 
TopCenter 
MiddleLeft 

Constructor & Destructor Documentation

makVrv::DtAttributeGroupWidget::DtAttributeGroupWidget ( DtDe de,
DtUniqueID  id 
)

A widget label ctor.

virtual makVrv::DtAttributeGroupWidget::~DtAttributeGroupWidget ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::DtAttributeGroupWidget::setOriginPlacementPolicy ( DtOriginPlacementPolicy  originPolicy)
pure virtual

Sets the policy for how the glyph is located with respect to its position.

Implemented in makVrv::DtOsgAttributeGroupWidget.

virtual void makVrv::DtAttributeGroupWidget::setBackgroundEnabled ( bool  enabled)
pure virtual

Enable or disable the background.

Implemented in makVrv::DtOsgAttributeGroupWidget.

virtual void makVrv::DtAttributeGroupWidget::setBackgroundColor ( float  r,
float  g,
float  b,
float  a = 1.0f 
)
pure virtual

Set the background color.

Implemented in makVrv::DtOsgAttributeGroupWidget.

virtual void makVrv::DtAttributeGroupWidget::setOutlineColor ( float  r,
float  g,
float  b,
float  a = 1.0f 
)
pure virtual

Set the color of the outline.

Implemented in makVrv::DtOsgAttributeGroupWidget.

virtual void makVrv::DtAttributeGroupWidget::setOutlineWidth ( float  width)
pure virtual

Set the line width of the outline.

Implemented in makVrv::DtOsgAttributeGroupWidget.

virtual void makVrv::DtAttributeGroupWidget::setOutlineEnabled ( bool  enabled)
pure virtual

Enable or disable the outline.

Implemented in makVrv::DtOsgAttributeGroupWidget.

virtual void makVrv::DtAttributeGroupWidget::setTypeText ( unsigned int  index,
const DtUnicode attributeName 
)
pure virtual

Set the index'th attribute to be a text-only attribute.

Implemented in makVrv::DtOsgAttributeGroupWidget.

virtual void makVrv::DtAttributeGroupWidget::setTypeNumeric ( unsigned int  index,
const DtUnicode attributeName 
)
pure virtual

Set the index'th attribute to be a numeric attribute.

Implemented in makVrv::DtOsgAttributeGroupWidget.

virtual void makVrv::DtAttributeGroupWidget::setTypeValueBar ( unsigned int  index,
const DtUnicode attributeName 
)
pure virtual

Set the index'th attribute to be a value bar attribute.

Implemented in makVrv::DtOsgAttributeGroupWidget.

virtual void makVrv::DtAttributeGroupWidget::setTypeGraph ( unsigned int  index,
const DtUnicode attributeName,
int  maxValues 
)
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.

virtual void makVrv::DtAttributeGroupWidget::setTypeImage ( unsigned int  index,
const DtUnicode attributeName 
)
pure virtual

Set the index'th attribute to be an image attribute.

Implemented in makVrv::DtOsgAttributeGroupWidget.

virtual void makVrv::DtAttributeGroupWidget::setTypeValueText ( unsigned int  index,
const DtUnicode attributeName 
)
pure virtual

Set the index'th attribute to be a value text attribute.

Implemented in makVrv::DtOsgAttributeGroupWidget.

virtual void makVrv::DtAttributeGroupWidget::setTypeNull ( unsigned int  index)
pure virtual

Set the index'th attribute to be a null attribute (not displayed)

Implemented in makVrv::DtOsgAttributeGroupWidget.

virtual void makVrv::DtAttributeGroupWidget::setValueImage ( unsigned int  index,
const std::string &  imageFilepath 
)
pure virtual

Set the value of the index'th attribute to the image filename.

Implemented in makVrv::DtOsgAttributeGroupWidget.

virtual void makVrv::DtAttributeGroupWidget::setValueGraphPoint ( unsigned int  index,
unsigned int  n,
float  x,
float  y 
)
pure virtual

Set the line graph's nth x,y values for the index'th attribute.

Implemented in makVrv::DtOsgAttributeGroupWidget.

virtual void makVrv::DtAttributeGroupWidget::setValueBarValue ( unsigned int  index,
float  val 
)
pure virtual

Set the value bar value for the index'th attribute.

Implemented in makVrv::DtOsgAttributeGroupWidget.

virtual void makVrv::DtAttributeGroupWidget::setValueNumeric ( unsigned int  index,
float  val 
)
pure virtual

Set the numeric value for the index'th attribute.

Implemented in makVrv::DtOsgAttributeGroupWidget.

virtual void makVrv::DtAttributeGroupWidget::setValueTextValue ( unsigned int  index,
const DtUnicode val 
)
pure virtual

Set the text value for the index'th attribute.

Implemented in makVrv::DtOsgAttributeGroupWidget.

virtual void makVrv::DtAttributeGroupWidget::setAttributeVisible ( unsigned int  index,
bool  visible 
)
pure virtual

Set an attribute visible or hidden.

Implemented in makVrv::DtOsgAttributeGroupWidget.

virtual void makVrv::DtAttributeGroupWidget::setHorizontalCenter ( bool  center)
pure virtual

Set whether or not to center the attribute group horizontally around its origin.

Implemented in makVrv::DtOsgAttributeGroupWidget.

virtual void makVrv::DtAttributeGroupWidget::setVerticalCenter ( bool  center)
pure virtual

Set whether or not to center the attribute group vertically around its origin.

Implemented in makVrv::DtOsgAttributeGroupWidget.

virtual void makVrv::DtAttributeGroupWidget::setFontSize ( float  points)
pure virtual

Set the font size for text based attributes.

Implemented in makVrv::DtOsgAttributeGroupWidget.

virtual void makVrv::DtAttributeGroupWidget::setFontFile ( const std::string &  )
pure virtual

Set the font size file.

Implemented in makVrv::DtOsgAttributeGroupWidget.

virtual void makVrv::DtAttributeGroupWidget::setShadowText ( bool  enabled)
pure virtual

Set whether text shadows should be displayed.

Implemented in makVrv::DtOsgAttributeGroupWidget.

virtual void makVrv::DtAttributeGroupWidget::setBackgroundOrderGroup ( unsigned int  groupId)
pure virtual

Set the overlay group used for shadows and the background.

Implemented in makVrv::DtOsgAttributeGroupWidget.


The documentation for this class was generated from the following file:

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)