VR-Forces Developer's Guide
 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 Referenceabstract

The attribute layout tells DtAttributes where to draw.

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

Public Member Functions

 DtAttribute ()
 
virtual ~DtAttribute ()
 
 DtAttribute (const DtAttribute &other)=delete
 
DtAttributeoperator= (const DtAttribute &other)=delete
 
virtual void setPosition (float x, float y, float z, float w)=0
 
virtual void setOffset (double x, double y)
 
virtual void getMinSize (double &xOut, double &yOut)=0
 
virtual void setColor (float r, float g, float b, float a)=0
 
virtual void setSize (double x, double y)=0
 
virtual void setShadowText (bool enabled)=0
 
virtual void setVisible (bool visible)=0
 
virtual bool visible () const =0
 
virtual void setLodOutAltitude (double lodOutAltitude)=0
 
virtual double lodOutAltitude () const =0
 
virtual void setIsLodOutAltitudeEnabled (bool isEnabled)=0
 
virtual bool isLodOutAltitudeEnabled () const =0
 
virtual void setOverlay (unsigned int overlayId)=0
 
virtual void setGroup (unsigned int group)=0
 
virtual void setForegroundGroup (unsigned int group)
 
virtual void setBackgroundGroup (unsigned int group)
 

Public Attributes

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

Constructor & Destructor Documentation

makVrv::DtAttribute::DtAttribute ( )

CTOR.

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

DTOR.

makVrv::DtAttribute::DtAttribute ( const DtAttribute other)
delete

Copy Constructor not implemented - Copy not allowed.

Member Function Documentation

DtAttribute& makVrv::DtAttribute::operator= ( const DtAttribute other)
delete

Assignment Operator not implemented - Assignment not allowed.

virtual void makVrv::DtAttribute::setPosition ( float  x,
float  y,
float  z,
float  w 
)
pure virtual
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::setLodOutAltitude ( double  lodOutAltitude)
pure virtual

Set the altitude, in meters, at which this attribute no longer appears. Only used if setIsLodOutAltitudeEnabled(true).

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

virtual double makVrv::DtAttribute::lodOutAltitude ( ) const
pure virtual
virtual void makVrv::DtAttribute::setIsLodOutAltitudeEnabled ( bool  isEnabled)
pure virtual

Set whether or not this attribute will use the LOD Out Altitude property.

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

virtual bool makVrv::DtAttribute::isLodOutAltitudeEnabled ( ) const
pure virtual

Get whether or not this attribute will use the LOD Out Altitude property.

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

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::DtBaseOutlineAttribute, makVrv::DtBaseQuadAttribute, makVrv::DtImageAttribute, 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::signalslib::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 Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)