VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
DtNetworkNodeMetric Class Reference

DtNetworkNodeMetric is a metric for network nodes. More...

Inheritance diagram for DtNetworkNodeMetric:
Inheritance graph
[legend]

Public Member Functions

 DtNetworkNodeMetric ()
 Default constructor.
virtual ~DtNetworkNodeMetric ()
 Destructor.
 DtNetworkNodeMetric (const DtNetworkNodeMetric &orig)
 Copy constructor.
DtNetworkNodeMetricoperator= (const DtNetworkNodeMetric &orig)
 Assignment operator.
virtual double measure (const DtNetworkNode &node) const =0
 Measure the node.
virtual bool valid (const DtNetworkNode &node) const =0
 Validate the node.
virtual bool validSW (const DtNetworkNode &node) const =0
 Validate the southwest quadrant (closed on southwest side)
virtual bool validSE (const DtNetworkNode &node) const =0
 Validate the southeast quadrant (closed on southwest side)
virtual bool validNE (const DtNetworkNode &node) const =0
 Validate the northeast quadrant (closed on southwest side)
virtual bool validNW (const DtNetworkNode &node) const =0
 Validate the northwest quadrant (closed on southwest side)
- Public Member Functions inherited from DtMetric
 DtMetric ()
 Default constructor.
virtual ~DtMetric ()
 Destructor.
 DtMetric (const DtMetric &orig)
 Copy constructor.
DtMetricoperator= (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.

Additional Inherited Members

- Protected Member Functions inherited from DtMetric
virtual void emptyLists ()
 Empties the condition lists and frees memory.
virtual void copyLists (const DtMetric &orig)
 Copy lists.
- Protected Attributes inherited from DtMetric
bool myOwnEqualList
bool myOwnDiffList
bool myOwnLessThanList
bool myOwnGreaterThanList
DtSimpleListmyEqualAttributes
DtSimpleListmyDifferentAttributes
DtSimpleListmyGreaterThanAttributes
DtSimpleListmyLessThanAttributes
DtCoordTransform myLocalToTopo
bool myMetricInitialized

Detailed Description

DtNetworkNodeMetric is a metric for network nodes.

Constructor & Destructor Documentation

DtNetworkNodeMetric::DtNetworkNodeMetric ( )

Default constructor.

virtual DtNetworkNodeMetric::~DtNetworkNodeMetric ( )
virtual

Destructor.

DtNetworkNodeMetric::DtNetworkNodeMetric ( const DtNetworkNodeMetric orig)

Copy constructor.

Member Function Documentation

DtNetworkNodeMetric& DtNetworkNodeMetric::operator= ( const DtNetworkNodeMetric orig)

Assignment operator.

virtual double DtNetworkNodeMetric::measure ( const DtNetworkNode node) const
pure virtual

Measure the node.

Implemented in DtIntersectNetworkNodeMetric, and DtRangeNetworkNodeMetric.

virtual bool DtNetworkNodeMetric::valid ( const DtNetworkNode node) const
pure virtual
virtual bool DtNetworkNodeMetric::validSW ( const DtNetworkNode node) const
pure virtual

Validate the southwest quadrant (closed on southwest side)

Implemented in DtIntersectNetworkNodeMetric, and DtRangeNetworkNodeMetric.

virtual bool DtNetworkNodeMetric::validSE ( const DtNetworkNode node) const
pure virtual

Validate the southeast quadrant (closed on southwest side)

Implemented in DtIntersectNetworkNodeMetric, and DtRangeNetworkNodeMetric.

virtual bool DtNetworkNodeMetric::validNE ( const DtNetworkNode node) const
pure virtual

Validate the northeast quadrant (closed on southwest side)

Implemented in DtIntersectNetworkNodeMetric, and DtRangeNetworkNodeMetric.

virtual bool DtNetworkNodeMetric::validNW ( const DtNetworkNode node) const
pure virtual

Validate the northwest quadrant (closed on southwest side)

Implemented in DtIntersectNetworkNodeMetric, and DtRangeNetworkNodeMetric.


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

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)