VR-Forces 4.1.1 Class Documentation
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions
DtMultiLineDrawer Class Reference

Qt includes. More...

Inheritance diagram for DtMultiLineDrawer:
Inheritance graph
[legend]

Public Member Functions

 DtMultiLineDrawer ()
virtual ~DtMultiLineDrawer ()
virtual bool draw (QPainter &paint, const DtSymbol *const symbol) const
 draws the specified symbol on a device.
virtual QSize calcBBox (const DtSymbol *const symbol) const
 Calculate the drawn size of this symbol.
- Public Member Functions inherited from DtLineDrawer
 DtLineDrawer ()
virtual ~DtLineDrawer ()
virtual void setPenThickness (int thickness)
 Set the thickness of the pen when drawing the lines;.
virtual void setArrowStyle (DtLineSymbol::DtArrowStyle style)
 Sets the arrow style to be this style regardless of what is set in the symbol.
virtual void clearArrowStyleOverride ()
virtual void setPenStyle (Qt::PenStyle style)
 Sets the pen style to be this style regardless of what is set in the symbol.
virtual void clearPenStyleOverride ()
- Public Member Functions inherited from DtBaseSymbolDrawer
 DtBaseSymbolDrawer ()
virtual ~DtBaseSymbolDrawer ()
virtual bool doDrawing (QPainter &paint, const DtSymbol *const symbol)
 ! Initializes any drawing information and then calls internal draw() method
- Public Member Functions inherited from DtSymbolDrawer
 DtSymbolDrawer ()
virtual ~DtSymbolDrawer ()
virtual QRect calcBRect (const DtSymbol *const symbol) const
virtual bool forceUpdate (const DtSymbol *const symbol) const
 Override if your class wants to force a redraw of this item regardless of performance enhancement state.
virtual bool endTransparentDraw (QPainter &paint, const DtSymbol *const symbol) const
 Called after transparent draw is finished if symbol wants to draw transparently.
virtual void processHiddenSymbolAction (QPainter &paint, const DtSymbol *const symbol)
 Routine to perform even when symbol is hidden.

Static Public Member Functions

static DtSymbolDrawercreate ()
- Static Public Member Functions inherited from DtLineDrawer
static void drawClippedLine (QPainterPath &path, QPainter &paint, const QPoint &point)
 This method draws a line from the QPainterPaths's current position to the given point.
static void drawClippedLine (QPainter &paint, const QPoint &start, const QPoint &end)

Protected Member Functions

virtual void drawThickArrow (QPainterPath &path, QPainter &paint, const DtLineSymbol *const arrowSymbol, bool axisTwist=false) const
virtual void drawDoubleThickArrow (QPainterPath &path, QPainter &paint, const DtLineSymbol *const arrowSymbol) const
virtual void drawFeintArrow (QPainterPath &path, QPainter &paint, const DtLineSymbol *const arrowSymbol) const
virtual QPolygon getThickArrowPoints (const DtLineSymbol *const arrowSymbol, int &numCount) const
- Protected Member Functions inherited from DtLineDrawer
virtual void drawSimpleArrow (QPainterPath &path, QPainter &paint, const DtLineSymbol *const arrowSymbol) const
virtual void drawMainArrow (QPainterPath &path, QPainter &paint, const DtLineSymbol *const arrowSymbol) const
virtual void drawRearArrow (QPainterPath &path, QPainter &paint, const DtLineSymbol *const arrowSymbol) const
virtual void drawCappedSides (QPainterPath &path, QPainter &paint, const DtLineSymbol *const arrowSymbol) const
virtual void drawTriangle (QPainterPath &path, QPainter &paint, const DtLineSymbol *const arrowSymbol) const
virtual void drawThickArrow (QPainterPath &path, QPainter &paint, const DtLineSymbol *const arrowSymbol) const
virtual void drawThickDoubleArrow (QPainterPath &path, QPainter &paint, const DtLineSymbol *const arrowSymbol) const
virtual void draw2525TailArrow (QPainterPath &path, QPainter &paint, const DtLineSymbol *const arrowSymbol) const
virtual void drawBridge (QPainterPath &path, QPainter &paint, const DtLineSymbol *const arrowSymbol) const
- Protected Member Functions inherited from DtBaseSymbolDrawer
virtual QRgb opaqueColor () const
 ! Returns color that will be ignored during transparent draw
- Protected Member Functions inherited from DtSymbolDrawer
 DtSymbolDrawer (const DtSymbolDrawer &orig)
 Protected so not used. Conceptually class is a singleton.
DtSymbolDraweroperator= (const DtSymbolDrawer &orig)
 Protected so not used. Conceptually class is a singleton.

Private Member Functions

 DtMultiLineDrawer (const DtMultiLineDrawer &orig)
DtMultiLineDraweroperator= (const DtMultiLineDrawer &orig)

Additional Inherited Members

- Protected Attributes inherited from DtLineDrawer
int myPenThickness
DtLineSymbol::DtArrowStyle myArrowStyle
bool myArrowStyleOverride
Qt::PenStyle myPenStyle
bool myPenStyleOverride
- Static Protected Attributes inherited from DtSymbolDrawer
static double gDrawScalingFactor
static QColor theHighlightColor

Detailed Description

Qt includes.

class DtMultiLineDrawer:

Concrete class which draws arrows and lines.

Constructor & Destructor Documentation

DtMultiLineDrawer::DtMultiLineDrawer ( )
virtual DtMultiLineDrawer::~DtMultiLineDrawer ( )
virtual
DtMultiLineDrawer::DtMultiLineDrawer ( const DtMultiLineDrawer orig)
private

Member Function Documentation

virtual bool DtMultiLineDrawer::draw ( QPainter &  paint,
const DtSymbol *const  symbol 
) const
virtual

draws the specified symbol on a device.

The symbol must be of a DtLineSymbol type or nothing will be drawn.

Returns
true if successful, false otherwise.

Reimplemented from DtLineDrawer.

virtual QSize DtMultiLineDrawer::calcBBox ( const DtSymbol *const  symbol) const
virtual

Calculate the drawn size of this symbol.

The symbol must be of a type this drawer can recognize.

Reimplemented from DtLineDrawer.

static DtSymbolDrawer* DtMultiLineDrawer::create ( )
static

Reimplemented from DtLineDrawer.

virtual void DtMultiLineDrawer::drawThickArrow ( QPainterPath &  path,
QPainter &  paint,
const DtLineSymbol *const  arrowSymbol,
bool  axisTwist = false 
) const
protectedvirtual
virtual void DtMultiLineDrawer::drawDoubleThickArrow ( QPainterPath &  path,
QPainter &  paint,
const DtLineSymbol *const  arrowSymbol 
) const
protectedvirtual
virtual void DtMultiLineDrawer::drawFeintArrow ( QPainterPath &  path,
QPainter &  paint,
const DtLineSymbol *const  arrowSymbol 
) const
protectedvirtual

Reimplemented from DtLineDrawer.

virtual QPolygon DtMultiLineDrawer::getThickArrowPoints ( const DtLineSymbol *const  arrowSymbol,
int &  numCount 
) const
protectedvirtual
DtMultiLineDrawer& DtMultiLineDrawer::operator= ( const DtMultiLineDrawer orig)
private

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

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)