MeVisLab Toolbox Reference
ml::WEMPatchDiagnosis Class Reference

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

#include <WEMPatchDiagnosis.h>

Public Member Functions

 WEMPatchDiagnosis (bool hasEdges)
 Standard constructor. More...
 
 ~WEMPatchDiagnosis ()
 Standard destructor. More...
 
bool hasDuplicateNodes () const
 Returns whether 'Duplicate nodes' errors were found. More...
 
int numDuplicateNodes () const
 Returns whether 'Get amount of duplicate nodes' errors were found. More...
 
bool hasHoles () const
 Returns whether Get 'Holes' errors were found. More...
 
int numHoles () const
 Returns the number of found holes. More...
 
bool hasNonCloseableHoles () const
 Returns whether 'Non-closeable holes' errors were found. More...
 
int numNonCloseableHoles () const
 Returns the number of non-closeable holes. More...
 
bool isInverted () const
 Returns whether the patch is inverted. 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 patch is ok. More...
 
std::string getErrorMessage () const
 Returns the error message. More...
 
int getSeverity () const
 Returns the severity of errors. More...
 
WEMPatchgetPatch ()
 Returns the patch. More...
 
const WEMPatchgetPatch () const
 Returns the patch. More...
 
void checkIntegrity (WEMPatch *patch)
 Checks the integrity of the given patch. 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 WEMPatchDiagnosis.h.

Constructor & Destructor Documentation

◆ WEMPatchDiagnosis()

ml::WEMPatchDiagnosis::WEMPatchDiagnosis ( bool  hasEdges)

Standard constructor.

◆ ~WEMPatchDiagnosis()

ml::WEMPatchDiagnosis::~WEMPatchDiagnosis ( )

Standard destructor.

Member Function Documentation

◆ checkIntegrity()

void ml::WEMPatchDiagnosis::checkIntegrity ( WEMPatch patch)

Checks the integrity of the given patch.

◆ getErrorMessage()

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

Returns the error message.

Definition at line 68 of file WEMPatchDiagnosis.h.

◆ getPatch() [1/2]

WEMPatch* ml::WEMPatchDiagnosis::getPatch ( )
inline

Returns the patch.

Definition at line 73 of file WEMPatchDiagnosis.h.

◆ getPatch() [2/2]

const WEMPatch* ml::WEMPatchDiagnosis::getPatch ( ) const
inline

Returns the patch.

Definition at line 75 of file WEMPatchDiagnosis.h.

◆ getSeverity()

int ml::WEMPatchDiagnosis::getSeverity ( ) const

Returns the severity of errors.

◆ hasDuplicateNodes()

bool ml::WEMPatchDiagnosis::hasDuplicateNodes ( ) const
inline

Returns whether 'Duplicate nodes' errors were found.

Definition at line 40 of file WEMPatchDiagnosis.h.

◆ hasHoles()

bool ml::WEMPatchDiagnosis::hasHoles ( ) const
inline

Returns whether Get 'Holes' errors were found.

Definition at line 44 of file WEMPatchDiagnosis.h.

◆ hasNonCloseableHoles()

bool ml::WEMPatchDiagnosis::hasNonCloseableHoles ( ) const
inline

Returns whether 'Non-closeable holes' errors were found.

Definition at line 48 of file WEMPatchDiagnosis.h.

◆ isInverted()

bool ml::WEMPatchDiagnosis::isInverted ( ) const
inline

Returns whether the patch is inverted.

Definition at line 52 of file WEMPatchDiagnosis.h.

◆ isOk()

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

Returns whether the patch is ok.

Definition at line 64 of file WEMPatchDiagnosis.h.

◆ numDuplicateNodes()

int ml::WEMPatchDiagnosis::numDuplicateNodes ( ) const
inline

Returns whether 'Get amount of duplicate nodes' errors were found.

Definition at line 42 of file WEMPatchDiagnosis.h.

◆ numErrors()

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

Returns the number of errors.

Definition at line 59 of file WEMPatchDiagnosis.h.

◆ numFatals()

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

Returns the number of fatals.

Definition at line 61 of file WEMPatchDiagnosis.h.

◆ numHoles()

int ml::WEMPatchDiagnosis::numHoles ( ) const
inline

Returns the number of found holes.

Definition at line 46 of file WEMPatchDiagnosis.h.

◆ numNonCloseableHoles()

int ml::WEMPatchDiagnosis::numNonCloseableHoles ( ) const
inline

Returns the number of non-closeable holes.

Definition at line 50 of file WEMPatchDiagnosis.h.

◆ numNotices()

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

Returns the number of notices.

Definition at line 55 of file WEMPatchDiagnosis.h.

◆ numWarnings()

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

Returns the number of warnings.

Definition at line 57 of file WEMPatchDiagnosis.h.

Member Data Documentation

◆ message

std::string ml::WEMPatchDiagnosis::message

Stuff used by SoWEMDiagnosis.

Short error message.

Definition at line 82 of file WEMPatchDiagnosis.h.

◆ selected

bool ml::WEMPatchDiagnosis::selected

Is the node selected.

Definition at line 84 of file WEMPatchDiagnosis.h.


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