![]() |
VR-Forces Development_Version 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 |
| DtMetric::DtMetric | ( | ) |
Default constructor.
|
virtual |
Destructor.
| DtMetric::DtMetric | ( | const DtMetric & | orig | ) |
Copy constructor.
|
virtual |
Validates the specification against the conditions set in the addEqualCondition, addDiferentCondition, addLessThanCondition and addGreaterThanCondition functions.
|
virtual |
Adds an equality condition.
|
virtual |
Add a different condition.
|
virtual |
Add less-than condition.
|
virtual |
Add greater-than condition.
|
virtual |
Sets the list of conditions for equality.
| list | List of DtSpecificationAttribute* attributes |
|
virtual |
Sets the list of conditions for difference.
| list | List of DtSpecificationAttribute* attributes |
|
virtual |
Sets the list of conditions for less-than.
| list | List of DtSpecificationAttribute* attributes |
|
virtual |
Sets the list of conditions for greater-than.
| list | List of DtSpecificationAttribute* attributes |
|
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.
|
protectedvirtual |
Empties the condition lists and frees memory.
|
protectedvirtual |
Copy lists.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |