MeVisLab Toolbox Reference
Loading...
Searching...
No Matches
ml::WEMNodeDiagnosis Class Reference

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

#include <WEMNodeDiagnosis.h>

Public Member Functions

 WEMNodeDiagnosis (bool hasEdges)
 Standard constructor.
 
 ~WEMNodeDiagnosis ()
 Standard destructor.
 
bool hasDoubleEntry () const
 Returns whether 'Double entry' errors were found.
 
bool hasNonConnected () const
 Returns whether 'Non connected' errors were found.
 
bool isBoundary () const
 Returns whether 'Boundary' errors were found.
 
bool isOrphan () const
 Returns whether 'Orphan' errors were found.
 
bool isRedundant () const
 Returns whether 'Redundant' errors were found.
 
bool isCollinear () const
 Returns whether 'Collinear' errors were found.
 
bool hasBadNormalLength () const
 Returns whether 'Bad normal length' errors were found.
 
bool isDeadEnd () const
 Returns whether 'Dead end' errors were found.
 
bool isFlatRegion () const
 Returns whether 'Flat region' errors were found.
 
bool isNeighborhoodNotSet () const
 Returns whether 'Neighborhood not set' errors were found.
 
bool hasValence3 () const
 Returns whether 'Node valence 3 with 3 triangles' 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 node is ok.
 
std::string getErrorMessage () const
 Returns the error message.
 
int getSeverity () const
 Returns the severity of errors.
 
WEMNode * getNode ()
 Returns the node.
 
const WEMNode * getNode () const
 Returns the node.
 
void checkIntegrity (WEMNode *node)
 Checks integrity of the given node.
 

Public Attributes

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

Detailed Description

This class provides diagnostic information on a WEMNode.

Definition at line 30 of file WEMNodeDiagnosis.h.

Constructor & Destructor Documentation

◆ WEMNodeDiagnosis()

ml::WEMNodeDiagnosis::WEMNodeDiagnosis ( bool hasEdges)

Standard constructor.

◆ ~WEMNodeDiagnosis()

ml::WEMNodeDiagnosis::~WEMNodeDiagnosis ( )

Standard destructor.

Member Function Documentation

◆ checkIntegrity()

void ml::WEMNodeDiagnosis::checkIntegrity ( WEMNode * node)

Checks integrity of the given node.

◆ getErrorMessage()

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

Returns the error message.

Definition at line 121 of file WEMNodeDiagnosis.h.

◆ getNode() [1/2]

WEMNode * ml::WEMNodeDiagnosis::getNode ( )
inline

Returns the node.

Definition at line 129 of file WEMNodeDiagnosis.h.

◆ getNode() [2/2]

const WEMNode * ml::WEMNodeDiagnosis::getNode ( ) const
inline

Returns the node.

Definition at line 134 of file WEMNodeDiagnosis.h.

◆ getSeverity()

int ml::WEMNodeDiagnosis::getSeverity ( ) const

Returns the severity of errors.

◆ hasBadNormalLength()

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

Returns whether 'Bad normal length' errors were found.

Definition at line 69 of file WEMNodeDiagnosis.h.

◆ hasDoubleEntry()

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

Returns whether 'Double entry' errors were found.

Definition at line 39 of file WEMNodeDiagnosis.h.

◆ hasNonConnected()

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

Returns whether 'Non connected' errors were found.

Definition at line 44 of file WEMNodeDiagnosis.h.

◆ hasValence3()

bool ml::WEMNodeDiagnosis::hasValence3 ( ) const
inline

Returns whether 'Node valence 3 with 3 triangles' errors were found.

Definition at line 89 of file WEMNodeDiagnosis.h.

◆ isBoundary()

bool ml::WEMNodeDiagnosis::isBoundary ( ) const
inline

Returns whether 'Boundary' errors were found.

Definition at line 49 of file WEMNodeDiagnosis.h.

◆ isCollinear()

bool ml::WEMNodeDiagnosis::isCollinear ( ) const
inline

Returns whether 'Collinear' errors were found.

Definition at line 64 of file WEMNodeDiagnosis.h.

◆ isDeadEnd()

bool ml::WEMNodeDiagnosis::isDeadEnd ( ) const
inline

Returns whether 'Dead end' errors were found.

Definition at line 74 of file WEMNodeDiagnosis.h.

◆ isFlatRegion()

bool ml::WEMNodeDiagnosis::isFlatRegion ( ) const
inline

Returns whether 'Flat region' errors were found.

Definition at line 79 of file WEMNodeDiagnosis.h.

◆ isNeighborhoodNotSet()

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

Returns whether 'Neighborhood not set' errors were found.

Definition at line 84 of file WEMNodeDiagnosis.h.

◆ isOk()

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

Returns whether the node is ok.

Definition at line 116 of file WEMNodeDiagnosis.h.

◆ isOrphan()

bool ml::WEMNodeDiagnosis::isOrphan ( ) const
inline

Returns whether 'Orphan' errors were found.

Definition at line 54 of file WEMNodeDiagnosis.h.

◆ isRedundant()

bool ml::WEMNodeDiagnosis::isRedundant ( ) const
inline

Returns whether 'Redundant' errors were found.

Definition at line 59 of file WEMNodeDiagnosis.h.

◆ numErrors()

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

Returns the number of errors.

Definition at line 105 of file WEMNodeDiagnosis.h.

◆ numFatals()

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

Returns the number of fatals.

Definition at line 110 of file WEMNodeDiagnosis.h.

◆ numNotices()

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

Returns the number of notices.

Definition at line 95 of file WEMNodeDiagnosis.h.

◆ numWarnings()

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

Returns the number of warnings.

Definition at line 100 of file WEMNodeDiagnosis.h.

Member Data Documentation

◆ message

std::string ml::WEMNodeDiagnosis::message

Stuff used by SoWEMDiagnosis.

Short error message.

Definition at line 144 of file WEMNodeDiagnosis.h.

◆ selected

bool ml::WEMNodeDiagnosis::selected

Is the node selected?

Definition at line 146 of file WEMNodeDiagnosis.h.


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