![]() |
VR-Forces 4.1 Class Documentation
|
The DtFeatureSet contains all of the features of a particular database. More...

Public Types | |
| typedef boost::unordered_map < DtPointFeature *, DtPointFeatureVisualizer * > | PointFeatureMap |
| typedef boost::unordered_map < DtEdgeFeature *, DtEdgeFeatureVisualizer * > | EdgeFeatureMap |
| typedef boost::unordered_map < DtArealFeature *, DtArealFeatureVisualizer * > | ArealFeatureMap |
| typedef boost::unordered_map < DtElementID, DtFeature * > | ElementFeatureMap |
Public Member Functions | |
| DtFeatureSet (DtDe &de) | |
| CTOR. | |
| ~DtFeatureSet () | |
| DTOR. | |
| void | clear () |
| Removes all features in this set. | |
| void | visualize (int modelSet) |
| Visualizes all features in the set for a given model set. | |
| void | unvisualize (int modelSet) |
| Stop visualizes all features in the set for a given model set. | |
| void | groundClamp () |
| Ground clamp all of the props. | |
| const PointFeatureMap & | pointFeatures () const |
| Get the container of all point features. | |
| const EdgeFeatureMap & | linearFeatures () const |
| Get the container of all edge features. | |
| const ArealFeatureMap & | arealFeatures () const |
| Get the container of all edge features. | |
| DtPointFeature * | createPointFeature (DFAD::FeatureID featureId, const DtFaccCode &featureCode, unsigned int sourceId=0) |
| Create a point feature with a given specification. | |
| void | destroyPointFeature (DtPointFeature *feature) |
| Destroy a point feature. | |
| DtEdgeFeature * | createEdgeFeature (DFAD::FeatureID featureId, const DtFaccCode &featureCode, unsigned int sourceId=0) |
| Create an edge feature with a given specification. | |
| void | destroyEdgeFeature (DtEdgeFeature *feature) |
| Destroy an edge feature. | |
| DtArealFeature * | createArealFeature (DFAD::FeatureID featureId, const DtFaccCode &featureCode, unsigned int sourceId=0) |
| Create an edge feature with a given specification. | |
| void | destroyArealFeature (DtArealFeature *feature) |
| Destroy an edge feature. | |
| DtFeature * | findFeature (DtElementID id) |
| Find a feature by it's element id. | |
| bool | destroyFeature (DtElementID id) |
| Destroy a feature by it's element id. | |
Public Member Functions inherited from makVrv::DtSignalConnectionManager | |
| DtSignalConnectionManager () | |
| CTOR. | |
| virtual | ~DtSignalConnectionManager () |
| DTOR. | |
| void | manageConnection (const boost::signalslib::connection &conn) |
| Connect a signal. | |
| DtSignalConnectionManager & | operator+= (const boost::signalslib::connection &conn) |
| Connect a signal. | |
| int | numberOfConnections () const |
| Get the number of connections. | |
| void | disconnectSignals () |
| Disconnect all signals. | |
| bool | blockConnections (bool blocked) |
| Blocks/unblocks connections. | |
| bool | blockConnection (int index, bool blocked) |
| Blocks/unblocks connections. | |
| bool | connectionsBlocked () const |
| check whether connections are blocked. | |
| bool | connectionBlocked (int index) const |
| check whether connections are blocked. | |
Protected Member Functions | |
| void | slot_onFeatureInfoChanged (const DtFaccCode &code, const DtFaccInfo &info) |
| void | slot_selectionChanged (const DtSelectionManager::IdSet &selected, const DtSelectionManager::IdSet &deselected, DtSelectionManager::SelectionType newType, DtSelectionManager::SelectionType oldType) |
Protected Attributes | |
| DtDe & | myDe |
| PointFeatureMap | myPointFeatures |
| EdgeFeatureMap | myEdgeFeatures |
| ArealFeatureMap | myArealFeatures |
| ElementFeatureMap | myElementFeatureMap |
| int | myModelSet |
Protected Attributes inherited from makVrv::DtSignalConnectionManager | |
| Connections | myConnections |
| The connected signals. | |
| bool | myConnectionsBlocked |
| bool | myIndiviualConnectionedBlocked |
Additional Inherited Members | |
Protected Types inherited from makVrv::DtSignalConnectionManager | |
| typedef std::vector < boost::signalslib::connection > | Connections |
| A collection of signals. | |
The DtFeatureSet contains all of the features of a particular database.
These features include point, linear, and areal features.
| typedef boost::unordered_map<DtPointFeature*,DtPointFeatureVisualizer*> makVrv::DtFeatureSet::PointFeatureMap |
| typedef boost::unordered_map<DtEdgeFeature*,DtEdgeFeatureVisualizer*> makVrv::DtFeatureSet::EdgeFeatureMap |
| typedef boost::unordered_map<DtArealFeature*,DtArealFeatureVisualizer*> makVrv::DtFeatureSet::ArealFeatureMap |
| typedef boost::unordered_map<DtElementID, DtFeature*> makVrv::DtFeatureSet::ElementFeatureMap |
| makVrv::DtFeatureSet::DtFeatureSet | ( | DtDe & | de | ) |
CTOR.
| makVrv::DtFeatureSet::~DtFeatureSet | ( | ) |
DTOR.
| void makVrv::DtFeatureSet::clear | ( | ) |
Removes all features in this set.
| void makVrv::DtFeatureSet::visualize | ( | int | modelSet | ) |
Visualizes all features in the set for a given model set.
| void makVrv::DtFeatureSet::unvisualize | ( | int | modelSet | ) |
Stop visualizes all features in the set for a given model set.
| void makVrv::DtFeatureSet::groundClamp | ( | ) |
Ground clamp all of the props.
| const PointFeatureMap& makVrv::DtFeatureSet::pointFeatures | ( | ) | const |
Get the container of all point features.
| const EdgeFeatureMap& makVrv::DtFeatureSet::linearFeatures | ( | ) | const |
Get the container of all edge features.
| const ArealFeatureMap& makVrv::DtFeatureSet::arealFeatures | ( | ) | const |
Get the container of all edge features.
| DtPointFeature* makVrv::DtFeatureSet::createPointFeature | ( | DFAD::FeatureID | featureId, |
| const DtFaccCode & | featureCode, | ||
| unsigned int | sourceId = 0 |
||
| ) |
Create a point feature with a given specification.
The point feature is stored inside the feature set. The pointer returned should not be deleted.
| void makVrv::DtFeatureSet::destroyPointFeature | ( | DtPointFeature * | feature | ) |
Destroy a point feature.
Removes and delete the point feature provided. The memory pointed to by the input pointer is invalid after this call.
| DtEdgeFeature* makVrv::DtFeatureSet::createEdgeFeature | ( | DFAD::FeatureID | featureId, |
| const DtFaccCode & | featureCode, | ||
| unsigned int | sourceId = 0 |
||
| ) |
Create an edge feature with a given specification.
The edge feature is stored inside the feature set. The pointer returned should not be deleted.
| void makVrv::DtFeatureSet::destroyEdgeFeature | ( | DtEdgeFeature * | feature | ) |
Destroy an edge feature.
Removes and delete the edge feature provided. The memory pointed to by the input pointer is invalid after this call.
| DtArealFeature* makVrv::DtFeatureSet::createArealFeature | ( | DFAD::FeatureID | featureId, |
| const DtFaccCode & | featureCode, | ||
| unsigned int | sourceId = 0 |
||
| ) |
Create an edge feature with a given specification.
The edge feature is stored inside the feature set. The pointer returned should not be deleted.
| void makVrv::DtFeatureSet::destroyArealFeature | ( | DtArealFeature * | feature | ) |
Destroy an edge feature.
Removes and delete the edge feature provided. The memory pointed to by the input pointer is invalid after this call.
| DtFeature* makVrv::DtFeatureSet::findFeature | ( | DtElementID | id | ) |
Find a feature by it's element id.
| bool makVrv::DtFeatureSet::destroyFeature | ( | DtElementID | id | ) |
Destroy a feature by it's element id.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |