MeVisLab Toolbox Reference
Loading...
Searching...
No Matches
WEMCut.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#include "WEMFaceCut.h"
17
19
21
24{
25public:
30
32 inline std::vector<Vector3> getPositions() const
33 {
34 return _positions;
35 }
36
38 inline bool isValid() const
39 {
40 return _valid;
41 }
42
45
48
51
53 void setValid(bool valid);
54
56 bool isClosed() const;
57
58private:
60 std::vector<Vector3> _positions;
61
63 bool _valid;
64};
65
67
#define MLWEM_EXPORT
Definition MLWEMSystem.h:18
Class to manage cut faces.
Definition WEMCut.h:24
void addStab(WEMFaceCut *faceCut)
Adds the given stab.
void prependFaceCut(WEMFaceCut *faceCut, bool reverse)
Prepends the given face cut.
WEMCut()
Default constructor.
std::vector< Vector3 > getPositions() const
Get positions.
Definition WEMCut.h:32
void appendFaceCut(WEMFaceCut *faceCut, bool reverse)
Appends the given face cut.
void setValid(bool valid)
Sets the valid flag.
~WEMCut()
Default destructor.
bool isClosed() const
Returns whether this cut is closed.
bool isValid() const
Returns whether this cut is valid.
Definition WEMCut.h:38
Helper class for performing a cutting on a face.
Definition WEMFaceCut.h:31
Target mlrange_cast(Source arg)
Generic version of checked ML casts.