MeVisLab Toolbox Reference
WEMCutOp.h
Go to the documentation of this file.
1/*************************************************************************************
2**
3** Copyright 2007, MeVis Medical Solutions AG
4**
5** The user may use this file in accordance with the license agreement provided with
6** the Software or, alternatively, in accordance with the terms contained in a
7** written agreement between the user and MeVis Medical Solutions AG.
8**
9** For further information use the contact form at https://www.mevislab.de/contact
10**
11**************************************************************************************/
12
13#pragma once
14
16
17#include "WEMPartialFaceCut.h"
18#include "WEMFaceCut.h"
19#include "WEMCut.h"
20
22
24
48
50
#define MLWEM_EXPORT
Definition MLWEMSystem.h:18
Helper class for performing a cutting on a face.
Definition WEMFaceCut.h:31
Dynamic templated vector.
Definition WEMVector.h:28
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
MLWEM_EXPORT WEMFaceCut * findFaceCut(WEMVector< WEMFaceCut > *faceCuts, int faceIndex)
Returns the face cut which continues the given face index.
MLWEM_EXPORT bool mergePartialFaceCuts(WEMVector< WEMPartialFaceCut > *partialFaceCuts, WEMVector< WEMFaceCut > *faceCuts)
Merges the partial face cuts into one or more face cuts.
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 void mergeFaceCuts(WEMVector< WEMFace > *intersecting, WEMVector< WEMFaceCut > **faceCutTable, WEMVector< WEMCut > *cuts=nullptr)
Merges the face cuts into one or more cuts.