![]() |
VR-Forces 4.0.4 Class Documentation
|
DtVectorNetworkTool is a class for modifying DtVectorNetwork objects. More...
Public Types | |
| typedef std::list< const DtNetworkEdge * > | DtNetworkEdgeContainer |
| typedef DtNetworkEdgeContainer::iterator | DtNetworkEdgeIter |
| typedef DtNetworkEdgeContainer::const_iterator | DtNetworkEdgeConstIter |
Public Member Functions | |
| DtVectorNetworkTool () | |
| virtual | ~DtVectorNetworkTool () |
| virtual bool | planarizeNetwork (DtVectorNetwork &inputNetwork, DtVectorNetwork &outputNetwork, DtReal tolerance, unsigned int excessiveEdgeCount) |
| virtual bool | clipNetwork (DtVectorNetwork &inputNetwork, DtVectorNetwork &outputNetwork, const DtPoint &southWestPoint, const DtPoint &northEastPoint) |
| virtual int | sizeInBytes () const |
Protected Member Functions | |
| virtual void | buildConnectivity (const DtVectorNetwork &inputNetwork, DtVectorNetwork &outputNetwork, unsigned int numNodes) |
| virtual void | buildEdges (const DtNetworkEdgeContainer &processedEdges, DtVectorNetwork &network) |
| virtual bool | deIntersectEdges (std::list< DtNetworkEdge * > &unprocessedEdges, DtVectorNetwork &outputNetwork, DtNetworkEdgeContainer &processedEdgeList) |
| virtual void | splitEdge (const DtNetworkEdge &edge1, const DtNetworkSegment &seg1, DtReal splitX, DtReal splitY, DtReal splitZ, DtNetworkEdge *&splitEdge1, DtNetworkEdge *&splitEdge2) |
| virtual DtNetworkEdge * | newEdgeToDelete () |
| virtual DtNetworkEdge * | newEdge () |
| virtual DtNetworkEdge * | newEdgeToDelete (const DtNetworkEdge &edge) |
| virtual DtNetworkEdge * | newEdge (const DtNetworkEdge &edge) |
| void | deleteAllocatedEdges () |
| bool | buildNetworkFromEdges (const DtNetworkEdgeContainer &edges, DtVectorNetwork &outputNetwork) |
| bool | calculateArealCentroids (DtVectorNetwork &vectorNetwork) |
| bool | clipEdges (const DtVectorNetwork &inputNetwork, DtNetworkEdgeContainer &croppedEdges, const DtPoint &southWestPoint, const DtPoint &northEastPoint, DtVectorNetwork &clippedVectorNetwork) |
| bool | clipNodes (const DtVectorNetwork &inputNetwork, DtVectorNetwork &outputNetwork, const DtPoint &southWestPoint, const DtPoint &northEastPoint) |
| virtual bool | clipNode (const DtNetworkNode &node, const DtPoint &southWestPoint, const DtPoint &northEastPoint, DtVectorNetwork &clippedVectorNetwork) |
| virtual bool | clipNetworkElement (const DtNetworkEdge &edgeToClip, const DtPoint &southWestPoint, const DtPoint &northEastPoint, DtNetworkEdgeContainer &clippedEdges, bool isClosedNetwork, DtVectorNetwork &clippedVectorNetwork) |
| virtual bool | clipLinearFeature (const DtNetworkEdge &edgeToClip, const DtPoint &southWestPoint, const DtPoint &northEastPoint, DtNetworkEdgeContainer &clippedEdges, DtVectorNetwork &clippedVectorNetwork) |
| virtual bool | clipArealFeature (const DtNetworkEdge &edgeToClip, const DtPoint &southWestPoint, const DtPoint &northEastPoint, DtNetworkEdgeContainer &clippedArealFeature, DtVectorNetwork &clippedVectorNetwork) |
| virtual bool | isInArea (const DtPoint &point, const DtPoint &southWestPoint, const DtPoint &northEastPoint) |
| virtual DtPoint | moveInArea (const DtPoint &point, const DtPoint &nextPoint, const DtPoint &southWestPoint, const DtPoint &northEastPoint) |
| virtual void | updateExtent (const DtPoint &point, DtPoint &minPoint, DtPoint &maxPoint) |
| virtual void | calculateExtent (const DtNetworkEdge &edge, DtPoint &minPoint, DtPoint &maxPoint) |
| void | addEdgeToSegmentTree (const DtNetworkEdge &edgeToAdd, DtSegmentMxCifTree &segmentTree) const |
| void | removeEdgeFromSegmentTree (const DtNetworkEdge &edgeToRemove, DtSegmentMxCifTree &segmentTree) const |
| virtual bool | testInvariant () const |
Protected Attributes | |
| std::list< DtNetworkEdge * > | myEdges |
| DtReal | myTolerance |
| DtU32 | myExcessiveEdgeCount |
Private Member Functions | |
| DtVectorNetworkTool (const DtVectorNetworkTool &orig) | |
| DtVectorNetworkTool & | operator= (const DtVectorNetworkTool &orig) |
DtVectorNetworkTool is a class for modifying DtVectorNetwork objects.
| typedef std::list<const DtNetworkEdge*> DtVectorNetworkTool::DtNetworkEdgeContainer |
| typedef DtNetworkEdgeContainer::iterator DtVectorNetworkTool::DtNetworkEdgeIter |
| typedef DtNetworkEdgeContainer::const_iterator DtVectorNetworkTool::DtNetworkEdgeConstIter |
| virtual DtVectorNetworkTool::~DtVectorNetworkTool | ( | ) | [virtual] |
| DtVectorNetworkTool::DtVectorNetworkTool | ( | const DtVectorNetworkTool & | orig | ) | [private] |
| virtual bool DtVectorNetworkTool::planarizeNetwork | ( | DtVectorNetwork & | inputNetwork, |
| DtVectorNetwork & | outputNetwork, | ||
| DtReal | tolerance, | ||
| unsigned int | excessiveEdgeCount | ||
| ) | [virtual] |
| virtual bool DtVectorNetworkTool::clipNetwork | ( | DtVectorNetwork & | inputNetwork, |
| DtVectorNetwork & | outputNetwork, | ||
| const DtPoint & | southWestPoint, | ||
| const DtPoint & | northEastPoint | ||
| ) | [virtual] |
| virtual int DtVectorNetworkTool::sizeInBytes | ( | ) | const [virtual] |
| DtVectorNetworkTool& DtVectorNetworkTool::operator= | ( | const DtVectorNetworkTool & | orig | ) | [private] |
| virtual void DtVectorNetworkTool::buildConnectivity | ( | const DtVectorNetwork & | inputNetwork, |
| DtVectorNetwork & | outputNetwork, | ||
| unsigned int | numNodes | ||
| ) | [protected, virtual] |
| virtual void DtVectorNetworkTool::buildEdges | ( | const DtNetworkEdgeContainer & | processedEdges, |
| DtVectorNetwork & | network | ||
| ) | [protected, virtual] |
| virtual bool DtVectorNetworkTool::deIntersectEdges | ( | std::list< DtNetworkEdge * > & | unprocessedEdges, |
| DtVectorNetwork & | outputNetwork, | ||
| DtNetworkEdgeContainer & | processedEdgeList | ||
| ) | [protected, virtual] |
| virtual void DtVectorNetworkTool::splitEdge | ( | const DtNetworkEdge & | edge1, |
| const DtNetworkSegment & | seg1, | ||
| DtReal | splitX, | ||
| DtReal | splitY, | ||
| DtReal | splitZ, | ||
| DtNetworkEdge *& | splitEdge1, | ||
| DtNetworkEdge *& | splitEdge2 | ||
| ) | [protected, virtual] |
| virtual DtNetworkEdge* DtVectorNetworkTool::newEdgeToDelete | ( | ) | [protected, virtual] |
| virtual DtNetworkEdge* DtVectorNetworkTool::newEdge | ( | ) | [protected, virtual] |
| virtual DtNetworkEdge* DtVectorNetworkTool::newEdgeToDelete | ( | const DtNetworkEdge & | edge | ) | [protected, virtual] |
| virtual DtNetworkEdge* DtVectorNetworkTool::newEdge | ( | const DtNetworkEdge & | edge | ) | [protected, virtual] |
| void DtVectorNetworkTool::deleteAllocatedEdges | ( | ) | [protected] |
| bool DtVectorNetworkTool::buildNetworkFromEdges | ( | const DtNetworkEdgeContainer & | edges, |
| DtVectorNetwork & | outputNetwork | ||
| ) | [protected] |
| bool DtVectorNetworkTool::calculateArealCentroids | ( | DtVectorNetwork & | vectorNetwork | ) | [protected] |
| bool DtVectorNetworkTool::clipEdges | ( | const DtVectorNetwork & | inputNetwork, |
| DtNetworkEdgeContainer & | croppedEdges, | ||
| const DtPoint & | southWestPoint, | ||
| const DtPoint & | northEastPoint, | ||
| DtVectorNetwork & | clippedVectorNetwork | ||
| ) | [protected] |
| bool DtVectorNetworkTool::clipNodes | ( | const DtVectorNetwork & | inputNetwork, |
| DtVectorNetwork & | outputNetwork, | ||
| const DtPoint & | southWestPoint, | ||
| const DtPoint & | northEastPoint | ||
| ) | [protected] |
| virtual bool DtVectorNetworkTool::clipNode | ( | const DtNetworkNode & | node, |
| const DtPoint & | southWestPoint, | ||
| const DtPoint & | northEastPoint, | ||
| DtVectorNetwork & | clippedVectorNetwork | ||
| ) | [protected, virtual] |
| virtual bool DtVectorNetworkTool::clipNetworkElement | ( | const DtNetworkEdge & | edgeToClip, |
| const DtPoint & | southWestPoint, | ||
| const DtPoint & | northEastPoint, | ||
| DtNetworkEdgeContainer & | clippedEdges, | ||
| bool | isClosedNetwork, | ||
| DtVectorNetwork & | clippedVectorNetwork | ||
| ) | [protected, virtual] |
| virtual bool DtVectorNetworkTool::clipLinearFeature | ( | const DtNetworkEdge & | edgeToClip, |
| const DtPoint & | southWestPoint, | ||
| const DtPoint & | northEastPoint, | ||
| DtNetworkEdgeContainer & | clippedEdges, | ||
| DtVectorNetwork & | clippedVectorNetwork | ||
| ) | [protected, virtual] |
| virtual bool DtVectorNetworkTool::clipArealFeature | ( | const DtNetworkEdge & | edgeToClip, |
| const DtPoint & | southWestPoint, | ||
| const DtPoint & | northEastPoint, | ||
| DtNetworkEdgeContainer & | clippedArealFeature, | ||
| DtVectorNetwork & | clippedVectorNetwork | ||
| ) | [protected, virtual] |
| virtual bool DtVectorNetworkTool::isInArea | ( | const DtPoint & | point, |
| const DtPoint & | southWestPoint, | ||
| const DtPoint & | northEastPoint | ||
| ) | [protected, virtual] |
| virtual DtPoint DtVectorNetworkTool::moveInArea | ( | const DtPoint & | point, |
| const DtPoint & | nextPoint, | ||
| const DtPoint & | southWestPoint, | ||
| const DtPoint & | northEastPoint | ||
| ) | [protected, virtual] |
| virtual void DtVectorNetworkTool::updateExtent | ( | const DtPoint & | point, |
| DtPoint & | minPoint, | ||
| DtPoint & | maxPoint | ||
| ) | [protected, virtual] |
| virtual void DtVectorNetworkTool::calculateExtent | ( | const DtNetworkEdge & | edge, |
| DtPoint & | minPoint, | ||
| DtPoint & | maxPoint | ||
| ) | [protected, virtual] |
| void DtVectorNetworkTool::addEdgeToSegmentTree | ( | const DtNetworkEdge & | edgeToAdd, |
| DtSegmentMxCifTree & | segmentTree | ||
| ) | const [protected] |
| void DtVectorNetworkTool::removeEdgeFromSegmentTree | ( | const DtNetworkEdge & | edgeToRemove, |
| DtSegmentMxCifTree & | segmentTree | ||
| ) | const [protected] |
| virtual bool DtVectorNetworkTool::testInvariant | ( | ) | const [protected, virtual] |
std::list<DtNetworkEdge*> DtVectorNetworkTool::myEdges [protected] |
DtReal DtVectorNetworkTool::myTolerance [protected] |
DtU32 DtVectorNetworkTool::myExcessiveEdgeCount [protected] |