MeVisLab Toolbox Reference
|
Helper namespace for operations on cuts (partial, face, or full). More...
Functions | |
MLWEM_EXPORT int | getClosestCut (Vector3 position, Vector3 reference, WEMVector< WEMFaceCut > *faceCuts, int edgeIndex) |
Returns the closest cut to the given position between position and reference on the given edgeIndex. | |
MLWEM_EXPORT bool | mergePartialFaceCuts (WEMVector< WEMPartialFaceCut > *partialFaceCuts, WEMVector< WEMFaceCut > *faceCuts) |
Merges the partial face cuts into one or more face cuts. | |
MLWEM_EXPORT WEMFaceCut * | findFaceCut (WEMVector< WEMFaceCut > *faceCuts, int faceIndex) |
Returns the face cut which continues the given face index. | |
MLWEM_EXPORT void | mergeFaceCuts (WEMVector< WEMFace > *intersecting, WEMVector< WEMFaceCut > **faceCutTable, WEMVector< WEMCut > *cuts=nullptr) |
Merges the face cuts into one or more cuts. | |
Helper namespace for operations on cuts (partial, face, or full).
MLWEM_EXPORT WEMFaceCut * ml::WEMCutOp::findFaceCut | ( | WEMVector< WEMFaceCut > * | faceCuts, |
int | faceIndex ) |
Returns the face cut which continues the given face index.
References findFaceCut().
Referenced by findFaceCut().
MLWEM_EXPORT int ml::WEMCutOp::getClosestCut | ( | Vector3 | position, |
Vector3 | reference, | ||
WEMVector< WEMFaceCut > * | faceCuts, | ||
int | edgeIndex ) |
Returns the closest cut to the given position between position and reference on the given edgeIndex.
References getClosestCut().
Referenced by getClosestCut().
MLWEM_EXPORT void ml::WEMCutOp::mergeFaceCuts | ( | WEMVector< WEMFace > * | intersecting, |
WEMVector< WEMFaceCut > ** | faceCutTable, | ||
WEMVector< WEMCut > * | cuts = nullptr ) |
Merges the face cuts into one or more cuts.
Open cuts are tagged invalid.
References mergeFaceCuts().
Referenced by mergeFaceCuts().
MLWEM_EXPORT bool ml::WEMCutOp::mergePartialFaceCuts | ( | WEMVector< WEMPartialFaceCut > * | partialFaceCuts, |
WEMVector< WEMFaceCut > * | faceCuts ) |
Merges the partial face cuts into one or more face cuts.
References mergePartialFaceCuts().
Referenced by mergePartialFaceCuts().