|
MeVisLab Toolbox Reference
|
This class provides diagnostic information on a WEMNode. More...
#include <WEMNodeDiagnosis.h>
Public Member Functions | |
| WEMNodeDiagnosis (bool hasEdges) | |
| Standard constructor. | |
| ~WEMNodeDiagnosis () | |
| Standard destructor. | |
| bool | hasDoubleEntry () const |
| Returns whether 'Double entry' errors were found. | |
| bool | hasNonConnected () const |
| Returns whether 'Non connected' errors were found. | |
| bool | isBoundary () const |
| Returns whether 'Boundary' errors were found. | |
| bool | isOrphan () const |
| Returns whether 'Orphan' errors were found. | |
| bool | isRedundant () const |
| Returns whether 'Redundant' errors were found. | |
| bool | isCollinear () const |
| Returns whether 'Collinear' errors were found. | |
| bool | hasBadNormalLength () const |
| Returns whether 'Bad normal length' errors were found. | |
| bool | isDeadEnd () const |
| Returns whether 'Dead end' errors were found. | |
| bool | isFlatRegion () const |
| Returns whether 'Flat region' errors were found. | |
| bool | isNeighborhoodNotSet () const |
| Returns whether 'Neighborhood not set' errors were found. | |
| bool | hasValence3 () const |
| Returns whether 'Node valence 3 with 3 triangles' errors were found. | |
| int | numNotices () const |
| Returns the number of notices. | |
| int | numWarnings () const |
| Returns the number of warnings. | |
| int | numErrors () const |
| Returns the number of errors. | |
| int | numFatals () const |
| Returns the number of fatals. | |
| bool | isOk () const |
| Returns whether the node is ok. | |
| std::string | getErrorMessage () const |
| Returns the error message. | |
| int | getSeverity () const |
| Returns the severity of errors. | |
| WEMNode * | getNode () |
| Returns the node. | |
| const WEMNode * | getNode () const |
| Returns the node. | |
| void | checkIntegrity (WEMNode *node) |
| Checks integrity of the given node. | |
Public Attributes | |
| std::string | message |
| Stuff used by SoWEMDiagnosis. | |
| bool | selected |
| Is the node selected? | |
This class provides diagnostic information on a WEMNode.
Definition at line 30 of file WEMNodeDiagnosis.h.
| ml::WEMNodeDiagnosis::WEMNodeDiagnosis | ( | bool | hasEdges | ) |
Standard constructor.
| ml::WEMNodeDiagnosis::~WEMNodeDiagnosis | ( | ) |
Standard destructor.
| void ml::WEMNodeDiagnosis::checkIntegrity | ( | WEMNode * | node | ) |
Checks integrity of the given node.
|
inline |
Returns the error message.
Definition at line 76 of file WEMNodeDiagnosis.h.
|
inline |
Returns the node.
Definition at line 81 of file WEMNodeDiagnosis.h.
|
inline |
Returns the node.
Definition at line 83 of file WEMNodeDiagnosis.h.
| int ml::WEMNodeDiagnosis::getSeverity | ( | ) | const |
Returns the severity of errors.
|
inline |
Returns whether 'Bad normal length' errors were found.
Definition at line 52 of file WEMNodeDiagnosis.h.
|
inline |
Returns whether 'Double entry' errors were found.
Definition at line 40 of file WEMNodeDiagnosis.h.
|
inline |
Returns whether 'Non connected' errors were found.
Definition at line 42 of file WEMNodeDiagnosis.h.
|
inline |
Returns whether 'Node valence 3 with 3 triangles' errors were found.
Definition at line 60 of file WEMNodeDiagnosis.h.
|
inline |
Returns whether 'Boundary' errors were found.
Definition at line 44 of file WEMNodeDiagnosis.h.
|
inline |
Returns whether 'Collinear' errors were found.
Definition at line 50 of file WEMNodeDiagnosis.h.
|
inline |
Returns whether 'Dead end' errors were found.
Definition at line 54 of file WEMNodeDiagnosis.h.
|
inline |
Returns whether 'Flat region' errors were found.
Definition at line 56 of file WEMNodeDiagnosis.h.
|
inline |
Returns whether 'Neighborhood not set' errors were found.
Definition at line 58 of file WEMNodeDiagnosis.h.
|
inline |
Returns whether the node is ok.
Definition at line 72 of file WEMNodeDiagnosis.h.
|
inline |
Returns whether 'Orphan' errors were found.
Definition at line 46 of file WEMNodeDiagnosis.h.
|
inline |
Returns whether 'Redundant' errors were found.
Definition at line 48 of file WEMNodeDiagnosis.h.
|
inline |
Returns the number of errors.
Definition at line 67 of file WEMNodeDiagnosis.h.
|
inline |
Returns the number of fatals.
Definition at line 69 of file WEMNodeDiagnosis.h.
|
inline |
Returns the number of notices.
Definition at line 63 of file WEMNodeDiagnosis.h.
|
inline |
Returns the number of warnings.
Definition at line 65 of file WEMNodeDiagnosis.h.
| std::string ml::WEMNodeDiagnosis::message |
Stuff used by SoWEMDiagnosis.
Short error message.
Definition at line 90 of file WEMNodeDiagnosis.h.
| bool ml::WEMNodeDiagnosis::selected |
Is the node selected?
Definition at line 92 of file WEMNodeDiagnosis.h.