|
MeVisLab Toolbox Reference
|
Helper class for performing a cutting on a face. More...
#include <WEMFaceCut.h>
Public Member Functions | |
| WEMFaceCut () | |
| Standard constructor. | |
| ~WEMFaceCut () | |
| Standard destructor. | |
| void | clear () |
| Clears the internal structure. | |
| int | getType () const |
| Returns the type. | |
| Vector3 | getEntryPosition () const |
| Returns the entry position. | |
| Vector3 | getExitPosition () const |
| Returns the exit position. | |
| int | getEntryEdgeIndex () const |
| Returns the entry edge index. | |
| int | getExitEdgeIndex () const |
| Returns the exit edge index. | |
| int | getEntryFaceIndex () const |
| Returns the entry face index. | |
| int | getExitFaceIndex () const |
| Returns the exit face index. | |
| bool | isTraversed () const |
| Returns whether this face cut is traversed. | |
| bool | isValid () const |
| Returns whether this face cut is valid. | |
| bool | isContinuable (int edgeIndex, int degenerateEdgeIndex) const |
| Returns whether this face cut can be continued. | |
| bool | isContinuable (Vector3 position) const |
| Returns whether this face cut (stab) can be continued. | |
| bool | isStabClosed (Vector3 position) const |
| Returns whether the stab is closed. | |
| void | setType (int type) |
| Sets the type. | |
| void | checkSameEdge () |
| Updates the type to SAME_EDGE if entry and exit edge are the same. | |
| void | setEntry (Vector3 position, int edgeIndex, int faceIndex) |
| Sets the entry. | |
| void | setExit (Vector3 position, int edgeIndex, int faceIndex) |
| Sets the exit. | |
| void | addIntermediatePoint (Vector3 position, int entryNumber, int degenerateEntryNumber) |
| Adds a new intermediate point. | |
| void | setTraversed (bool traversed) |
| Sets the traversed flag. | |
| void | setValid (bool valid) |
| Sets the valid flag. | |
Public Attributes | |
| std::vector< Vector3 > | intermediatePoints |
| Intermediate points. | |
| std::vector< int > | intermediateEdgeEntryNumbers |
| Intermediate edge entry numbers. | |
| std::vector< int > | intermediateDegenerateEdgeEntryNumbers |
| Intermediate degenerate edge entry numbers. | |
Helper class for performing a cutting on a face.
Definition at line 30 of file WEMFaceCut.h.
| ml::WEMFaceCut::WEMFaceCut | ( | ) |
Standard constructor.
| ml::WEMFaceCut::~WEMFaceCut | ( | ) |
Standard destructor.
| void ml::WEMFaceCut::addIntermediatePoint | ( | Vector3 | position, |
| int | entryNumber, | ||
| int | degenerateEntryNumber ) |
Adds a new intermediate point.
| void ml::WEMFaceCut::checkSameEdge | ( | ) |
Updates the type to SAME_EDGE if entry and exit edge are the same.
| void ml::WEMFaceCut::clear | ( | ) |
Clears the internal structure.
|
inline |
Returns the entry edge index.
Definition at line 56 of file WEMFaceCut.h.
|
inline |
Returns the entry face index.
Definition at line 66 of file WEMFaceCut.h.
|
inline |
Returns the entry position.
Definition at line 46 of file WEMFaceCut.h.
|
inline |
Returns the exit edge index.
Definition at line 61 of file WEMFaceCut.h.
|
inline |
Returns the exit face index.
Definition at line 71 of file WEMFaceCut.h.
|
inline |
Returns the exit position.
Definition at line 51 of file WEMFaceCut.h.
|
inline |
Returns the type.
Definition at line 41 of file WEMFaceCut.h.
Returns whether this face cut can be continued.
Returns whether this face cut (stab) can be continued.
|
inline |
Returns whether this face cut is traversed.
Definition at line 76 of file WEMFaceCut.h.
|
inline |
Returns whether this face cut is valid.
Definition at line 81 of file WEMFaceCut.h.
Sets the type.
Definition at line 94 of file WEMFaceCut.h.
Sets the valid flag.
Definition at line 112 of file WEMFaceCut.h.
| std::vector<int> ml::WEMFaceCut::intermediateDegenerateEdgeEntryNumbers |
Intermediate degenerate edge entry numbers.
Definition at line 122 of file WEMFaceCut.h.
| std::vector<int> ml::WEMFaceCut::intermediateEdgeEntryNumbers |
Intermediate edge entry numbers.
Definition at line 120 of file WEMFaceCut.h.
| std::vector<Vector3> ml::WEMFaceCut::intermediatePoints |
Intermediate points.
Definition at line 118 of file WEMFaceCut.h.