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

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

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

Public Member Functions

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

Protected Member Functions

virtual void updateOutline ()
 Update the outline with the current settings. More...
 

Protected Attributes

DtLineSegmentmyOutline [4]
 
DtDemyDe
 
float myX
 
float myY
 
float myZ
 
float myW
 
double myOffsetX
 
double myOffsetY
 
double mySizeX
 
double mySizeY
 
double myMinSizeX
 
double myMinSizeY
 
float myLineWidth
 
float myR
 
float myG
 
float myB
 
float myA
 
bool myVisible
 
unsigned int myOverlay
 
unsigned int myOverlayGroup
 

Additional Inherited Members

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

Detailed Description

The attribute layout tells DtAttributes where to draw.

Constructor & Destructor Documentation

makVrv::DtBaseOutlineAttribute::DtBaseOutlineAttribute ( DtDe de)

CTOR.

virtual makVrv::DtBaseOutlineAttribute::~DtBaseOutlineAttribute ( )
virtual

DTOR.

Member Function Documentation

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

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

Reimplemented from makVrv::DtAttribute.

virtual void makVrv::DtBaseOutlineAttribute::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::DtBaseOutlineAttribute::getMinSize ( double xOut,
double yOut 
)
virtual

Get/set the size of the attribute.

Implements makVrv::DtAttribute.

virtual void makVrv::DtBaseOutlineAttribute::setMinSize ( double  xIn,
double  yIn 
)
virtual
virtual void makVrv::DtBaseOutlineAttribute::setSize ( double  x,
double  y 
)
virtual

Set the size of the attribute.

Implements makVrv::DtAttribute.

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

Set the color of the bar.

Implements makVrv::DtAttribute.

virtual void makVrv::DtBaseOutlineAttribute::setLineWidth ( float  width)
virtual

Set the width of the lines in pixels.

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

Set whether attribute text should have shadows.

Implements makVrv::DtAttribute.

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

Set the attribute visible or hidden.

Implements makVrv::DtAttribute.

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

Get the attribute's visibility.

Implements makVrv::DtAttribute.

virtual void makVrv::DtBaseOutlineAttribute::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::DtBaseOutlineAttribute::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.

virtual void makVrv::DtBaseOutlineAttribute::updateOutline ( )
protectedvirtual

Update the outline with the current settings.

Member Data Documentation

DtLineSegment* makVrv::DtBaseOutlineAttribute::myOutline[4]
protected
DtDe& makVrv::DtBaseOutlineAttribute::myDe
protected
float makVrv::DtBaseOutlineAttribute::myX
protected
float makVrv::DtBaseOutlineAttribute::myY
protected
float makVrv::DtBaseOutlineAttribute::myZ
protected
float makVrv::DtBaseOutlineAttribute::myW
protected
double makVrv::DtBaseOutlineAttribute::myOffsetX
protected
double makVrv::DtBaseOutlineAttribute::myOffsetY
protected
double makVrv::DtBaseOutlineAttribute::mySizeX
protected
double makVrv::DtBaseOutlineAttribute::mySizeY
protected
double makVrv::DtBaseOutlineAttribute::myMinSizeX
protected
double makVrv::DtBaseOutlineAttribute::myMinSizeY
protected
float makVrv::DtBaseOutlineAttribute::myLineWidth
protected
float makVrv::DtBaseOutlineAttribute::myR
protected
float makVrv::DtBaseOutlineAttribute::myG
protected
float makVrv::DtBaseOutlineAttribute::myB
protected
float makVrv::DtBaseOutlineAttribute::myA
protected
bool makVrv::DtBaseOutlineAttribute::myVisible
protected
unsigned int makVrv::DtBaseOutlineAttribute::myOverlay
protected
unsigned int makVrv::DtBaseOutlineAttribute::myOverlayGroup
protected

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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)