MeVisLab Toolbox Reference
|
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.
|
inline |
Returns the error message.
Definition at line 76 of file WEMFaceDiagnosis.h.
|
inline |
Returns the face.
Definition at line 81 of file WEMFaceDiagnosis.h.
Returns the face.
Definition at line 83 of file WEMFaceDiagnosis.h.
int ml::WEMFaceDiagnosis::getSeverity | ( | ) | const |
Returns the severity of errors.
|
inline |
Returns whether 'Bad normal length' errors were found.
Definition at line 40 of file WEMFaceDiagnosis.h.
|
inline |
Returns whether 'Double entry' errors were found.
Definition at line 56 of file WEMFaceDiagnosis.h.
|
inline |
Returns whether 'Edge offset' errors were found.
Definition at line 50 of file WEMFaceDiagnosis.h.
|
inline |
Returns whether 'Non connected' errors were found.
Definition at line 58 of file WEMFaceDiagnosis.h.
|
inline |
Returns whether 'NULL edge' errors were found.
Definition at line 46 of file WEMFaceDiagnosis.h.
|
inline |
Returns whether 'NULL node' errors were found.
Definition at line 44 of file WEMFaceDiagnosis.h.
|
inline |
Returns whether 'Zero area' errors were found.
Definition at line 60 of file WEMFaceDiagnosis.h.
|
inline |
Returns whether 'Concave' errors were found.
Definition at line 52 of file WEMFaceDiagnosis.h.
|
inline |
Returns whether 'Invalid' error were found.
Definition at line 48 of file WEMFaceDiagnosis.h.
|
inline |
Returns whether 'Neighborhood not set' errors were found.
Definition at line 42 of file WEMFaceDiagnosis.h.
|
inline |
Returns whether 'Normal inverted' errors were found.
Definition at line 54 of file WEMFaceDiagnosis.h.
|
inline |
Returns whether the face is ok.
Definition at line 72 of file WEMFaceDiagnosis.h.
|
inline |
Returns the number of errors.
Definition at line 67 of file WEMFaceDiagnosis.h.
|
inline |
Returns the number of fatals.
Definition at line 69 of file WEMFaceDiagnosis.h.
|
inline |
Returns the number of notices.
Definition at line 63 of file WEMFaceDiagnosis.h.
|
inline |
Returns the number of warnings.
Definition at line 65 of file WEMFaceDiagnosis.h.
std::string ml::WEMFaceDiagnosis::message |
Stuff used by SoWEMDiagnosis.
Short error message.
Definition at line 90 of file WEMFaceDiagnosis.h.
bool ml::WEMFaceDiagnosis::selected |
Is the face selected?
Definition at line 92 of file WEMFaceDiagnosis.h.