MeVisLab Toolbox Reference
ml::WEMFaceDiagnosis Class Reference

This class provides diagnostic information on a WEMFace. More...

#include <WEMFaceDiagnosis.h>

Public Member Functions

 WEMFaceDiagnosis (bool hasEdges)
 Standard constructor. More...
 
 ~WEMFaceDiagnosis ()
 Standard destructor. More...
 
bool hasBadNormalLength () const
 Returns whether 'Bad normal length' errors were found. More...
 
bool isNeighborhoodNotSet () const
 Returns whether 'Neighborhood not set' errors were found. More...
 
bool hasNULLNode () const
 Returns whether 'NULL node' errors were found. More...
 
bool hasNULLEdge () const
 Returns whether 'NULL edge' errors were found. More...
 
bool isInvalid () const
 Returns whether 'Invalid' error were found. More...
 
bool hasEdgeOffset () const
 Returns whether 'Edge offset' errors were found. More...
 
bool isConcave () const
 Returns whether 'Concave' errors were found. More...
 
bool isNormalInverted () const
 Returns whether 'Normal inverted' errors were found. More...
 
bool hasDoubleEntry () const
 Returns whether 'Double entry' errors were found. More...
 
bool hasNonConnected () const
 Returns whether 'Non connected' errors were found. More...
 
bool hasZeroArea () const
 Returns whether 'Zero area' errors were found. More...
 
int numNotices () const
 Returns the number of notices. More...
 
int numWarnings () const
 Returns the number of warnings. More...
 
int numErrors () const
 Returns the number of errors. More...
 
int numFatals () const
 Returns the number of fatals. More...
 
bool isOk () const
 Returns whether the face is ok. More...
 
std::string getErrorMessage () const
 Returns the error message. More...
 
int getSeverity () const
 Returns the severity of errors. More...
 
WEMFacegetFace ()
 Returns the face. More...
 
const WEMFacegetFace () const
 Returns the face. More...
 
void checkIntegrity (WEMFace *face)
 Checks the integrity of the given face. More...
 

Public Attributes

std::string message
 Stuff used by SoWEMDiagnosis. More...
 
bool selected
 Is the face selected? More...
 

Detailed Description

This class provides diagnostic information on a WEMFace.

Definition at line 30 of file WEMFaceDiagnosis.h.

Constructor & Destructor Documentation

◆ WEMFaceDiagnosis()

ml::WEMFaceDiagnosis::WEMFaceDiagnosis ( bool  hasEdges)

Standard constructor.

◆ ~WEMFaceDiagnosis()

ml::WEMFaceDiagnosis::~WEMFaceDiagnosis ( )

Standard destructor.

Member Function Documentation

◆ checkIntegrity()

void ml::WEMFaceDiagnosis::checkIntegrity ( WEMFace face)

Checks the integrity of the given face.

◆ getErrorMessage()

std::string ml::WEMFaceDiagnosis::getErrorMessage ( ) const
inline

Returns the error message.

Definition at line 76 of file WEMFaceDiagnosis.h.

◆ getFace() [1/2]

WEMFace* ml::WEMFaceDiagnosis::getFace ( )
inline

Returns the face.

Definition at line 81 of file WEMFaceDiagnosis.h.

◆ getFace() [2/2]

const WEMFace* ml::WEMFaceDiagnosis::getFace ( ) const
inline

Returns the face.

Definition at line 83 of file WEMFaceDiagnosis.h.

◆ getSeverity()

int ml::WEMFaceDiagnosis::getSeverity ( ) const

Returns the severity of errors.

◆ hasBadNormalLength()

bool ml::WEMFaceDiagnosis::hasBadNormalLength ( ) const
inline

Returns whether 'Bad normal length' errors were found.

Definition at line 40 of file WEMFaceDiagnosis.h.

◆ hasDoubleEntry()

bool ml::WEMFaceDiagnosis::hasDoubleEntry ( ) const
inline

Returns whether 'Double entry' errors were found.

Definition at line 56 of file WEMFaceDiagnosis.h.

◆ hasEdgeOffset()

bool ml::WEMFaceDiagnosis::hasEdgeOffset ( ) const
inline

Returns whether 'Edge offset' errors were found.

Definition at line 50 of file WEMFaceDiagnosis.h.

◆ hasNonConnected()

bool ml::WEMFaceDiagnosis::hasNonConnected ( ) const
inline

Returns whether 'Non connected' errors were found.

Definition at line 58 of file WEMFaceDiagnosis.h.

◆ hasNULLEdge()

bool ml::WEMFaceDiagnosis::hasNULLEdge ( ) const
inline

Returns whether 'NULL edge' errors were found.

Definition at line 46 of file WEMFaceDiagnosis.h.

◆ hasNULLNode()

bool ml::WEMFaceDiagnosis::hasNULLNode ( ) const
inline

Returns whether 'NULL node' errors were found.

Definition at line 44 of file WEMFaceDiagnosis.h.

◆ hasZeroArea()

bool ml::WEMFaceDiagnosis::hasZeroArea ( ) const
inline

Returns whether 'Zero area' errors were found.

Definition at line 60 of file WEMFaceDiagnosis.h.

◆ isConcave()

bool ml::WEMFaceDiagnosis::isConcave ( ) const
inline

Returns whether 'Concave' errors were found.

Definition at line 52 of file WEMFaceDiagnosis.h.

◆ isInvalid()

bool ml::WEMFaceDiagnosis::isInvalid ( ) const
inline

Returns whether 'Invalid' error were found.

Definition at line 48 of file WEMFaceDiagnosis.h.

◆ isNeighborhoodNotSet()

bool ml::WEMFaceDiagnosis::isNeighborhoodNotSet ( ) const
inline

Returns whether 'Neighborhood not set' errors were found.

Definition at line 42 of file WEMFaceDiagnosis.h.

◆ isNormalInverted()

bool ml::WEMFaceDiagnosis::isNormalInverted ( ) const
inline

Returns whether 'Normal inverted' errors were found.

Definition at line 54 of file WEMFaceDiagnosis.h.

◆ isOk()

bool ml::WEMFaceDiagnosis::isOk ( ) const
inline

Returns whether the face is ok.

Definition at line 72 of file WEMFaceDiagnosis.h.

◆ numErrors()

int ml::WEMFaceDiagnosis::numErrors ( ) const
inline

Returns the number of errors.

Definition at line 67 of file WEMFaceDiagnosis.h.

◆ numFatals()

int ml::WEMFaceDiagnosis::numFatals ( ) const
inline

Returns the number of fatals.

Definition at line 69 of file WEMFaceDiagnosis.h.

◆ numNotices()

int ml::WEMFaceDiagnosis::numNotices ( ) const
inline

Returns the number of notices.

Definition at line 63 of file WEMFaceDiagnosis.h.

◆ numWarnings()

int ml::WEMFaceDiagnosis::numWarnings ( ) const
inline

Returns the number of warnings.

Definition at line 65 of file WEMFaceDiagnosis.h.

Member Data Documentation

◆ message

std::string ml::WEMFaceDiagnosis::message

Stuff used by SoWEMDiagnosis.

Short error message.

Definition at line 90 of file WEMFaceDiagnosis.h.

◆ selected

bool ml::WEMFaceDiagnosis::selected

Is the face selected?

Definition at line 92 of file WEMFaceDiagnosis.h.


The documentation for this class was generated from the following file: