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

List of all members.

Public Member Functions

 DtBaseOutlineAttribute (DtDe &de)
 CTOR.
virtual ~DtBaseOutlineAttribute ()
 DTOR.
virtual void setOffset (double x, double y)
 Set the position of the attribute (generally the bottom 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 setColor (float r, float g, float b, float a)
 Set the color of the bar.
virtual void setLineWidth (float width)
 Set the width of the lines in pixels.
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.

Protected Member Functions

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

Protected Attributes

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

Detailed Description

The attribute layout tells DtAttributes where to draw.


Constructor & Destructor Documentation

CTOR.

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 the size of the attribute.

Implements makVrv::DtAttribute.

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::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 ( ) [protected, virtual]

Update the outline with the current settings.


Member Data Documentation


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)