MeVisLabToolboxReference
|
This class provides diagnostic information on a WEMEdge. More...
#include <WEMEdgeDiagnosis.h>
Public Member Functions | |
WEMEdgeDiagnosis () | |
Standard constructor. | |
~WEMEdgeDiagnosis () | |
Standard destructor. | |
bool | hasNULLHead () const |
Returns whether 'NULL head' errors were found. | |
bool | hasNULLTail () const |
Returns whether 'NULL tail' errors were found. | |
bool | isNeighborhoodNotSet () const |
Returns whether 'Neighborhood not set' errors were found. | |
bool | isBoundary () const |
Returns whether 'Boundary' errors were found. | |
bool | hasEqualPointer () const |
Returns whether 'Equal edge pointer' errors were found. | |
bool | hasNULLPointer () const |
Returns whether 'NULL edge pointer' errors were found. | |
bool | hasNonConnectedPointer () const |
Returns whether 'Non connected edge pointer' errors were found. | |
bool | hasIncorrectlyLinkedPointer () const |
Returns whether 'Incorrectly linked edge pointer' were found. | |
bool | hasWrongOrder () const |
Returns whether 'Order' errors were found. | |
bool | hasCircularPointer () const |
Returns whether 'Circular edge pointer' errors wre found. | |
bool | hasZeroLength () const |
Returns whether 'Zero length' errors were found. | |
bool | hasFold () const |
Returns whether 'Fold' 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 edge is ok. | |
std::string | getErrorMessage () const |
Returns the error message. | |
int | getSeverity () const |
Returns the severity of errors. | |
WEMEdge * | getEdge () |
Returns the edge. | |
const WEMEdge * | getEdge () const |
Returns the edge. | |
void | checkIntegrity (WEMEdge *edge) |
Checks the integrity of the given edge. | |
Public Attributes | |
std::string | message |
Stuff used by SoWEMDiagnosis. | |
bool | selected |
Is the edge selected? |
This class provides diagnostic information on a WEMEdge.
Definition at line 30 of file WEMEdgeDiagnosis.h.
ml::WEMEdgeDiagnosis::WEMEdgeDiagnosis | ( | ) |
Standard constructor.
ml::WEMEdgeDiagnosis::~WEMEdgeDiagnosis | ( | ) |
Standard destructor.
void ml::WEMEdgeDiagnosis::checkIntegrity | ( | WEMEdge * | edge | ) |
Checks the integrity of the given edge.
WEMEdge* ml::WEMEdgeDiagnosis::getEdge | ( | ) | [inline] |
Returns the edge.
Definition at line 84 of file WEMEdgeDiagnosis.h.
const WEMEdge* ml::WEMEdgeDiagnosis::getEdge | ( | ) | const [inline] |
Returns the edge.
Definition at line 86 of file WEMEdgeDiagnosis.h.
std::string ml::WEMEdgeDiagnosis::getErrorMessage | ( | ) | const [inline] |
Returns the error message.
Definition at line 79 of file WEMEdgeDiagnosis.h.
int ml::WEMEdgeDiagnosis::getSeverity | ( | ) | const |
Returns the severity of errors.
bool ml::WEMEdgeDiagnosis::hasCircularPointer | ( | ) | const [inline] |
Returns whether 'Circular edge pointer' errors wre found.
Definition at line 59 of file WEMEdgeDiagnosis.h.
bool ml::WEMEdgeDiagnosis::hasEqualPointer | ( | ) | const [inline] |
Returns whether 'Equal edge pointer' errors were found.
Definition at line 49 of file WEMEdgeDiagnosis.h.
bool ml::WEMEdgeDiagnosis::hasFold | ( | ) | const [inline] |
Returns whether 'Fold' errors were found.
Definition at line 63 of file WEMEdgeDiagnosis.h.
bool ml::WEMEdgeDiagnosis::hasIncorrectlyLinkedPointer | ( | ) | const [inline] |
Returns whether 'Incorrectly linked edge pointer' were found.
Definition at line 55 of file WEMEdgeDiagnosis.h.
bool ml::WEMEdgeDiagnosis::hasNonConnectedPointer | ( | ) | const [inline] |
Returns whether 'Non connected edge pointer' errors were found.
Definition at line 53 of file WEMEdgeDiagnosis.h.
bool ml::WEMEdgeDiagnosis::hasNULLHead | ( | ) | const [inline] |
Returns whether 'NULL head' errors were found.
Definition at line 41 of file WEMEdgeDiagnosis.h.
bool ml::WEMEdgeDiagnosis::hasNULLPointer | ( | ) | const [inline] |
Returns whether 'NULL edge pointer' errors were found.
Definition at line 51 of file WEMEdgeDiagnosis.h.
bool ml::WEMEdgeDiagnosis::hasNULLTail | ( | ) | const [inline] |
Returns whether 'NULL tail' errors were found.
Definition at line 43 of file WEMEdgeDiagnosis.h.
bool ml::WEMEdgeDiagnosis::hasWrongOrder | ( | ) | const [inline] |
Returns whether 'Order' errors were found.
Definition at line 57 of file WEMEdgeDiagnosis.h.
bool ml::WEMEdgeDiagnosis::hasZeroLength | ( | ) | const [inline] |
Returns whether 'Zero length' errors were found.
Definition at line 61 of file WEMEdgeDiagnosis.h.
bool ml::WEMEdgeDiagnosis::isBoundary | ( | ) | const [inline] |
Returns whether 'Boundary' errors were found.
Definition at line 47 of file WEMEdgeDiagnosis.h.
bool ml::WEMEdgeDiagnosis::isNeighborhoodNotSet | ( | ) | const [inline] |
Returns whether 'Neighborhood not set' errors were found.
Definition at line 45 of file WEMEdgeDiagnosis.h.
bool ml::WEMEdgeDiagnosis::isOk | ( | ) | const [inline] |
Returns whether the edge is ok.
Definition at line 75 of file WEMEdgeDiagnosis.h.
int ml::WEMEdgeDiagnosis::numErrors | ( | ) | const [inline] |
Returns the number of errors.
Definition at line 70 of file WEMEdgeDiagnosis.h.
int ml::WEMEdgeDiagnosis::numFatals | ( | ) | const [inline] |
Returns the number of fatals.
Definition at line 72 of file WEMEdgeDiagnosis.h.
int ml::WEMEdgeDiagnosis::numNotices | ( | ) | const [inline] |
Returns the number of notices.
Definition at line 66 of file WEMEdgeDiagnosis.h.
int ml::WEMEdgeDiagnosis::numWarnings | ( | ) | const [inline] |
Returns the number of warnings.
Definition at line 68 of file WEMEdgeDiagnosis.h.
std::string ml::WEMEdgeDiagnosis::message |
Stuff used by SoWEMDiagnosis.
Short error message.
Definition at line 93 of file WEMEdgeDiagnosis.h.
Is the edge selected?
Definition at line 95 of file WEMEdgeDiagnosis.h.