![]() |
VR-Forces 4.1.1 Class Documentation
|
The vector network tree widget displays the tree representing vector network loaded from feature layers. More...

Public Member Functions | |
| DtVectorNetworkTreeWidget (DtDe &de, QWidget *parent) | |
| CTOR. | |
| virtual | ~DtVectorNetworkTreeWidget () |
| DTOR. | |
| virtual void | addLayer (const std::string &layerName) |
| Call to add a feature layer to the gui. | |
| virtual void | removeLayer (const std::string &layerName) |
| Call to remove a feature layer to the gui. | |
| virtual void | showLayer (const std::string &layerName) |
| Call to show a layer in the gui. | |
| virtual void | hideLayer (const std::string &layerName) |
| Call to hide a layer in the gui. | |
| virtual void | addPointFeature (DtElementID id, const std::string &layerName, unsigned int index, DFAD::FeatureID feature, const DtFaccCode &code) |
| Call to add a point feature to the gui. | |
| virtual void | addLinearFeature (DtElementID id, const std::string &layerName, unsigned int index, DFAD::FeatureID feature, const DtFaccCode &code) |
| Call to add a point feature to the gui. | |
| virtual void | addArealFeature (DtElementID id, const std::string &layerName, unsigned int index, DFAD::FeatureID feature, const DtFaccCode &code) |
| Call to add a point feature to the gui. | |
| virtual void | removeFeature (DtElementID id) |
| Call to remove a point feature to the gui. | |
| virtual void | setFeatureSelected (DtElementID id, bool selected) |
| Call to select/deselect a point feature in the gui. | |
| virtual void | finishedAdding () |
| Call this function after adding new contents. | |
Public Member Functions inherited from makVrv::DtVectorNetworkTreeInterface | |
| DtVectorNetworkTreeInterface () | |
| virtual | ~DtVectorNetworkTreeInterface () |
Protected Types | |
| enum | FeatureType { Point, Linear, Areal } |
| typedef boost::unordered_map < QTreeWidgetItem *, QList < QTreeWidgetItem * > > | ToAddMap |
Protected Member Functions | |
| virtual void | selectionChanged (const QItemSelection &selected, const QItemSelection &deselected) |
| Override default version. | |
| QTreeWidgetItem & | layerRoot (const std::string &layerName) |
| QTreeWidgetItem & | featureTypeRoot (const std::string &layerName, FeatureType type) |
| QTreeWidgetItem * | findFeatureItem (DtElementID id) const |
Protected Attributes | |
| ToAddMap | myItemsToAdd |
| DtVectorNetworkTreeLogic * | myLogic |
Additional Inherited Members | |
Public Attributes inherited from makVrv::DtVectorNetworkTreeInterface | |
| boost::signal< void()> | signal_refresh |
| Signal to the logic to resend all data to the gui. | |
| boost::signal< void(DtElementID id, bool selection)> | signal_featureSelectionChanged |
| Signal to the logic that a point was selected. | |
The vector network tree widget displays the tree representing vector network loaded from feature layers.
|
protected |
|
protected |
|
virtual |
DTOR.
|
virtual |
Call to add a feature layer to the gui.
Implements makVrv::DtVectorNetworkTreeInterface.
|
virtual |
Call to remove a feature layer to the gui.
Implements makVrv::DtVectorNetworkTreeInterface.
|
virtual |
Call to show a layer in the gui.
Implements makVrv::DtVectorNetworkTreeInterface.
|
virtual |
Call to hide a layer in the gui.
Implements makVrv::DtVectorNetworkTreeInterface.
|
virtual |
Call to add a point feature to the gui.
Implements makVrv::DtVectorNetworkTreeInterface.
|
virtual |
Call to add a point feature to the gui.
Implements makVrv::DtVectorNetworkTreeInterface.
|
virtual |
Call to add a point feature to the gui.
Implements makVrv::DtVectorNetworkTreeInterface.
|
virtual |
Call to remove a point feature to the gui.
Implements makVrv::DtVectorNetworkTreeInterface.
|
virtual |
Call to select/deselect a point feature in the gui.
Implements makVrv::DtVectorNetworkTreeInterface.
|
virtual |
Call this function after adding new contents.
Implements makVrv::DtVectorNetworkTreeInterface.
|
protectedvirtual |
Override default version.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |