MeVisLabToolboxReference
|
Tool class for collecting a connected component consisting of FaceCuts. More...
#include <WEMFaceCutConnectedComponent.h>
Public Member Functions | |
WEMFaceCutConnectedComponent () | |
Default constructor. | |
~WEMFaceCutConnectedComponent () | |
Default destructor. | |
Static Public Member Functions | |
static bool | collectComponent (WEMNode *node, std::vector< WEMNode * > &cNodes, std::vector< WEMFace * > &cFaces, WEMVector< WEMFaceCut > **faceCuts, int outerFlag, int intersectingFlag, bool visitedValue=true) |
Collects a connected component of a WEM, starting with a node . |
Tool class for collecting a connected component consisting of FaceCuts.
Definition at line 23 of file WEMFaceCutConnectedComponent.h.
ml::WEMFaceCutConnectedComponent::WEMFaceCutConnectedComponent | ( | ) |
Default constructor.
ml::WEMFaceCutConnectedComponent::~WEMFaceCutConnectedComponent | ( | ) |
Default destructor.
static bool ml::WEMFaceCutConnectedComponent::collectComponent | ( | WEMNode * | node, |
std::vector< WEMNode * > & | cNodes, | ||
std::vector< WEMFace * > & | cFaces, | ||
WEMVector< WEMFaceCut > ** | faceCuts, | ||
int | outerFlag, | ||
int | intersectingFlag, | ||
bool | visitedValue = true |
||
) | [static] |
Collects a connected component of a WEM, starting with a node
.
The resulting nodes are collected in the cNodes
and cFaces
vectors. The visitedValue
determines, which primitives (nodes) are marked as yet visited or not. The 'visited' status is encoded in the 'isTraversed' flag of the nodes. On return the common bool value for the given outerFlag
is returned Additional checks are done on intersectingFlag