MeVisLabToolboxReference
|
This class provides diagnostic information on a WEMFace. More...
#include <WEMFaceDiagnosis.h>
Public Member Functions | |
WEMFaceDiagnosis (bool hasEdges) | |
Standard constructor. | |
~WEMFaceDiagnosis () | |
Standard destructor. | |
bool | hasBadNormalLength () const |
Returns whether 'Bad normal length' errors were found. | |
bool | isNeighborhoodNotSet () const |
Returns whether 'Neighborhood not set' errors were found. | |
bool | hasNULLNode () const |
Returns whether 'NULL node' errors were found. | |
bool | hasNULLEdge () const |
Returns whether 'NULL edge' errors were found. | |
bool | isInvalid () const |
Returns whether 'Invalid' error were found. | |
bool | hasEdgeOffset () const |
Returns whether 'Edge offset' errors were found. | |
bool | isConcave () const |
Returns whether 'Concave' errors were found. | |
bool | isNormalInverted () const |
Returns whether 'Normal inverted' errors were found. | |
bool | hasDoubleEntry () const |
Returns whether 'Double entry' errors were found. | |
bool | hasNonConnected () const |
Returns whether 'Non connected' errors were found. | |
bool | hasZeroArea () const |
Returns whether 'Zero area' 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 face is ok. | |
std::string | getErrorMessage () const |
Returns the error message. | |
int | getSeverity () const |
Returns the severity of errors. | |
WEMFace * | getFace () |
Returns the face. | |
const WEMFace * | getFace () const |
Returns the face. | |
void | checkIntegrity (WEMFace *face) |
Checks the integrity of the given face. | |
Public Attributes | |
std::string | message |
Stuff used by SoWEMDiagnosis. | |
bool | selected |
Is the face selected? |
This class provides diagnostic information on a WEMFace.
Definition at line 30 of file WEMFaceDiagnosis.h.
ml::WEMFaceDiagnosis::WEMFaceDiagnosis | ( | bool | hasEdges | ) |
Standard constructor.
ml::WEMFaceDiagnosis::~WEMFaceDiagnosis | ( | ) |
Standard destructor.
void ml::WEMFaceDiagnosis::checkIntegrity | ( | WEMFace * | face | ) |
Checks the integrity of the given face.
std::string ml::WEMFaceDiagnosis::getErrorMessage | ( | ) | const [inline] |
Returns the error message.
Definition at line 77 of file WEMFaceDiagnosis.h.
WEMFace* ml::WEMFaceDiagnosis::getFace | ( | ) | [inline] |
Returns the face.
Definition at line 82 of file WEMFaceDiagnosis.h.
const WEMFace* ml::WEMFaceDiagnosis::getFace | ( | ) | const [inline] |
Returns the face.
Definition at line 84 of file WEMFaceDiagnosis.h.
int ml::WEMFaceDiagnosis::getSeverity | ( | ) | const |
Returns the severity of errors.
bool ml::WEMFaceDiagnosis::hasBadNormalLength | ( | ) | const [inline] |
Returns whether 'Bad normal length' errors were found.
Definition at line 41 of file WEMFaceDiagnosis.h.
bool ml::WEMFaceDiagnosis::hasDoubleEntry | ( | ) | const [inline] |
Returns whether 'Double entry' errors were found.
Definition at line 57 of file WEMFaceDiagnosis.h.
bool ml::WEMFaceDiagnosis::hasEdgeOffset | ( | ) | const [inline] |
Returns whether 'Edge offset' errors were found.
Definition at line 51 of file WEMFaceDiagnosis.h.
bool ml::WEMFaceDiagnosis::hasNonConnected | ( | ) | const [inline] |
Returns whether 'Non connected' errors were found.
Definition at line 59 of file WEMFaceDiagnosis.h.
bool ml::WEMFaceDiagnosis::hasNULLEdge | ( | ) | const [inline] |
Returns whether 'NULL edge' errors were found.
Definition at line 47 of file WEMFaceDiagnosis.h.
bool ml::WEMFaceDiagnosis::hasNULLNode | ( | ) | const [inline] |
Returns whether 'NULL node' errors were found.
Definition at line 45 of file WEMFaceDiagnosis.h.
bool ml::WEMFaceDiagnosis::hasZeroArea | ( | ) | const [inline] |
Returns whether 'Zero area' errors were found.
Definition at line 61 of file WEMFaceDiagnosis.h.
bool ml::WEMFaceDiagnosis::isConcave | ( | ) | const [inline] |
Returns whether 'Concave' errors were found.
Definition at line 53 of file WEMFaceDiagnosis.h.
bool ml::WEMFaceDiagnosis::isInvalid | ( | ) | const [inline] |
Returns whether 'Invalid' error were found.
Definition at line 49 of file WEMFaceDiagnosis.h.
bool ml::WEMFaceDiagnosis::isNeighborhoodNotSet | ( | ) | const [inline] |
Returns whether 'Neighborhood not set' errors were found.
Definition at line 43 of file WEMFaceDiagnosis.h.
bool ml::WEMFaceDiagnosis::isNormalInverted | ( | ) | const [inline] |
Returns whether 'Normal inverted' errors were found.
Definition at line 55 of file WEMFaceDiagnosis.h.
bool ml::WEMFaceDiagnosis::isOk | ( | ) | const [inline] |
Returns whether the face is ok.
Definition at line 73 of file WEMFaceDiagnosis.h.
int ml::WEMFaceDiagnosis::numErrors | ( | ) | const [inline] |
Returns the number of errors.
Definition at line 68 of file WEMFaceDiagnosis.h.
int ml::WEMFaceDiagnosis::numFatals | ( | ) | const [inline] |
Returns the number of fatals.
Definition at line 70 of file WEMFaceDiagnosis.h.
int ml::WEMFaceDiagnosis::numNotices | ( | ) | const [inline] |
Returns the number of notices.
Definition at line 64 of file WEMFaceDiagnosis.h.
int ml::WEMFaceDiagnosis::numWarnings | ( | ) | const [inline] |
Returns the number of warnings.
Definition at line 66 of file WEMFaceDiagnosis.h.
std::string ml::WEMFaceDiagnosis::message |
Stuff used by SoWEMDiagnosis.
Short error message.
Definition at line 91 of file WEMFaceDiagnosis.h.
Is the face selected?
Definition at line 93 of file WEMFaceDiagnosis.h.