![]() |
VR-Forces 4.0.4 Class Documentation
|
The feature layer is a type of terrain layer which contains features, such as points, lines, areas, and props created from them. More...

Public Member Functions | |
| DtFeatureLayer (DtDe &de, DtAgentManagerInterface &sceneInterface, const std::string &filename) | |
| CTOR. | |
| ~DtFeatureLayer () | |
| DTOR. | |
| virtual void | getRecord (makArchives::DtFeatureLayerRecord &rec) const |
| Fill out a DtFeatureLayerRecord with the current terrain info. | |
| virtual void | setFromRecord (const makArchives::DtFeatureLayerRecord &rec) |
| Populate a DtFeatureLayer from a DtFeatureLayerRecord. | |
| const std::string & | filename () const |
| Get the name of the file this feature layer was created from. | |
| DtFeature * | findFeature (DtElementID id) |
| Find a feature. | |
| bool | destroyFeature (DtElementID id) |
| Destroy a feature. | |
Prop management | |
| virtual void | addProps (const makArchives::DtAddPropsRuleRecord &rule) |
| Add props based on the rule to the DtFeatureLayer. | |
| const makArchives::DtAddPropsRuleRecordVector & | addPropsRules () const |
| Add props rules vector accessor. | |
| DtFeatureSet & | featureSet () |
| Get the feature set containing all of the features. | |
| const DtFeatureSet & | featureSet () const |
| Get the feature set containing all of the features. | |
Protected Member Functions | |
| void | loadFeatures () |
| void | showFeatures () |
| void | groundClampFeatures () |
| void | checkForDisplayFeatureChanged (int mode, int setting, bool state) |
Private Attributes | |
| std::string | myFilename |
| makArchives::DtAddPropsRuleRecordVector | myAddPropsRules |
| DtFeatureSet | myFeatures |
The feature layer is a type of terrain layer which contains features, such as points, lines, areas, and props created from them.
| makVrv::DtFeatureLayer::DtFeatureLayer | ( | DtDe & | de, |
| DtAgentManagerInterface & | sceneInterface, | ||
| const std::string & | filename | ||
| ) |
CTOR.
DTOR.
| virtual void makVrv::DtFeatureLayer::getRecord | ( | makArchives::DtFeatureLayerRecord & | rec | ) | const [virtual] |
Fill out a DtFeatureLayerRecord with the current terrain info.
| virtual void makVrv::DtFeatureLayer::setFromRecord | ( | const makArchives::DtFeatureLayerRecord & | rec | ) | [virtual] |
Populate a DtFeatureLayer from a DtFeatureLayerRecord.
| virtual void makVrv::DtFeatureLayer::addProps | ( | const makArchives::DtAddPropsRuleRecord & | rule | ) | [virtual] |
Add props based on the rule to the DtFeatureLayer.
Add props rules vector accessor.
| const std::string& makVrv::DtFeatureLayer::filename | ( | ) | const |
Get the name of the file this feature layer was created from.
Get the feature set containing all of the features.
| const DtFeatureSet& makVrv::DtFeatureLayer::featureSet | ( | ) | const |
Get the feature set containing all of the features.
Find a feature.
Destroy a feature.
| void makVrv::DtFeatureLayer::loadFeatures | ( | ) | [protected] |
| void makVrv::DtFeatureLayer::showFeatures | ( | ) | [protected] |
| void makVrv::DtFeatureLayer::groundClampFeatures | ( | ) | [protected] |
| void makVrv::DtFeatureLayer::checkForDisplayFeatureChanged | ( | int | mode, |
| int | setting, | ||
| bool | state | ||
| ) | [protected] |
std::string makVrv::DtFeatureLayer::myFilename [private] |