![]() |
VR-Forces 4.0.4 Class Documentation
|
Public Member Functions | |
| DtSegmentList (const DtNetworkSpecElement *me) | |
| DtSegmentList (const DtSegmentList &) | |
| void | activateAll (bool b) |
| bool | active () const |
| void | setOn (const DtNetworkElement *element, bool onOff) |
| bool | segmentActive (const DtNetworkElement *) const |
| const QList< DtSegmentElement > & | segments () const |
| QList< DtSegmentElement > & | segments () |
| const QVector< DtPoint > & | points () const |
| void | setPoints (const QVector< DtPoint > &) |
| myPoints member clones all points in the vector, so, be sure to free the original memory. | |
| void | setDirty (bool) |
| bool | dirty () const |
| void | setElement (const DtNetworkSpecElement *) |
| const DtNetworkSpecElement * | element () const |
Protected Attributes | |
| QList< DtSegmentElement > | mySegments |
| QVector< DtPoint > | myPoints |
| bool | myDirty |
| const DtNetworkSpecElement * | myElement |
| DtSegmentList::DtSegmentList | ( | const DtNetworkSpecElement * | me | ) |
| DtSegmentList::DtSegmentList | ( | const DtSegmentList & | ) |
| void DtSegmentList::activateAll | ( | bool | b | ) |
| bool DtSegmentList::active | ( | ) | const |
| void DtSegmentList::setOn | ( | const DtNetworkElement * | element, |
| bool | onOff | ||
| ) |
| bool DtSegmentList::segmentActive | ( | const DtNetworkElement * | ) | const |
| const QList< DtSegmentElement > & DtSegmentList::segments | ( | ) | const [inline] |
References mySegments.
| QList< DtSegmentElement > & DtSegmentList::segments | ( | ) | [inline] |
References mySegments.
| const QVector< DtPoint > & DtSegmentList::points | ( | ) | const [inline] |
References myPoints.
| void DtSegmentList::setPoints | ( | const QVector< DtPoint > & | ) |
myPoints member clones all points in the vector, so, be sure to free the original memory.
This will happen if deepCopy is true (default)
| void DtSegmentList::setDirty | ( | bool | b | ) | [inline] |
References myDirty.
| bool DtSegmentList::dirty | ( | ) | const [inline] |
References myDirty.
| void DtSegmentList::setElement | ( | const DtNetworkSpecElement * | e | ) | [inline] |
References myElement.
| const DtNetworkSpecElement * DtSegmentList::element | ( | ) | const [inline] |
References myElement.
QList<DtSegmentElement> DtSegmentList::mySegments [protected] |
Referenced by segments().
QVector<DtPoint> DtSegmentList::myPoints [protected] |
Referenced by points().
bool DtSegmentList::myDirty [protected] |
Referenced by dirty(), and setDirty().
const DtNetworkSpecElement* DtSegmentList::myElement [protected] |
Referenced by element(), and setElement().