![]() |
VR-Forces 4.0.4 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. | |
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.
Default constructor.
| virtual DtIntersectNetworkNodeMetric::~DtIntersectNetworkNodeMetric | ( | ) | [virtual] |
Destructor.
| DtIntersectNetworkNodeMetric::DtIntersectNetworkNodeMetric | ( | const DtIntersectNetworkNodeMetric & | orig | ) |
Copy constructor.
| DtIntersectNetworkNodeMetric& DtIntersectNetworkNodeMetric::operator= | ( | const DtIntersectNetworkNodeMetric & | orig | ) |
Assignment operator.
| virtual double DtIntersectNetworkNodeMetric::measure | ( | const DtNetworkNode & | node | ) | const [virtual] |
Measure the node by its distance (times the measure multiplier) from the center of interest.
Implements DtNetworkNodeMetric.
| virtual double DtIntersectNetworkNodeMetric::measure | ( | const DtNetworkNode & | node, |
| DtPoint & | p | ||
| ) | const [virtual] |
Measure the node by its distance (times the measure multiplier)
| virtual bool DtIntersectNetworkNodeMetric::valid | ( | const DtNetworkNode & | node | ) | const [virtual] |
Validate the node.
Implements DtNetworkNodeMetric.
Reimplemented in DtFeatureExtentIntersectNetworkNodeMetric.
| virtual bool DtIntersectNetworkNodeMetric::validSW | ( | const DtNetworkNode & | node | ) | const [virtual] |
Validate the southwest quadrant (closed on southwest side)
Implements DtNetworkNodeMetric.
| virtual bool DtIntersectNetworkNodeMetric::validSE | ( | const DtNetworkNode & | node | ) | const [virtual] |
Validate the southeast quadrant (closed on southwest side)
Implements DtNetworkNodeMetric.
| virtual bool DtIntersectNetworkNodeMetric::validNE | ( | const DtNetworkNode & | node | ) | const [virtual] |
Validate the northeast quadrant (closed on southwest side)
Implements DtNetworkNodeMetric.
| virtual bool DtIntersectNetworkNodeMetric::validNW | ( | const DtNetworkNode & | node | ) | const [virtual] |
Validate the northwest quadrant (closed on southwest side)
Implements DtNetworkNodeMetric.
| virtual const DtChord& DtIntersectNetworkNodeMetric::centerOfInterest | ( | ) | const [virtual] |
Get/set the chord to be tested.
| virtual void DtIntersectNetworkNodeMetric::setCenterOfInterest | ( | const DtChord & | val | ) | [virtual] |
| virtual double DtIntersectNetworkNodeMetric::maxRange | ( | ) | const [virtual] |
get/set max Intersect range
| virtual void DtIntersectNetworkNodeMetric::setMaxRange | ( | double | val | ) | [virtual] |
| virtual bool DtIntersectNetworkNodeMetric::evalInZ | ( | ) | [virtual] |
get/set evaluation in Z
| virtual void DtIntersectNetworkNodeMetric::setEvalInZ | ( | bool | eval | ) | [virtual] |
| virtual double DtIntersectNetworkNodeMetric::measureMultiplier | ( | ) | const [virtual] |
get/set measure multiplier
| virtual void DtIntersectNetworkNodeMetric::setMeasureMultiplier | ( | double | val | ) | [virtual] |
| virtual const DtTerrainDatabase* DtIntersectNetworkNodeMetric::terrainDb | ( | ) | [virtual] |
get/set terrain database member
| virtual void DtIntersectNetworkNodeMetric::setTerrainDb | ( | const DtTerrainDatabase * | db | ) | [virtual] |
| virtual void DtIntersectNetworkNodeMetric::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 from DtMetric.
| virtual bool DtIntersectNetworkNodeMetric::intersectsWithNode | ( | const DtNetworkSegment & | seg, |
| const DtNetworkNode & | node, | ||
| DtPoint & | intersectionPoint, | ||
| double & | time | ||
| ) | const [protected, virtual] |
const DtTerrainDatabase* DtIntersectNetworkNodeMetric::myDb [protected] |
double DtIntersectNetworkNodeMetric::myMaxRange [protected] |
double DtIntersectNetworkNodeMetric::myMeasureMultiplier [protected] |
double DtIntersectNetworkNodeMetric::myMaxX [protected] |
double DtIntersectNetworkNodeMetric::myMaxY [protected] |
double DtIntersectNetworkNodeMetric::myMinX [protected] |
double DtIntersectNetworkNodeMetric::myMinY [protected] |
double DtIntersectNetworkNodeMetric::mySize [protected] |
bool DtIntersectNetworkNodeMetric::myEvalInZ [protected] |
DtCoordTransform DtIntersectNetworkNodeMetric::myTopoToLocal [protected] |