VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Attributes | Private Member Functions
DtColorizedSymbol Class Reference
Inheritance diagram for DtColorizedSymbol:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtColorizedSymbol (DtSymbolDrawer &d)
 Constructor.
virtual ~DtColorizedSymbol ()
 Destructor.
 DtColorizedSymbol (const DtColorizedSymbol &orig)
 Copy Constructor.
DtColorizedSymboloperator= (const DtColorizedSymbol &rhs)
 Assignment Operator.
virtual DtSymbolclone () const
 Returns an instance of a symbol which is a copy of this.
virtual QColor * color () const
virtual void setColor (const QColor &col)
 Noop function to allow subclasses to override.
virtual void clearColor ()
 Noop function to allow subclasses to clear out any color information.
bool operator== (const DtColorizedSymbol &orig) const
bool operator!= (const DtColorizedSymbol &orig) const
virtual bool transparentCacheChanged () const
virtual int lineWidth () const
 Width of line. Set to -1 to use drawer default.
virtual void setLineWidth (int i)

Static Public Member Functions

static DtSymbolcreate (DtSymbolDrawer &drawer)

Protected Attributes

QColor * myColor
int myLineWidth

Private Member Functions

 DtColorizedSymbol ()
 Not implemented. Private to ensure it is only constructed with a drawer.

Constructor & Destructor Documentation

Constructor.

Destructor.

Copy Constructor.

Not implemented. Private to ensure it is only constructed with a drawer.


Member Function Documentation

DtColorizedSymbol& DtColorizedSymbol::operator= ( const DtColorizedSymbol rhs)

Assignment Operator.

virtual DtSymbol* DtColorizedSymbol::clone ( ) const [virtual]

Returns an instance of a symbol which is a copy of this.

The caller is responsible for freeing the memory.

Reimplemented from DtSymbol.

Reimplemented in DtCircleSymbol, DtTTSSymbol, DtMMMSymbol, DtPolygonSymbol, DtTTFUnitSymbol, DtResizableCircleSymbol, DtLineSymbol, and DtBoxSymbol.

virtual QColor* DtColorizedSymbol::color ( ) const [virtual]
virtual void DtColorizedSymbol::setColor ( const QColor &  color) [virtual]

Noop function to allow subclasses to override.

As a base, symbols do not have color, but this routine will give an options to allow for a generic interface and have subclasses implement a color scheme

Reimplemented from DtSymbol.

virtual void DtColorizedSymbol::clearColor ( ) [virtual]

Noop function to allow subclasses to clear out any color information.

Reimplemented from DtSymbol.

bool DtColorizedSymbol::operator== ( const DtColorizedSymbol orig) const
bool DtColorizedSymbol::operator!= ( const DtColorizedSymbol orig) const
virtual bool DtColorizedSymbol::transparentCacheChanged ( ) const [virtual]
virtual int DtColorizedSymbol::lineWidth ( ) const [virtual]

Width of line. Set to -1 to use drawer default.

virtual void DtColorizedSymbol::setLineWidth ( int  i) [virtual]

Reimplemented in DtLineSymbol.

static DtSymbol* DtColorizedSymbol::create ( DtSymbolDrawer drawer) [static]

Member Data Documentation

QColor* DtColorizedSymbol::myColor [protected]

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)