![]() |
VR-Forces 4.0.4 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. | |
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 |
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 |
CTOR.
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.
Find a feature by it's element id.
Destroy a feature by it's element id.
| void makVrv::DtFeatureSet::slot_onFeatureInfoChanged | ( | const DtFaccCode & | code, |
| const DtFaccInfo & | info | ||
| ) | [protected] |
| void makVrv::DtFeatureSet::slot_selectionChanged | ( | const DtSelectionManager::IdSet & | selected, |
| const DtSelectionManager::IdSet & | deselected, | ||
| DtSelectionManager::SelectionType | newType, | ||
| DtSelectionManager::SelectionType | oldType | ||
| ) | [protected] |
DtDe& makVrv::DtFeatureSet::myDe [protected] |
PointFeatureMap makVrv::DtFeatureSet::myPointFeatures [protected] |
EdgeFeatureMap makVrv::DtFeatureSet::myEdgeFeatures [protected] |
ArealFeatureMap makVrv::DtFeatureSet::myArealFeatures [protected] |
int makVrv::DtFeatureSet::myModelSet [protected] |