MeVisLab Toolbox Reference
Loading...
Searching...
No Matches
ml::WEMFaceDiagnosis Class 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?
 

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 121 of file WEMFaceDiagnosis.h.

◆ getFace() [1/2]

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

Returns the face.

Definition at line 129 of file WEMFaceDiagnosis.h.

◆ getFace() [2/2]

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

Returns the face.

Definition at line 134 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 39 of file WEMFaceDiagnosis.h.

◆ hasDoubleEntry()

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

Returns whether 'Double entry' errors were found.

Definition at line 79 of file WEMFaceDiagnosis.h.

◆ hasEdgeOffset()

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

Returns whether 'Edge offset' errors were found.

Definition at line 64 of file WEMFaceDiagnosis.h.

◆ hasNonConnected()

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

Returns whether 'Non connected' errors were found.

Definition at line 84 of file WEMFaceDiagnosis.h.

◆ hasNULLEdge()

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

Returns whether 'NULL edge' errors were found.

Definition at line 54 of file WEMFaceDiagnosis.h.

◆ hasNULLNode()

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

Returns whether 'NULL node' errors were found.

Definition at line 49 of file WEMFaceDiagnosis.h.

◆ hasZeroArea()

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

Returns whether 'Zero area' errors were found.

Definition at line 89 of file WEMFaceDiagnosis.h.

◆ isConcave()

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

Returns whether 'Concave' errors were found.

Definition at line 69 of file WEMFaceDiagnosis.h.

◆ isInvalid()

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

Returns whether 'Invalid' error were found.

Definition at line 59 of file WEMFaceDiagnosis.h.

◆ isNeighborhoodNotSet()

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

Returns whether 'Neighborhood not set' errors were found.

Definition at line 44 of file WEMFaceDiagnosis.h.

◆ isNormalInverted()

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

Returns whether 'Normal inverted' errors were found.

Definition at line 74 of file WEMFaceDiagnosis.h.

◆ isOk()

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

Returns whether the face is ok.

Definition at line 116 of file WEMFaceDiagnosis.h.

◆ numErrors()

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

Returns the number of errors.

Definition at line 105 of file WEMFaceDiagnosis.h.

◆ numFatals()

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

Returns the number of fatals.

Definition at line 110 of file WEMFaceDiagnosis.h.

◆ numNotices()

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

Returns the number of notices.

Definition at line 95 of file WEMFaceDiagnosis.h.

◆ numWarnings()

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

Returns the number of warnings.

Definition at line 100 of file WEMFaceDiagnosis.h.

Member Data Documentation

◆ message

std::string ml::WEMFaceDiagnosis::message

Stuff used by SoWEMDiagnosis.

Short error message.

Definition at line 144 of file WEMFaceDiagnosis.h.

◆ selected

bool ml::WEMFaceDiagnosis::selected

Is the face selected?

Definition at line 146 of file WEMFaceDiagnosis.h.


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