MeVisLab Toolbox Reference
ml::WEMEdgeDiagnosis Class Reference

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

#include <WEMEdgeDiagnosis.h>

Public Member Functions

 WEMEdgeDiagnosis ()
 Standard constructor. More...
 
 ~WEMEdgeDiagnosis ()
 Standard destructor. More...
 
bool hasNULLHead () const
 Returns whether 'NULL head' errors were found. More...
 
bool hasNULLTail () const
 Returns whether 'NULL tail' errors were found. More...
 
bool isNeighborhoodNotSet () const
 Returns whether 'Neighborhood not set' errors were found. More...
 
bool isBoundary () const
 Returns whether 'Boundary' errors were found. More...
 
bool hasEqualPointer () const
 Returns whether 'Equal edge pointer' errors were found. More...
 
bool hasNULLPointer () const
 Returns whether 'NULL edge pointer' errors were found. More...
 
bool hasNonConnectedPointer () const
 Returns whether 'Non connected edge pointer' errors were found. More...
 
bool hasIncorrectlyLinkedPointer () const
 Returns whether 'Incorrectly linked edge pointer' were found. More...
 
bool hasWrongOrder () const
 Returns whether 'Order' errors were found. More...
 
bool hasCircularPointer () const
 Returns whether 'Circular edge pointer' errors wre found. More...
 
bool hasZeroLength () const
 Returns whether 'Zero length' errors were found. More...
 
bool hasFold () const
 Returns whether 'Fold' 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 edge is ok. More...
 
std::string getErrorMessage () const
 Returns the error message. More...
 
int getSeverity () const
 Returns the severity of errors. More...
 
WEMEdgegetEdge ()
 Returns the edge. More...
 
const WEMEdgegetEdge () const
 Returns the edge. More...
 
void checkIntegrity (WEMEdge *edge)
 Checks the integrity of the given edge. More...
 

Public Attributes

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

Detailed Description

This class provides diagnostic information on a WEMEdge.

Definition at line 30 of file WEMEdgeDiagnosis.h.

Constructor & Destructor Documentation

◆ WEMEdgeDiagnosis()

ml::WEMEdgeDiagnosis::WEMEdgeDiagnosis ( )

Standard constructor.

◆ ~WEMEdgeDiagnosis()

ml::WEMEdgeDiagnosis::~WEMEdgeDiagnosis ( )

Standard destructor.

Member Function Documentation

◆ checkIntegrity()

void ml::WEMEdgeDiagnosis::checkIntegrity ( WEMEdge edge)

Checks the integrity of the given edge.

◆ getEdge() [1/2]

WEMEdge* ml::WEMEdgeDiagnosis::getEdge ( )
inline

Returns the edge.

Definition at line 83 of file WEMEdgeDiagnosis.h.

◆ getEdge() [2/2]

const WEMEdge* ml::WEMEdgeDiagnosis::getEdge ( ) const
inline

Returns the edge.

Definition at line 85 of file WEMEdgeDiagnosis.h.

◆ getErrorMessage()

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

Returns the error message.

Definition at line 78 of file WEMEdgeDiagnosis.h.

◆ getSeverity()

int ml::WEMEdgeDiagnosis::getSeverity ( ) const

Returns the severity of errors.

◆ hasCircularPointer()

bool ml::WEMEdgeDiagnosis::hasCircularPointer ( ) const
inline

Returns whether 'Circular edge pointer' errors wre found.

Definition at line 58 of file WEMEdgeDiagnosis.h.

◆ hasEqualPointer()

bool ml::WEMEdgeDiagnosis::hasEqualPointer ( ) const
inline

Returns whether 'Equal edge pointer' errors were found.

Definition at line 48 of file WEMEdgeDiagnosis.h.

◆ hasFold()

bool ml::WEMEdgeDiagnosis::hasFold ( ) const
inline

Returns whether 'Fold' errors were found.

Definition at line 62 of file WEMEdgeDiagnosis.h.

◆ hasIncorrectlyLinkedPointer()

bool ml::WEMEdgeDiagnosis::hasIncorrectlyLinkedPointer ( ) const
inline

Returns whether 'Incorrectly linked edge pointer' were found.

Definition at line 54 of file WEMEdgeDiagnosis.h.

◆ hasNonConnectedPointer()

bool ml::WEMEdgeDiagnosis::hasNonConnectedPointer ( ) const
inline

Returns whether 'Non connected edge pointer' errors were found.

Definition at line 52 of file WEMEdgeDiagnosis.h.

◆ hasNULLHead()

bool ml::WEMEdgeDiagnosis::hasNULLHead ( ) const
inline

Returns whether 'NULL head' errors were found.

Definition at line 40 of file WEMEdgeDiagnosis.h.

◆ hasNULLPointer()

bool ml::WEMEdgeDiagnosis::hasNULLPointer ( ) const
inline

Returns whether 'NULL edge pointer' errors were found.

Definition at line 50 of file WEMEdgeDiagnosis.h.

◆ hasNULLTail()

bool ml::WEMEdgeDiagnosis::hasNULLTail ( ) const
inline

Returns whether 'NULL tail' errors were found.

Definition at line 42 of file WEMEdgeDiagnosis.h.

◆ hasWrongOrder()

bool ml::WEMEdgeDiagnosis::hasWrongOrder ( ) const
inline

Returns whether 'Order' errors were found.

Definition at line 56 of file WEMEdgeDiagnosis.h.

◆ hasZeroLength()

bool ml::WEMEdgeDiagnosis::hasZeroLength ( ) const
inline

Returns whether 'Zero length' errors were found.

Definition at line 60 of file WEMEdgeDiagnosis.h.

◆ isBoundary()

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

Returns whether 'Boundary' errors were found.

Definition at line 46 of file WEMEdgeDiagnosis.h.

◆ isNeighborhoodNotSet()

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

Returns whether 'Neighborhood not set' errors were found.

Definition at line 44 of file WEMEdgeDiagnosis.h.

◆ isOk()

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

Returns whether the edge is ok.

Definition at line 74 of file WEMEdgeDiagnosis.h.

◆ numErrors()

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

Returns the number of errors.

Definition at line 69 of file WEMEdgeDiagnosis.h.

◆ numFatals()

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

Returns the number of fatals.

Definition at line 71 of file WEMEdgeDiagnosis.h.

◆ numNotices()

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

Returns the number of notices.

Definition at line 65 of file WEMEdgeDiagnosis.h.

◆ numWarnings()

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

Returns the number of warnings.

Definition at line 67 of file WEMEdgeDiagnosis.h.

Member Data Documentation

◆ message

std::string ml::WEMEdgeDiagnosis::message

Stuff used by SoWEMDiagnosis.

Short error message.

Definition at line 92 of file WEMEdgeDiagnosis.h.

◆ selected

bool ml::WEMEdgeDiagnosis::selected

Is the edge selected?

Definition at line 94 of file WEMEdgeDiagnosis.h.


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