VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
makVrf::DtVrfAttributeGroupWidget Class Reference
Inheritance diagram for makVrf::DtVrfAttributeGroupWidget:
Inheritance graph
[legend]

Public Member Functions

 DtVrfAttributeGroupWidget (makVrv::DtDe &de, makVrv::DtUniqueID id)
 CTOR. More...
 
virtual ~DtVrfAttributeGroupWidget ()
 DTOR. More...
 
virtual void setImageValue (int index, const std::string &)
 Sets the image in the first column. If attribute does not exist will create it. More...
 
virtual void setBarValue (int index, float)
 Sets the bar value in the first column. If the attributes does not exist will create it. More...
 
virtual void setBarSize (int index, double xSize, double ySize)
 Sets the size of the bar in the first column. If the attribute does not exist will creeate it. More...
 
virtual void setBarColor (int index, float r, float g, float b, float a)
 Sets the color of the bar in the first column. If the attribute does not exist will creeate it. More...
 
virtual void setImageScale (int index, float scale)
 Scales the image at the current index (if the image exists) More...
 
- Public Member Functions inherited from makVrv::DtOsgAttributeGroupWidget
 DtOsgAttributeGroupWidget (DtDe &de, DtUniqueID id)
 
virtual ~DtOsgAttributeGroupWidget ()
 
virtual void setBackgroundEnabled (bool enabled)
 Enable or disable the background. More...
 
virtual void setOutlineColor (float r, float g, float b, float a=1.0f)
 Set the color of the outline. More...
 
virtual void setOutlineWidth (float width)
 Set the line width of the outline. More...
 
virtual void setOutlineEnabled (bool enabled)
 Enable or disable the outline. More...
 
virtual void setTypeText (unsigned int index, const DtUnicode &attributeName)
 Set the index'th attribute to be a text-only attribute. More...
 
virtual void setTypeValueText (unsigned int index, const DtUnicode &attributeName)
 Set the index'th attribute to be a text value attribute. More...
 
virtual void setTypeNumeric (unsigned int index, const DtUnicode &attributeName)
 Set the index'th attribute to be a numeric attribute. More...
 
virtual void setTypeValueBar (unsigned int index, const DtUnicode &attributeName)
 Set the index'th attribute to be a value bar attribute. More...
 
virtual void setTypeGraph (unsigned int index, const DtUnicode &attributeName, int maxValues)
 Set the index'th attribute to be a line graph attribute. More...
 
virtual void setTypeImage (unsigned int index, const DtUnicode &attributeName)
 Set the index'th attribute to be an image attribute. More...
 
virtual void setTypeNull (unsigned int index)
 Set the index'th attribute to be a null attribute (not displayed) More...
 
virtual void setValueImage (unsigned int index, const std::string &imageFilepath)
 Set the value of the index'th attribute to the image filename. More...
 
virtual void setValueGraphPoint (unsigned int index, unsigned int n, float x, float y)
 Set the line graph's nth x,y values for the index'th attribute. More...
 
virtual void setValueBarValue (unsigned int index, float val)
 Set the value bar value for the index'th attribute. More...
 
virtual void setValueNumeric (unsigned int index, float val)
 Set the numeric value for the index'th attribute. More...
 
virtual void setValueTextValue (unsigned int index, const DtUnicode &val)
 Set the text value for the index'th attribute. More...
 
virtual void setAttributeVisible (unsigned int index, bool visible)
 Set an attribute visible or hidden. More...
 
virtual void setOverlay (unsigned int overlay)
 Sets the overlay of the widget. More...
 
virtual unsigned int overlay () const
 Gets the overlay of the widget. More...
 
virtual void setOrderGroup (unsigned int group)
 Sets the overlay group of the widget. More...
 
virtual unsigned int orderGroup () const
 Gets the overlay of the widget. More...
 
virtual void setBackgroundOrderGroup (unsigned int groupId)
 Set the overlay group used for shadows and the background. More...
 
virtual void setPosition (float x, float y, float z, float w=0)
 Set the position of the widget in screen space. More...
 
