Public Member Functions |
| | DtTerrainSelector () |
| virtual | ~DtTerrainSelector () |
| virtual void | selectSymbols (DtModelDataIter *iter, Qt::KeyboardModifiers keyState, Qt::MouseButtons mouseState) |
| | Selects symbols based upon current selector type.
|
| virtual void | setTerrainDatabase (const DtTerrainDatabase *db) |
| | Terrain database access.
|
| virtual const DtTerrainDatabase * | terrainDatabase () const |
| virtual void | setTerrainSelectionMode (DtTerrainSelectionMode mode) |
| virtual DtTerrainSelectionMode | terrainSelectionMode () const |
| virtual void | setScreenRange (int iPixels) |
| | The number of pixels to use as a "hit test" for interest range.
|
| virtual void | clear () |
| | Clears out internal selected lists.
|
| virtual void | select (const DtSpecification &spec, bool merge) |
| | Selects all features that match the specified specification, clearing all other selected items.
|
| virtual bool | selectNode (const DtSpecification &spec, QList< DtNetworkElement * > &segments, QList< DtNetworkSpecElement * > &edges) |
| | Returns true if any items were selected.
|
| virtual bool | selectEdges (const DtSpecification &spec, QList< DtNetworkElement * > &segments, QList< DtNetworkSpecElement * > &edges) |
| virtual bool | selectAllEdges (QList< DtNetworkElement * > &segments, QList< DtNetworkSpecElement * > &edges) |
| virtual void | endSelection (Qt::KeyboardModifiers keyState, Qt::MouseButtons mouseState) |
| | Ends the selection process.
|
| | DtSymbolSelector () |
| virtual | ~DtSymbolSelector () |
| virtual void | draw (QPainter *dc) |
| | Draws the rubber band onto the DC.
|
| virtual void | setSelectorType (DtSelectorType type) |
| | Sets current selector type.
|
| virtual DtSelectorType | selectorType () |
| | Returns current selector type.
|
| virtual QPoint | firstEdgeWindowPoint () |
| | Returns first edge point (DtCircleSelector), or start point.
|
| virtual QPoint | secondEdgeWindowPoint () |
| | Returns second edge point (DtCircleSelector), or end point.
|
| virtual DtPoint | firstEdgePoint () |
| | Returns first edge point (DtCircleSelector), or start point.
|
| virtual DtPoint | secondEdgePoint () |
| | Returns second edge point (DtCircleSelector), or end point.
|
| virtual bool | selectionInProgress () |
| | Returns true if startSelection() has been called.
|
| virtual void | setViewportExtents (const DtTMViewportExtents *v) |
| | Sets the viewport extents.
|
| virtual void | setViewDriver (DtViewDriver *v) |
| | Sets the view driver.
|
| virtual QVector< DtModelKey > & | selectedModelKeys () |
| | Returns list of current symbol data.
|
| virtual void | setSelectionMode (int mode) |
| | Accessors for selection mode.
|
| virtual int | selectionMode () const |
| virtual void | highlightNoSymbols () |
| virtual void | remove (const DtModelKey &key) |
| | Removes a model key from the selected list.
|
| virtual void | setSelectedKeys (const QVector< DtModelKey > &keys) |
| | Sets the selected keys to the specified list.
|
| virtual void | setRightClickMaintainsSelection (bool b) |
| virtual bool | rightClickMaintainsSelection () const |
Protected Member Functions |
| virtual int | calculateInterestRange () |
| virtual void | rectangleSelect (int iInterestRange, const QPoint &start, const QPoint &end, QList< DtNetworkElement * > &list, QList< DtNetworkSpecElement * > &edges) |
| | Given the interest range and start and end points, select all segments or features within the range.
|
| virtual void | pointSelect (int iInterestRange, QList< DtNetworkElement * > &list, QList< DtNetworkSpecElement * > &edges) |
| | Select a feature or segment at the current end point member variable.
|
| virtual void | selectFeaturesByExtent (DtExtent &ext, Qt::KeyboardModifiers keyState, Qt::MouseButtons mouseState) |
| virtual void | extentSelect (int iInteresRange, QList< DtNetworkElement * > &segments, QList< DtNetworkSpecElement * > &edges) |
| | Selects a series of features or segments bounded by the extent form by the start and end points member variables.
|
| virtual void | selectByMode (int iInterestRange, const DtNetworkEdge *edge, QList< DtNetworkElement * > &list, QList< DtNetworkSpecElement * > &edges) |
| | Selects segments by mode (either one or all)
|
| virtual void | collectSegment (int iInterestRange, const DtNetworkEdge *edge, QList< DtNetworkElement * > &list, QList< DtNetworkSpecElement * > &edges) |
| | Find closest segment to current end point and places the result in the supplied list (if segments are not already present)
|
| virtual void | collectAllSegments (int iInterestRange, const DtNetworkEdge *edge, QList< DtNetworkElement * > &list, QList< DtNetworkSpecElement * > &edges) |
| | Collects all segments associated with the specified edge.
|
| virtual void | completeSelection (QList< DtNetworkElement * > &segments, QList< DtNetworkSpecElement * > &edges, Qt::KeyboardModifiers keyState, Qt::MouseButtons mouseState) |
| virtual bool | keepUnknownKeys () const |
| virtual void | highlightSymbols (QVector< DtModelKey > *display=0) |
| | Highlights any currently selected symbols.
|
| virtual void | updateTerrainModelData (QList< DtNetworkElement * > &segments, bool merge) |
| | Weeds out and create data that is (not) contained in the selected list.
|
| virtual void | updateNetworkSpecification (DtNetworkSpecElement *parent, DtNetworkSegment *segment, bool merge) |
| virtual void | drawRect (QPainter *paint) |
| | Draws a rectangle based on selection points.
|
| virtual void | drawCircle (QPainter *paint) |
| | Draws a circle based on selection points.
|
| virtual void | drawCirclePoints (QPainter *paint) |
| | Draws circle points based on selection points.
|
| virtual QPoint | getWindowPoint (const DtPoint &p) |
| | Update window point from database point.
|
| virtual void | merge (const QVector< DtModelKey > &keys, QVector< DtModelKey > &result) |
| | Merge the model keys specified in keys into result by adding new keys and removing keys that are common.
|
Allow for selection of terrain features.
NOTE: Currently only selection mode supported is rectangle selection mode. All others map to rectangle mode