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

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

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

Public Member Functions

 DtAttribute ()
 CTOR.
virtual ~DtAttribute ()
 DTOR.
virtual void setPosition (float x, float y, float z, float w)=0
 Set the position of the attribute in world space, using vrvGraphics float packing.
virtual void setOffset (double x, double y)
 Set the offset of the attribute.
virtual void getMinSize (double &xOut, double &yOut)=0
 Get the minimum size of the attribute.
virtual void setColor (float r, float g, float b, float a)=0
 Set the color of the attribute.
virtual void setSize (double x, double y)=0
 Set the size of the attribute.
virtual void setShadowText (bool enabled)=0
 Set whether attribute text should have shadows.
virtual void setVisible (bool visible)=0
 Set the attribute visible or hidden.
virtual bool visible () const =0
 Get the visibility of the attribute.
virtual void setOverlay (unsigned int overlayId)=0
 Set the overlay to draw the attribute on.
virtual void setGroup (unsigned int group)=0
 Set the group to draw the atribute on.
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.

Public Attributes

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::DtAttribute::DtAttribute ( )

CTOR.

virtual makVrv::DtAttribute::~DtAttribute ( )
virtual

DTOR.

Member Function Documentation

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

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

Implemented in makVrv::DtGraphAttribute, makVrv::DtImageAttribute, makVrv::DtBaseOutlineAttribute, makVrv::DtValueBarAttribute, makVrv::DtBaseQuadAttribute, and makVrv::DtBaseTextAttribute.

virtual void makVrv::DtAttribute::setOffset ( double  x,
double  y 
)
virtual
virtual void makVrv::DtAttribute::getMinSize ( double xOut,
double yOut 
)
pure virtual
virtual void makVrv::DtAttribute::setColor ( float  r,
float  g,
float  b,
float  a 
)
pure virtual
virtual void makVrv::DtAttribute::setSize ( double  x,
double  y 
)
pure virtual
virtual void makVrv::DtAttribute::setShadowText ( bool  enabled)
pure virtual
virtual void makVrv::DtAttribute::setVisible ( bool  visible)
pure virtual
virtual bool makVrv::DtAttribute::visible ( ) const
pure virtual
virtual void makVrv::DtAttribute::setOverlay ( unsigned int  overlayId)
pure virtual
virtual void makVrv::DtAttribute::setGroup ( unsigned int  group)
pure virtual

Set the group to draw the atribute on.

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

Implemented in makVrv::DtGraphAttribute, makVrv::DtBaseTextAttribute, makVrv::DtImageAttribute, makVrv::DtBaseOutlineAttribute, makVrv::DtBaseQuadAttribute, and makVrv::DtValueBarAttribute.

virtual void makVrv::DtAttribute::setForegroundGroup ( unsigned int  group)
virtual

Set the group to draw the atribute's foreground on.

The group specifies the z order of the attribute on the overlay. By default, this method just calls setGroup(unsigned int).

Reimplemented in makVrv::DtBaseTextAttribute.

virtual void makVrv::DtAttribute::setBackgroundGroup ( unsigned int  group)
virtual

Set the group to draw the atribute's background on.

The group specifies the z order of the attribute on the overlay. By default, this method just calls setGroup(unsigned int).

Reimplemented in makVrv::DtBaseTextAttribute.

Member Data Documentation

boost::signal<void (DtAttribute*,double,double)> makVrv::DtAttribute::signal_sizeChanged

Emitted when the attribute's size changes.

Parameters
_1the attribute that changed.
_2the new x size of the attribute.
_3the new y size of the attribute.

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

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)