virtual void setBackgroundImage (const std::string &filename)
 Set the background image. More...
 
virtual void setBackgroundColor (float r, float g, float b, float a=1.0f)
 Set the background color. More...
 
virtual void setColor (float r, float g, float b, float a)
 Set the color of the widget. More...
 
virtual void setOrigin (float originX, float originY)
 Sets the origin location, by default it is 0,0. More...
 
virtual void setSize (float w, float h)
 Sets the size of the widget in overlay coordinate space. More...
 
virtual void setPadding (float paddingX, float paddingY)
 Sets the size of the widget in overlay coordinate space. More...
 
virtual void setModelDefinition (const std::string &str)
 Sets the model definition of the widget (optional, since widgets are not models) More...
 
virtual void setEventsEnabled (bool enabled)
 Enable or disable events for this widget. More...
 
virtual void expandLayoutBy (unsigned int rows, unsigned int cols)
 Expand the layout to have at least rows, cols dimensions. More...
 
virtual void setVisible (bool visible)
 Set the attribute group visible or hidden. More...
 
virtual void setHorizontalCenter (bool center)
 Set whether or not to center the attribute group horizontally around its origin. More...
 
virtual void setVerticalCenter (bool center)
 Set whether or not to center the attribute group vertically around its origin. More...
 
virtual void setFontSize (float fontSize)
 Set the size of the font in points. More...
 
virtual void setFontFile (const std::string &fontFile)
 Set the font file to use. More...
 
virtual void setShadowText (bool enabled)
 Set whether text shadows should be displayed. More...
 
virtual void setRotation (float)
 No-op for attribute groups as they cannot be rotated. More...
 
- Public Member Functions inherited from makVrv::DtAttributeGroupWidget
 DtAttributeGroupWidget (DtDe &de, DtUniqueID id)
 A widget label ctor. More...
 
virtual ~DtAttributeGroupWidget ()
 DTOR. More...
 
- Public Member Functions inherited from makVrv::DtWidget
 DtWidget (DtDe &de, DtUniqueID id)
 
virtual ~DtWidget ()
 
virtual void setParentId (DtUniqueID id)
 Set the parent id. More...
 
virtual DtUniqueID id () const
 Return this widget's id. More...
 
virtual DtUniqueID parentId () const
 Return the unique id specified as the parent of this widget. More...
 

Additional Inherited Members

- Protected Member Functions inherited from makVrv::DtOsgAttributeGroupWidget
virtual DtTextAttributebuildTextAttribute (const DtUnicode &text)
 
- Protected Attributes inherited from makVrv::DtOsgAttributeGroupWidget
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
 
- Protected Attributes inherited from makVrv::DtWidget
DtDemyDe
 
DtUniqueID myId
 
DtUniqueID myParentId
 

Constructor & Destructor Documentation

makVrf::DtVrfAttributeGroupWidget::DtVrfAttributeGroupWidget ( makVrv::DtDe de,
makVrv::DtUniqueID  id 
)

CTOR.

virtual makVrf::DtVrfAttributeGroupWidget::~DtVrfAttributeGroupWidget ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrf::DtVrfAttributeGroupWidget::setImageValue ( int  index,
const std::string &   
)
virtual

Sets the image in the first column. If attribute does not exist will create it.

virtual void makVrf::DtVrfAttributeGroupWidget::setBarValue ( int  index,
float   
)
virtual

Sets the bar value in the first column. If the attributes does not exist will create it.

virtual void makVrf::DtVrfAttributeGroupWidget::setBarSize ( int  index,
double  xSize,
double  ySize 
)
virtual

Sets the size of the bar in the first column. If the attribute does not exist will creeate it.

virtual void makVrf::DtVrfAttributeGroupWidget::setBarColor ( int  index,
float  r,
float  g,
float  b,
float  a 
)
virtual

Sets the color of the bar in the first column. If the attribute does not exist will creeate it.

virtual void makVrf::DtVrfAttributeGroupWidget::setImageScale ( int  index,
float  scale 
)
virtual

Scales the image at the current index (if the image exists)


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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)