![]() |
VR-Forces 4.1 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 |
|
inline |
References mySegments.
|
inline |
References mySegments.
| 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)
|
inline |
References myElement.
|
inline |
References myElement.
|
protected |
Referenced by segments().
|
protected |
Referenced by dirty(), and setDirty().
|
protected |
Referenced by element(), and setElement().