MeVisLab Toolbox Reference
ml::WEMNodeDiagnosis Class Reference

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

#include <WEMNodeDiagnosis.h>

Public Member Functions

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

Public Attributes

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

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 76 of file WEMNodeDiagnosis.h.

◆ getNode() [1/2]

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

Returns the node.

Definition at line 81 of file WEMNodeDiagnosis.h.

◆ getNode() [2/2]

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

Returns the node.

Definition at line 83 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 52 of file WEMNodeDiagnosis.h.

◆ hasDoubleEntry()

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

Returns whether 'Double entry' errors were found.

Definition at line 40 of file WEMNodeDiagnosis.h.

◆ hasNonConnected()

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

Returns whether 'Non connected' errors were found.

Definition at line 42 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 60 of file WEMNodeDiagnosis.h.

◆ isBoundary()

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

Returns whether 'Boundary' errors were found.

Definition at line 44 of file WEMNodeDiagnosis.h.

◆ isCollinear()

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

Returns whether 'Collinear' errors were found.

Definition at line 50 of file WEMNodeDiagnosis.h.

◆ isDeadEnd()

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

Returns whether 'Dead end' errors were found.

Definition at line 54 of file WEMNodeDiagnosis.h.

◆ isFlatRegion()

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

Returns whether 'Flat region' errors were found.

Definition at line 56 of file WEMNodeDiagnosis.h.

◆ isNeighborhoodNotSet()

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

Returns whether 'Neighborhood not set' errors were found.

Definition at line 58 of file WEMNodeDiagnosis.h.

◆ isOk()

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

Returns whether the node is ok.

Definition at line 72 of file WEMNodeDiagnosis.h.

◆ isOrphan()

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

Returns whether 'Orphan' errors were found.

Definition at line 46 of file WEMNodeDiagnosis.h.

◆ isRedundant()

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

Returns whether 'Redundant' errors were found.

Definition at line 48 of file WEMNodeDiagnosis.h.

◆ numErrors()

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

Returns the number of errors.

Definition at line 67 of file WEMNodeDiagnosis.h.

◆ numFatals()

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

Returns the number of fatals.

Definition at line 69 of file WEMNodeDiagnosis.h.

◆ numNotices()

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

Returns the number of notices.

Definition at line 63 of file WEMNodeDiagnosis.h.

◆ numWarnings()

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

Returns the number of warnings.

Definition at line 65 of file WEMNodeDiagnosis.h.

Member Data Documentation

◆ message

std::string ml::WEMNodeDiagnosis::message

Stuff used by SoWEMDiagnosis.

Short error message.

Definition at line 90 of file WEMNodeDiagnosis.h.

◆ selected

bool ml::WEMNodeDiagnosis::selected

Is the node selected?

Definition at line 92 of file WEMNodeDiagnosis.h.


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