MeVisLabToolboxReference
|
The WEMConnectedComponent class. More...
Go to the source code of this file.
Namespaces | |
namespace | ml |
Define the namespace name like in the ML. Default is | |
namespace | ml::WEMConnectedComponent |
The WEMConnectedComponent namespace. | |
Typedefs | |
typedef std::vector< WEMNode * > | ml::WEMConnectedComponent::WEMNodeVector |
Defines a vector of WEMNode pointers for temporary use. | |
typedef std::vector< WEMFace * > | ml::WEMConnectedComponent::WEMFaceVector |
Defines a vector of WEMFace pointers for temporary use. | |
Functions | |
MLWEM_EXPORT void | ml::WEMConnectedComponent::collectComponent (WEMPatch *wemPatch, WEMNode *node, WEMNodeVector &cNodes, bool unvisitedValue=false) |
Collects a connected component of a wemPatch , starting with a node . | |
MLWEM_EXPORT void | ml::WEMConnectedComponent::collectComponentEuclideanDistance (WEMPatch *wemPatch, WEMNode *node, WEMNodeVector &cNodes, double maxDistance, bool unvisitedValue=false) |
Same as 'collectComponent', but with an additional range parameter maxDistance . | |
MLWEM_EXPORT void | ml::WEMConnectedComponent::collectComponentBoundary (WEMPatch *wemPatch, WEMNode *node, WEMNodeVector &cNodes, bool unvisitedValue=false) |
Same as 'collectComponent', but now the starting node should be on a boundary. | |
MLWEM_EXPORT bool | ml::WEMConnectedComponent::collectComponentFaceCut (WEMNode *node, std::vector< WEMNode * > &cNodes, std::vector< WEMFace * > &cFaces, WEMVector< WEMFaceCut > **faceCuts, unsigned int outerFlag, unsigned int intersectingFlag, bool visitedValue=true) |
Collects a connected component of a WEM, starting with a node . | |
MLWEM_EXPORT void | ml::WEMConnectedComponent::collectComponentPrimitiveValueList (WEMPatch *wemPatch, WEMNode *node, WEMNodeVector &cNodes, WEMFaceVector &cFaces, WEMFaceVector &iFaces, WEMPrimitiveValueList *valueList, double valueRange, unsigned int connectedFlag, bool unvisitedValue=false) |
Collects a connected component of a WEMPatch, starting with a node . | |
MLWEM_EXPORT bool | ml::WEMConnectedComponent::collectComponent (WEMPatch *wemPatch, WEMNodeVector &cNodes, bool unvisitedValue=false) |
Collects a connected component and stores the nodes in the given WEMNodeVector and returns whether a connected component was collected. | |
MLWEM_EXPORT void | ml::WEMConnectedComponent::collectComponentPseudoGeodesicDistance (WEMPatch *wemPatch, WEMNode *node, WEMNodeVector &cNodes, double maxDistance, bool unvisitedValue=false) |
Collects all connected (node) components up to a given maximum distance which is measured as the sum of the lengths of the connecting edges. | |
MLWEM_EXPORT double | ml::WEMConnectedComponent::getPathLengthBetweenNodes (WEMPatch *wemPatch, const std::vector< unsigned int > &nodeIndicesPath) |
Returns the sum of the lengths of the edges between the nodes given as indices in a given WEMPatch. |
The WEMConnectedComponent class.
provides one static method to collect all WEMNodes, starting. with a given WEMNode, of a connected component into a WEMNodeVector.
Definition in file WEMConnectedComponent.h.