VR-Forces 4.0.4 Class Documentation
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]

List of all members.

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 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 Overlay ids are defined in DtOverlayManager.
virtual void setGroup (unsigned int group)=0
 Set the group to draw the atribute 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

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::DtBaseTextAttribute, makVrv::DtValueBarAttribute, and makVrv::DtBaseQuadAttribute.

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


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 Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)