MeVisLabToolboxReference
|
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.
std::string ml::WEMNodeDiagnosis::getErrorMessage | ( | ) | const [inline] |
Returns the error message.
Definition at line 77 of file WEMNodeDiagnosis.h.
WEMNode* ml::WEMNodeDiagnosis::getNode | ( | ) | [inline] |
Returns the node.
Definition at line 82 of file WEMNodeDiagnosis.h.
const WEMNode* ml::WEMNodeDiagnosis::getNode | ( | ) | const [inline] |
Returns the node.
Definition at line 84 of file WEMNodeDiagnosis.h.
int ml::WEMNodeDiagnosis::getSeverity | ( | ) | const |
Returns the severity of errors.
bool ml::WEMNodeDiagnosis::hasBadNormalLength | ( | ) | const [inline] |
Returns whether 'Bad normal length' errors were found.
Definition at line 53 of file WEMNodeDiagnosis.h.
bool ml::WEMNodeDiagnosis::hasDoubleEntry | ( | ) | const [inline] |
Returns whether 'Double entry' errors were found.
Definition at line 41 of file WEMNodeDiagnosis.h.
bool ml::WEMNodeDiagnosis::hasNonConnected | ( | ) | const [inline] |
Returns whether 'Non connected' errors were found.
Definition at line 43 of file WEMNodeDiagnosis.h.
bool ml::WEMNodeDiagnosis::hasValence3 | ( | ) | const [inline] |
Returns whether 'Node valence 3 with 3 triangles' errors were found.
Definition at line 61 of file WEMNodeDiagnosis.h.
bool ml::WEMNodeDiagnosis::isBoundary | ( | ) | const [inline] |
Returns whether 'Boundary' errors were found.
Definition at line 45 of file WEMNodeDiagnosis.h.
bool ml::WEMNodeDiagnosis::isCollinear | ( | ) | const [inline] |
Returns whether 'Collinear' errors were found.
Definition at line 51 of file WEMNodeDiagnosis.h.
bool ml::WEMNodeDiagnosis::isDeadEnd | ( | ) | const [inline] |
Returns whether 'Dead end' errors were found.
Definition at line 55 of file WEMNodeDiagnosis.h.
bool ml::WEMNodeDiagnosis::isFlatRegion | ( | ) | const [inline] |
Returns whether 'Flat region' errors were found.
Definition at line 57 of file WEMNodeDiagnosis.h.
bool ml::WEMNodeDiagnosis::isNeighborhoodNotSet | ( | ) | const [inline] |
Returns whether 'Neighborhood not set' errors were found.
Definition at line 59 of file WEMNodeDiagnosis.h.
bool ml::WEMNodeDiagnosis::isOk | ( | ) | const [inline] |
Returns whether the node is ok.
Definition at line 73 of file WEMNodeDiagnosis.h.
bool ml::WEMNodeDiagnosis::isOrphan | ( | ) | const [inline] |
Returns whether 'Orphan' errors were found.
Definition at line 47 of file WEMNodeDiagnosis.h.
bool ml::WEMNodeDiagnosis::isRedundant | ( | ) | const [inline] |
Returns whether 'Redundant' errors were found.
Definition at line 49 of file WEMNodeDiagnosis.h.
int ml::WEMNodeDiagnosis::numErrors | ( | ) | const [inline] |
Returns the number of errors.
Definition at line 68 of file WEMNodeDiagnosis.h.
int ml::WEMNodeDiagnosis::numFatals | ( | ) | const [inline] |
Returns the number of fatals.
Definition at line 70 of file WEMNodeDiagnosis.h.
int ml::WEMNodeDiagnosis::numNotices | ( | ) | const [inline] |
Returns the number of notices.
Definition at line 64 of file WEMNodeDiagnosis.h.
int ml::WEMNodeDiagnosis::numWarnings | ( | ) | const [inline] |
Returns the number of warnings.
Definition at line 66 of file WEMNodeDiagnosis.h.
std::string ml::WEMNodeDiagnosis::message |
Stuff used by SoWEMDiagnosis.
Short error message.
Definition at line 91 of file WEMNodeDiagnosis.h.
Is the node selected?
Definition at line 93 of file WEMNodeDiagnosis.h.