![]() |
VR-Forces Development_Version Class Documentation
|
DtIntersectNetworkNodeMetric is a metric for a point quadtree. More...

Public Member Functions | |
| DtIntersectNetworkNodeMetric () | |
| Default constructor. | |
| virtual | ~DtIntersectNetworkNodeMetric () |
| Destructor. | |
| DtIntersectNetworkNodeMetric (const DtIntersectNetworkNodeMetric &orig) | |
| Copy constructor. | |
| DtIntersectNetworkNodeMetric & | operator= (const DtIntersectNetworkNodeMetric &orig) |
| Assignment operator. | |
| virtual double | measure (const DtNetworkNode &node) const |
| Measure the node by its distance (times the measure multiplier) from the center of interest. | |
| virtual double | measure (const DtNetworkNode &node, DtPoint &p) const |
| Measure the node by its distance (times the measure multiplier) | |
| virtual bool | valid (const DtNetworkNode &node) const |
| Validate the node. | |
| virtual bool | validSW (const DtNetworkNode &node) const |
| Validate the southwest quadrant (closed on southwest side) | |
| virtual bool | validSE (const DtNetworkNode &node) const |
| Validate the southeast quadrant (closed on southwest side) | |
| virtual bool | validNE (const DtNetworkNode &node) const |
| Validate the northeast quadrant (closed on southwest side) | |
| virtual bool | validNW (const DtNetworkNode &node) const |
| Validate the northwest quadrant (closed on southwest side) | |
| virtual const DtChord & | centerOfInterest () const |
| Get/set the chord to be tested. | |
| virtual void | setCenterOfInterest (const DtChord &val) |
| virtual double | maxRange () const |
| get/set max Intersect range | |
| virtual void | setMaxRange (double val) |
| virtual bool | evalInZ () |
| get/set evaluation in Z | |
| virtual void | setEvalInZ (bool eval) |
| virtual double | measureMultiplier () const |
| get/set measure multiplier | |
| virtual void | setMeasureMultiplier (double val) |
| virtual const DtTerrainDatabase * | terrainDb () |
| get/set terrain database member | |
| virtual void | setTerrainDb (const DtTerrainDatabase *db) |
| virtual void | initialize (Coordinate_System *cs) |
| Initialize the metric. | |
Public Member Functions inherited from DtNetworkNodeMetric | |
| DtNetworkNodeMetric () | |
| Default constructor. | |
| virtual | ~DtNetworkNodeMetric () |
| Destructor. | |
| DtNetworkNodeMetric (const DtNetworkNodeMetric &orig) | |
| Copy constructor. | |
| DtNetworkNodeMetric & | operator= (const DtNetworkNodeMetric &orig) |
| Assignment operator. | |
Public Member Functions inherited from DtMetric | |
| 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. | |
Protected Member Functions | |
| virtual bool | intersectsWithNode (const DtNetworkSegment &seg, const DtNetworkNode &node, DtPoint &intersectionPoint, double &time) const |
Protected Attributes | |
| const DtTerrainDatabase * | myDb |
| DtChord | myCenterOfInterest |
| double | myMaxRange |
| double | myMeasureMultiplier |
| double | myMaxX |
| double | myMaxY |
| double | myMinX |
| double | myMinY |
| double | mySize |
| DtNetworkSegmentHelper | mySeg |
| bool | myEvalInZ |
| DtCoordTransform | myTopoToLocal |
DtIntersectNetworkNodeMetric is a metric for a point quadtree.
It determines whether a given chord intersects any node in the vector network.
| DtIntersectNetworkNodeMetric::DtIntersectNetworkNodeMetric | ( | ) |
Default constructor.
|
virtual |
Destructor.
| DtIntersectNetworkNodeMetric::DtIntersectNetworkNodeMetric | ( | const DtIntersectNetworkNodeMetric & | orig | ) |
Copy constructor.
| DtIntersectNetworkNodeMetric& DtIntersectNetworkNodeMetric::operator= | ( | const DtIntersectNetworkNodeMetric & | orig | ) |
Assignment operator.
|
virtual |
Measure the node by its distance (times the measure multiplier) from the center of interest.
Implements DtNetworkNodeMetric.
|
virtual |
Measure the node by its distance (times the measure multiplier)
|
virtual |
Validate the node.
Implements DtNetworkNodeMetric.
Reimplemented in DtFeatureExtentIntersectNetworkNodeMetric.
|
virtual |
Validate the southwest quadrant (closed on southwest side)
Implements DtNetworkNodeMetric.
|
virtual |
Validate the southeast quadrant (closed on southwest side)
Implements DtNetworkNodeMetric.
|
virtual |
Validate the northeast quadrant (closed on southwest side)
Implements DtNetworkNodeMetric.
|
virtual |
Validate the northwest quadrant (closed on southwest side)
Implements DtNetworkNodeMetric.
|
virtual |
Get/set the chord to be tested.
|
virtual |
|
virtual |
get/set max Intersect range
|
virtual |
|
virtual |
get/set evaluation in Z
|
virtual |
|
virtual |
get/set measure multiplier
|
virtual |
|
virtual |
get/set terrain database member
|
virtual |
|
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 from DtMetric.
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |