VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Attributes
DtSegmentList Class Reference

List of all members.

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 DtNetworkSpecElementelement () const

Protected Attributes

QList< DtSegmentElementmySegments
QVector< DtPointmyPoints
bool myDirty
const DtNetworkSpecElementmyElement

Constructor & Destructor Documentation


Member Function Documentation

void DtSegmentList::setOn ( const DtNetworkElement element,
bool  onOff 
)
const QList< DtSegmentElement > & DtSegmentList::segments ( ) const [inline]

References mySegments.

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.


Member Data Documentation

Referenced by segments().

QVector<DtPoint> DtSegmentList::myPoints [protected]

Referenced by points().

Referenced by dirty(), and setDirty().

Referenced by element(), and setElement().


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)