VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions | Protected Attributes
DtIntersectNetworkNodeMetric Class Reference

DtIntersectNetworkNodeMetric is a metric for a point quadtree. More...

Inheritance diagram for DtIntersectNetworkNodeMetric:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtIntersectNetworkNodeMetric ()
 Default constructor.
virtual ~DtIntersectNetworkNodeMetric ()
 Destructor.
 DtIntersectNetworkNodeMetric (const DtIntersectNetworkNodeMetric &orig)
 Copy constructor.
DtIntersectNetworkNodeMetricoperator= (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 DtChordcenterOfInterest () 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 DtTerrainDatabaseterrainDb ()
 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 DtTerrainDatabasemyDb
DtChord myCenterOfInterest
double myMaxRange
double myMeasureMultiplier
double myMaxX
double myMaxY
double myMinX
double myMinY
double mySize
DtNetworkSegmentHelper mySeg
bool myEvalInZ
DtCoordTransform myTopoToLocal

Detailed Description

DtIntersectNetworkNodeMetric is a metric for a point quadtree.

It determines whether a given chord intersects any node in the vector network.


Constructor & Destructor Documentation

Default constructor.

Destructor.

Copy constructor.


Member Function Documentation

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]

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]

get/set terrain database member

virtual void DtIntersectNetworkNodeMetric::setTerrainDb ( const DtTerrainDatabase db) [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]

Member Data Documentation

DtCoordTransform DtIntersectNetworkNodeMetric::myTopoToLocal [protected]

The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)