MeVisLab Toolbox Reference
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:
26
31
33 inline std::vector<Vector3> getPositions() const { return _positions; }
34
36 inline bool isValid() const { return _valid; }
37
40
43
46
48 void setValid(bool valid);
49
51 bool isClosed() const;
52
53private:
54
56 std::vector<Vector3> _positions;
57
59 bool _valid;
60};
61
63
#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:33
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:36
Helper class for performing a cutting on a face.
Definition WEMFaceCut.h:31
Target mlrange_cast(Source arg)
Generic version of checked ML casts.