VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
makVrv::DtValueBarAttribute Class Reference

The attribute layout tells DtAttributes where to draw. More...

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

Public Member Functions

 DtValueBarAttribute (DtDe &de)
 CTOR.
virtual ~DtValueBarAttribute ()
 DTOR.
virtual void setOffset (double x, double y)
 Set the position of the attribute (generally the top left corner)
virtual void setPosition (float x, float y, float z, float w)
 Set the position of the attribute in world space, using vrvGraphics float packing.
virtual void getMinSize (double &xOut, double &yOut)
 Get the size of the attribute.
virtual void setSize (double x, double y)
 Set the size of the attribute.
virtual void setValue (float val)
 Set the value of the bar.
virtual void setColor (float r, float g, float b, float a)
 Set the color of the bar.
virtual void setShadowText (bool enabled)
 Set whether attribute text should have shadows.
virtual void setVisible (bool visible)
 Set the attribute visible or hidden.
virtual bool visible () const
 Get the attribute's visibility.
virtual void setOverlay (unsigned int overlayId)
 Set the overlay to draw the attribute on Overlay ids are defined in DtOverlayManager.
virtual void setGroup (unsigned int group)
 Set the group to draw the atribute on.
- Public Member Functions inherited from makVrv::DtAttribute
 DtAttribute ()
 CTOR.
virtual ~DtAttribute ()
 DTOR.
virtual void setForegroundGroup (unsigned int group)
 Set the group to draw the atribute's foreground on.
virtual void setBackgroundGroup (unsigned int group)
 Set the group to draw the atribute's background on.

Protected Attributes

DtBaseQuadAttribute myQuadAttribute
DtBaseOutlineAttribute myOutlineAttribute
DtDemyDe
double mySizeX
double mySizeY
double myValue

Additional Inherited Members

- Public Attributes inherited from makVrv::DtAttribute
boost::signal< void(DtAttribute
*, double, double)> 
signal_sizeChanged
 Emitted when the attribute's size changes.

Detailed Description

The attribute layout tells DtAttributes where to draw.

Constructor & Destructor Documentation

makVrv::DtValueBarAttribute::DtValueBarAttribute ( DtDe de)

CTOR.

virtual makVrv::DtValueBarAttribute::~DtValueBarAttribute ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::DtValueBarAttribute::setOffset ( double  x,
double  y 
)
virtual

Set the position of the attribute (generally the top left corner)

Reimplemented from makVrv::DtAttribute.

virtual void makVrv::DtValueBarAttribute::setPosition ( float  x,
float  y,
float  z,
float  w 
)
virtual

Set the position of the attribute in world space, using vrvGraphics float packing.

Implements makVrv::DtAttribute.

virtual void makVrv::DtValueBarAttribute::getMinSize ( double xOut,
double yOut 
)
virtual

Get the size of the attribute.

Implements makVrv::DtAttribute.

virtual void makVrv::DtValueBarAttribute::setSize ( double  x,
double  y 
)
virtual

Set the size of the attribute.

Implements makVrv::DtAttribute.

virtual void makVrv::DtValueBarAttribute::setValue ( float  val)
virtual

Set the value of the bar.

virtual void makVrv::DtValueBarAttribute::setColor ( float  r,
float  g,
float  b,
float  a 
)
virtual

Set the color of the bar.

Implements makVrv::DtAttribute.

virtual void makVrv::DtValueBarAttribute::setShadowText ( bool  enabled)
virtual

Set whether attribute text should have shadows.

Implements makVrv::DtAttribute.

virtual void makVrv::DtValueBarAttribute::setVisible ( bool  visible)
virtual

Set the attribute visible or hidden.

Implements makVrv::DtAttribute.

virtual bool makVrv::DtValueBarAttribute::visible ( ) const
virtual

Get the attribute's visibility.

Implements makVrv::DtAttribute.

virtual void makVrv::DtValueBarAttribute::setOverlay ( unsigned int  overlayId)
virtual

Set the overlay to draw the attribute on Overlay ids are defined in DtOverlayManager.

Implements makVrv::DtAttribute.

virtual void makVrv::DtValueBarAttribute::setGroup ( unsigned int  group)
virtual

Set the group to draw the atribute on.

The group specifies the z order of the attribute on the overlay.

Implements makVrv::DtAttribute.

Member Data Documentation

DtBaseQuadAttribute makVrv::DtValueBarAttribute::myQuadAttribute
protected
DtBaseOutlineAttribute makVrv::DtValueBarAttribute::myOutlineAttribute
protected
DtDe& makVrv::DtValueBarAttribute::myDe
protected
double makVrv::DtValueBarAttribute::mySizeX
protected
double makVrv::DtValueBarAttribute::mySizeY
protected
double makVrv::DtValueBarAttribute::myValue
protected

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

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)