![]() |
VR-Forces 4.0.4 Class Documentation
|
A representation of an entity on the map, this symbol contains labels for all the different entity informations, It also forces the origin of the symbol to be the center of the main entity symbol, ignoring labels and such in its calculation. More...

Public Member Functions | |
| DtEntitySymbol (DtSymbolDrawer &d) | |
| Constructor. | |
| virtual | ~DtEntitySymbol () |
| Destructor. | |
| DtEntitySymbol (const DtEntitySymbol &orig) | |
| Copy Constructor. | |
| DtEntitySymbol & | operator= (const DtEntitySymbol &rhs) |
| Assignment Operator. | |
| virtual void | copyDataFrom (const DtSymbol *symbol) |
| Copy specific echelon, type, etc. information. | |
| virtual DtTTSSymbol * | echelonId () |
| virtual void | setEchelonId (DtTTSSymbol *s) |
| virtual DtTTSSymbol * | objectId () |
| virtual void | setObjectId (DtTTSSymbol *s) |
| virtual DtTTSSymbol * | entityGuise () |
| virtual void | setEntityGuise (DtTTSSymbol *s) |
| virtual DtTTSSymbol * | embarkedObjects () |
| virtual void | setEmbarkedObjects (DtTTSSymbol *s) |
| virtual DtPolygonSymbol * | boundingBox () |
| virtual void | setBoundingBox (DtPolygonSymbol *s) |
| virtual DtSymbol * | clone () const |
| Returns an instance of a symbol which is a copy of this. | |
| virtual int | resetLabelPositions () const |
| virtual void | applyGhosting () |
| virtual void | removeGhosting () |
| virtual bool | ghosted () const |
| virtual void | setPenColor (const QColor &color) |
| Sets the color of all labels. | |
| void | setForceId (int) |
| int | forceId () const |
Protected Member Functions | |
| virtual bool | addToDrawOrder () const |
Protected Attributes | |
| DtTTSSymbol * | myEchelonId |
| DtTTSSymbol * | myObjectId |
| DtTTSSymbol * | myEntityGuise |
| DtTTSSymbol * | myEmbarkedObjects |
| DtPolygonSymbol * | myBoundingBox |
| int | myForceId |
| bool | myGhosted |
Private Member Functions | |
| DtEntitySymbol () | |
| Not implemented. Private to ensure it is only constructed with a drawer. | |
A representation of an entity on the map, this symbol contains labels for all the different entity informations, It also forces the origin of the symbol to be the center of the main entity symbol, ignoring labels and such in its calculation.
Constructor.
| virtual DtEntitySymbol::~DtEntitySymbol | ( | ) | [virtual] |
Destructor.
| DtEntitySymbol::DtEntitySymbol | ( | const DtEntitySymbol & | orig | ) |
Copy Constructor.
| DtEntitySymbol::DtEntitySymbol | ( | ) | [private] |
Not implemented. Private to ensure it is only constructed with a drawer.
| DtEntitySymbol& DtEntitySymbol::operator= | ( | const DtEntitySymbol & | rhs | ) |
Assignment Operator.
| virtual void DtEntitySymbol::copyDataFrom | ( | const DtSymbol * | symbol | ) | [virtual] |
Copy specific echelon, type, etc. information.
Reimplemented from DtMovingObjectSymbol.
| virtual DtTTSSymbol* DtEntitySymbol::echelonId | ( | ) | [virtual] |
| virtual void DtEntitySymbol::setEchelonId | ( | DtTTSSymbol * | s | ) | [virtual] |
| virtual DtTTSSymbol* DtEntitySymbol::objectId | ( | ) | [virtual] |
| virtual void DtEntitySymbol::setObjectId | ( | DtTTSSymbol * | s | ) | [virtual] |
| virtual DtTTSSymbol* DtEntitySymbol::entityGuise | ( | ) | [virtual] |
| virtual void DtEntitySymbol::setEntityGuise | ( | DtTTSSymbol * | s | ) | [virtual] |
| virtual DtTTSSymbol* DtEntitySymbol::embarkedObjects | ( | ) | [virtual] |
| virtual void DtEntitySymbol::setEmbarkedObjects | ( | DtTTSSymbol * | s | ) | [virtual] |
| virtual DtPolygonSymbol* DtEntitySymbol::boundingBox | ( | ) | [virtual] |
| virtual void DtEntitySymbol::setBoundingBox | ( | DtPolygonSymbol * | s | ) | [virtual] |
| virtual DtSymbol* DtEntitySymbol::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 DtMovingObjectSymbol.
| virtual int DtEntitySymbol::resetLabelPositions | ( | ) | const [virtual] |
Reimplemented from DtMovingObjectSymbol.
| virtual void DtEntitySymbol::applyGhosting | ( | ) | [virtual] |
| virtual void DtEntitySymbol::removeGhosting | ( | ) | [virtual] |
| virtual bool DtEntitySymbol::ghosted | ( | ) | const [virtual] |
| virtual void DtEntitySymbol::setPenColor | ( | const QColor & | color | ) | [virtual] |
Sets the color of all labels.
If you add your own type of label that needs to have colors set, override this method (calling the parent method) first and setPenColor() with the supplied color on your label
Reimplemented from DtMovingObjectSymbol.
| void DtEntitySymbol::setForceId | ( | int | i | ) | [inline] |
References myForceId.
| int DtEntitySymbol::forceId | ( | ) | const [inline] |
References myForceId.
| virtual bool DtEntitySymbol::addToDrawOrder | ( | ) | const [protected, virtual] |
Reimplemented from DtSymbol.
DtTTSSymbol* DtEntitySymbol::myEchelonId [protected] |
DtTTSSymbol* DtEntitySymbol::myObjectId [protected] |
DtTTSSymbol* DtEntitySymbol::myEntityGuise [protected] |
DtTTSSymbol* DtEntitySymbol::myEmbarkedObjects [protected] |
DtPolygonSymbol* DtEntitySymbol::myBoundingBox [protected] |
int DtEntitySymbol::myForceId [protected] |
Referenced by forceId(), and setForceId().
bool DtEntitySymbol::myGhosted [protected] |