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

class DtNullDrawer: More...

Inheritance diagram for DtNullDrawer:
Inheritance graph
[legend]

Public Member Functions

virtual ~DtNullDrawer ()
 DtNullDrawer ()
virtual bool draw (QPainter &paint, const DtSymbol *const symbol) const
virtual QSize calcBBox (const DtSymbol *const symbol) const
- Public Member Functions inherited from DtSymbolDrawer
 DtSymbolDrawer ()
virtual ~DtSymbolDrawer ()
virtual bool doDrawing (QPainter &paint, const DtSymbol *const symbol)
 Initializes any drawing information and then calls internal draw() method.
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 DtSymbolDrawer
static double drawScalingFactor ()
 Because of potential size difference in printer and screen metrics, a scaling factor can be applied to any drawing that relies on screen coordinates (such as arrow or bitmap size).
static void setDrawScalingFactor (double d)
static void setHighlightColor (const QColor &color)
static const QColor & highlightColor ()

Protected Member Functions

 DtNullDrawer (const DtNullDrawer &orig)
 Protected since not used. Prefer class to be a singleton.
DtNullDraweroperator= (const DtNullDrawer &orig)
 Protected since not used. Prefer class to be a singleton.
- 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.

Additional Inherited Members

- Static Protected Attributes inherited from DtSymbolDrawer
static double gDrawScalingFactor
static QColor theHighlightColor

Detailed Description

class DtNullDrawer:

Concrete implementation of DtSymbolDrawer which does nothing. Predominantly intended for testing symbology.

This class has no dependency on qt drawing routines. Thus if (when) we change from Qt to another drawing package, none of the symbol classes will change, just the symboldraw derived classes.

Constructor & Destructor Documentation

virtual DtNullDrawer::~DtNullDrawer ( )
virtual
DtNullDrawer::DtNullDrawer ( )
DtNullDrawer::DtNullDrawer ( const DtNullDrawer orig)
protected

Protected since not used. Prefer class to be a singleton.

Member Function Documentation

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

Implements DtSymbolDrawer.

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

Implements DtSymbolDrawer.

static DtSymbolDrawer* DtNullDrawer::create ( )
static
DtNullDrawer& DtNullDrawer::operator= ( const DtNullDrawer orig)
protected

Protected since not used. Prefer class to be a singleton.


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

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)