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

Public Attributes

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

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: