VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | 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]

Public Member Functions

 DtIntersectNetworkNodeMetric ()
 Default constructor. More...
 
virtual ~DtIntersectNetworkNodeMetric ()
 Destructor. More...
 
 DtIntersectNetworkNodeMetric (const DtIntersectNetworkNodeMetric &orig)
 Copy constructor. More...
 
DtIntersectNetworkNodeMetricoperator= (const DtIntersectNetworkNodeMetric &orig)
 Assignment operator. More...
 
virtual double measure (const DtNetworkNode &node) const
 Measure the node by its distance (times the measure multiplier) from the center of interest. More...
 
virtual double measure (const DtNetworkNode &node, DtPoint &p) const
 Measure the node by its distance (times the measure multiplier) More...
 
virtual bool valid (const DtNetworkNode &node) const
 Validate the node. More...
 
virtual bool validSW (const DtNetworkNode &node) const
 Validate the southwest quadrant (closed on southwest side) More...
 
virtual bool validSE (const DtNetworkNode &node) const
 Validate the southeast quadrant (closed on southwest side) More...
 
virtual bool validNE (const DtNetworkNode &node) const
 Validate the northeast quadrant (closed on southwest side) More...
 
virtual bool validNW (const DtNetworkNode &node) const
 Validate the northwest quadrant (closed on southwest side) More...
 
virtual const DtChordcenterOfInterest () const
 Get/set the chord to be tested. More...
 
virtual void setCenterOfInterest (const DtChord &val)
 
virtual double maxRange () const
 get/set max Intersect range More...
 
virtual void setMaxRange (double val)
 
virtual bool evalInZ ()
 get/set evaluation in Z More...
 
virtual void setEvalInZ (bool eval)
 
virtual double measureMultiplier () const
 get/set measure multiplier More...
 
virtual void setMeasureMultiplier (double val)
 
virtual const DtTerrainDatabaseterrainDb ()
 get/set terrain database member More...
 
virtual void setTerrainDb (const DtTerrainDatabase *db)
 
virtual void initialize (Coordinate_System *cs)
 Initialize the metric. More...
 
- Public Member Functions inherited from DtNetworkNodeMetric
 DtNetworkNodeMetric ()
 Default constructor. More...
 
virtual ~DtNetworkNodeMetric ()
 Destructor. More...
 
 DtNetworkNodeMetric (const DtNetworkNodeMetric &orig)
 Copy constructor. More...
 
DtNetworkNodeMetricoperator= (const DtNetworkNodeMetric &orig)
 Assignment operator. More...
 
- Public Member Functions inherited from DtMetric
 DtMetric ()
 Default constructor. More...
 
virtual ~DtMetric ()
 Destructor. More...
 
 DtMetric (const DtMetric &orig)
 Copy constructor. More...
 
DtMetricoperator= (const DtMetric &orig)
 Assignment operator. More...
 
virtual bool validSpecification (const DtSpecification &spec) const
 Validates the specification against the conditions set in the addEqualCondition, addDiferentCondition, addLessThanCondition and addGreaterThanCondition functions. More...
 
virtual void addEqualCondition (const DtSpecificationAttribute &attrib)
 Adds an equality condition. More...
 
virtual void addDifferentCondition (const DtSpecificationAttribute &attrib)
 Add a different condition. More...
 
virtual void addLessThanCondition (const DtSpecificationAttribute &attrib)
 Add less-than condition. More...
 
virtual void addGreaterThanCondition (const DtSpecificationAttribute &attrib)
 Add greater-than condition. More...
 
virtual void setEqualList (DtSimpleList *list)
 Sets the list of conditions for equality. More...
 
virtual void setDiffList (DtSimpleList *list)
 Sets the list of conditions for difference. More...
 
virtual void setLessThanList (DtSimpleList *list)
 Sets the list of conditions for less-than. More...
 
virtual void setGreaterThanList (DtSimpleList *list)
 Sets the list of conditions for greater-than. More...
 

Protected Member Functions

virtual bool intersectsWithNode (const DtNetworkSegment &seg, const DtNetworkNode &node, DtPoint &intersectionPoint, double &time) const
 
- Protected Member Functions inherited from DtMetric
virtual void emptyLists ()
 Empties the condition lists and frees memory. More...
 
virtual void copyLists (const DtMetric &orig)
 Copy lists. More...
 

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
 
- Protected Attributes inherited from DtMetric
bool myOwnEqualList
 
bool myOwnDiffList
 
bool myOwnLessThanList
 
bool myOwnGreaterThanList
 
DtSimpleListmyEqualAttributes
 
DtSimpleListmyDifferentAttributes
 
DtSimpleListmyGreaterThanAttributes
 
DtSimpleListmyLessThanAttributes
 
DtCoordTransform myLocalToTopo
 
bool myMetricInitialized
 

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

DtIntersectNetworkNodeMetric::DtIntersectNetworkNodeMetric ( )

Default constructor.

virtual DtIntersectNetworkNodeMetric::~DtIntersectNetworkNodeMetric ( )
virtual

Destructor.

DtIntersectNetworkNodeMetric::DtIntersectNetworkNodeMetric ( const DtIntersectNetworkNodeMetric orig)

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
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
protectedvirtual

Member Data Documentation

const DtTerrainDatabase* DtIntersectNetworkNodeMetric::myDb
protected
DtChord DtIntersectNetworkNodeMetric::myCenterOfInterest
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
DtNetworkSegmentHelper DtIntersectNetworkNodeMetric::mySeg
protected
bool DtIntersectNetworkNodeMetric::myEvalInZ
protected
DtCoordTransform DtIntersectNetworkNodeMetric::myTopoToLocal
protected

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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)