![]() |
VR-Forces 4.10 Class Documentation
|
The DtPropAdder will create props from feature files containing prop point features and add them to the makVrv::DtTerrainLayer. More...

Public Member Functions | |
| DtTdbPropAdder (DtDe &de, const std::string &fileName, DtAgentManagerInterface &agentManagerInterface) | |
| CTOR. More... | |
| virtual | ~DtTdbPropAdder () |
| DTOR. More... | |
| void | addProps (const makArchives::DtAddPropsRuleRecord &rule, DtTerrainLayer *terrainLayer) |
| Load the feature file, look for features based on the rule and create create props. More... | |
Public Member Functions inherited from makVrv::DtPropAdder | |
| DtPropAdder (DtDe &de, DtAgentManagerInterface &agentManagerInterface) | |
| CTOR. More... | |
| virtual | ~DtPropAdder () |
| DTOR. More... | |
Protected Member Functions | |
| bool | matchRuleWithNode (const makArchives::DtAddPropsRuleRecord &rule, const DtNetworkNode &node) |
| Return true if all the field/ value pairs in rule exist in node. More... | |
| bool | matchPairWithNode (const std::string &field, const std::string &value, const DtNetworkNode &node) |
| //! Return true if field/ value pair exists in node. More... | |
| bool | buildProp (const makArchives::DtAddPropsRuleRecord &rule, const DtNetworkNode &node, DtTerrainLayer *terrainLayer) |
| Build a prop from node, based on rule, and add it to props. More... | |
| bool | validPoint (const DtPoint &point) const |
| Test a DtPoint for validity: no values NaN or +/-#INF, and at least one value nonzero. More... | |
Protected Attributes | |
| std::string | myFileName |
Protected Attributes inherited from makVrv::DtPropAdder | |
| DtDe & | myDe |
| DtAgentManagerInterface & | myAgentInterface |
The DtPropAdder will create props from feature files containing prop point features and add them to the makVrv::DtTerrainLayer.
| makVrv::DtTdbPropAdder::DtTdbPropAdder | ( | DtDe & | de, |
| const std::string & | fileName, | ||
| DtAgentManagerInterface & | agentManagerInterface | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Load the feature file, look for features based on the rule and create create props.
Add those props to terrainLayer.
Implements makVrv::DtPropAdder.
|
protected |
Return true if all the field/ value pairs in rule exist in node.
|
protected |
//! Return true if field/ value pair exists in node.
|
protected |
Build a prop from node, based on rule, and add it to props.
Test a DtPoint for validity: no values NaN or +/-#INF, and at least one value nonzero.
|
protected |