![]() |
VR-Forces 4.0.4 Class Documentation
|

Public Member Functions | |
| DtColorizedSymbol (DtSymbolDrawer &d) | |
| Constructor. | |
| virtual | ~DtColorizedSymbol () |
| Destructor. | |
| DtColorizedSymbol (const DtColorizedSymbol &orig) | |
| Copy Constructor. | |
| DtColorizedSymbol & | operator= (const DtColorizedSymbol &rhs) |
| Assignment Operator. | |
| virtual DtSymbol * | clone () 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 DtSymbol * | create (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.
| virtual DtColorizedSymbol::~DtColorizedSymbol | ( | ) | [virtual] |
Destructor.
| DtColorizedSymbol::DtColorizedSymbol | ( | const DtColorizedSymbol & | orig | ) |
Copy Constructor.
| DtColorizedSymbol::DtColorizedSymbol | ( | ) | [private] |
Not implemented. Private to ensure it is only constructed with a drawer.
| 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] |
Reimplemented from DtSymbol.
Reimplemented in DtLineSymbol, DtResizableCircleSymbol, DtTTSSymbol, DtCircleSymbol, and DtPolygonSymbol.
| 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] |
QColor* DtColorizedSymbol::myColor [protected] |
int DtColorizedSymbol::myLineWidth [protected] |