![]() |
VR-Forces 4.0.4 Class Documentation
|

Public Member Functions | |
| DtMetric () | |
| Default constructor. | |
| virtual | ~DtMetric () |
| Destructor. | |
| DtMetric (const DtMetric &orig) | |
| Copy constructor. | |
| DtMetric & | operator= (const DtMetric &orig) |
| Assignment operator. | |
| virtual bool | validSpecification (const DtSpecification &spec) const |
| Validates the specification against the conditions set in the addEqualCondition, addDiferentCondition, addLessThanCondition and addGreaterThanCondition functions. | |
| virtual void | addEqualCondition (const DtSpecificationAttribute &attrib) |
| Adds an equality condition. | |
| virtual void | addDifferentCondition (const DtSpecificationAttribute &attrib) |
| Add a different condition. | |
| virtual void | addLessThanCondition (const DtSpecificationAttribute &attrib) |
| Add less-than condition. | |
| virtual void | addGreaterThanCondition (const DtSpecificationAttribute &attrib) |
| Add greater-than condition. | |
| virtual void | setEqualList (DtSimpleList *list) |
| Sets the list of conditions for equality. | |
| virtual void | setDiffList (DtSimpleList *list) |
| Sets the list of conditions for difference. | |
| virtual void | setLessThanList (DtSimpleList *list) |
| Sets the list of conditions for less-than. | |
| virtual void | setGreaterThanList (DtSimpleList *list) |
| Sets the list of conditions for greater-than. | |
| virtual void | initialize (Coordinate_System *cs) |
| Initialize the metric. | |
Protected Member Functions | |
| virtual void | emptyLists () |
| Empties the condition lists and frees memory. | |
| virtual void | copyLists (const DtMetric &orig) |
| Copy lists. | |
Protected Attributes | |
| bool | myOwnEqualList |
| bool | myOwnDiffList |
| bool | myOwnLessThanList |
| bool | myOwnGreaterThanList |
| DtSimpleList * | myEqualAttributes |
| DtSimpleList * | myDifferentAttributes |
| DtSimpleList * | myGreaterThanAttributes |
| DtSimpleList * | myLessThanAttributes |
| DtCoordTransform | myLocalToTopo |
| bool | myMetricInitialized |
Default constructor.
| virtual DtMetric::~DtMetric | ( | ) | [virtual] |
Destructor.
| DtMetric::DtMetric | ( | const DtMetric & | orig | ) |
Copy constructor.
| virtual bool DtMetric::validSpecification | ( | const DtSpecification & | spec | ) | const [virtual] |
Validates the specification against the conditions set in the addEqualCondition, addDiferentCondition, addLessThanCondition and addGreaterThanCondition functions.
| virtual void DtMetric::addEqualCondition | ( | const DtSpecificationAttribute & | attrib | ) | [virtual] |
Adds an equality condition.
| virtual void DtMetric::addDifferentCondition | ( | const DtSpecificationAttribute & | attrib | ) | [virtual] |
Add a different condition.
| virtual void DtMetric::addLessThanCondition | ( | const DtSpecificationAttribute & | attrib | ) | [virtual] |
Add less-than condition.
| virtual void DtMetric::addGreaterThanCondition | ( | const DtSpecificationAttribute & | attrib | ) | [virtual] |
Add greater-than condition.
| virtual void DtMetric::setEqualList | ( | DtSimpleList * | list | ) | [virtual] |
Sets the list of conditions for equality.
| list | List of DtSpecificationAttribute* attributes |
| virtual void DtMetric::setDiffList | ( | DtSimpleList * | list | ) | [virtual] |
Sets the list of conditions for difference.
| list | List of DtSpecificationAttribute* attributes |
| virtual void DtMetric::setLessThanList | ( | DtSimpleList * | list | ) | [virtual] |
Sets the list of conditions for less-than.
| list | List of DtSpecificationAttribute* attributes |
| virtual void DtMetric::setGreaterThanList | ( | DtSimpleList * | list | ) | [virtual] |
Sets the list of conditions for greater-than.
| list | List of DtSpecificationAttribute* attributes |
| virtual void DtMetric::initialize | ( | Coordinate_System * | cs | ) | [virtual] |
Initialize the metric.
Use this call to do any additional preparation/initialization before the metric can be used. The vector network calls this function every time a metric is about to be used.
Reimplemented in DtIntersectNetworkSegmentMetric, DtIntersectNetworkNodeMetric, DtSingleIntersectNetworkSegmentMetric, DtRangeNetworkSegmentMetric, and DtNetworkAreaMetric.
| virtual void DtMetric::emptyLists | ( | ) | [protected, virtual] |
Empties the condition lists and frees memory.
| virtual void DtMetric::copyLists | ( | const DtMetric & | orig | ) | [protected, virtual] |
Copy lists.
bool DtMetric::myOwnEqualList [protected] |
bool DtMetric::myOwnDiffList [protected] |
bool DtMetric::myOwnLessThanList [protected] |
bool DtMetric::myOwnGreaterThanList [protected] |
DtSimpleList* DtMetric::myEqualAttributes [protected] |
DtSimpleList* DtMetric::myDifferentAttributes [protected] |
DtSimpleList* DtMetric::myGreaterThanAttributes [protected] |
DtSimpleList* DtMetric::myLessThanAttributes [protected] |
DtCoordTransform DtMetric::myLocalToTopo [protected] |
bool DtMetric::myMetricInitialized [protected] |