VR-Forces 4.0.4 Class Documentation
Public Member Functions
makVrv::DtAttributeGroupWidget Class Reference

Class for a widget that displays remote graphics attribute groups. More...

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

List of all members.

Public Member Functions

 DtAttributeGroupWidget (DtDe &de, DtUniqueID id)
 A widget label ctor.
virtual ~DtAttributeGroupWidget ()
 DTOR.
virtual void setBackgroundEnabled (bool enabled)=0
 Enable or disable the background.
virtual void setBackgroundColor (float r, float g, float b, float a=1.0f)=0
 Set the background color.
virtual void setOutlineEnabled (bool enabled)=0
 Enable or disable the outline.
virtual void setTypeText (unsigned int index, const DtUnicode &attributeName)=0
 Set the index'th attribute to be a text-only attribute.
virtual void setTypeNumeric (unsigned int index, const DtUnicode &attributeName)=0
 Set the index'th attribute to be a numeric attribute.
virtual void setTypeValueBar (unsigned int index, const DtUnicode &attributeName)=0
 Set the index'th attribute to be a value bar attribute.
virtual void setTypeGraph (unsigned int index, const DtUnicode &attributeName, int maxValues)=0
 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.
virtual void setTypeImage (unsigned int index, const DtUnicode &attributeName)=0
 Set the index'th attribute to be an image attribute.
virtual void setTypeValueText (unsigned int index, const DtUnicode &attributeName)=0
 Set the index'th attribute to be a value text attribute.
virtual void setTypeNull (unsigned int index)=0
 Set the index'th attribute to be a null attribute (not displayed)
virtual void setValueImage (unsigned int index, const std::string &imageFilepath)=0
 Set the value of the index'th attribute to the image filename.
virtual void setValueGraphPoint (unsigned int index, unsigned int n, float x, float y)=0
 Set the line graph's nth x,y values for the index'th attribute.
virtual void setValueBarValue (unsigned int index, float val)=0
 Set the value bar value for the index'th attribute.
virtual void setValueNumeric (unsigned int index, float val)=0
 Set the numeric value for the index'th attribute.
virtual void setValueTextValue (unsigned int index, const DtUnicode &val)=0
 Set the text value for the index'th attribute.
virtual void setAttributeVisible (unsigned int index, bool visible)=0
 Set an attribute visible or hidden.
virtual void setHorizontalCenter (bool center)=0
 Set whether or not to center the attribute group horizontally around its origin.
virtual void setVerticalCenter (bool center)=0
 Set whether or not to center the attribute group vertically around its origin.
virtual void setFontSize (float points)=0
 Set the font size for text based attributes.
virtual void setFontFile (const std::string &)=0
 Set the font size file.

Detailed Description

Class for a widget that displays remote graphics attribute groups.


Constructor & Destructor Documentation

A widget label ctor.

DTOR.


Member Function Documentation

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::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.


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)