ml::WEMNodeDiagnosis Class Reference

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

#include <WEMNodeDiagnosis.h>

List of all members.

Public Member Functions

 WEMNodeDiagnosis (bool hasEdges)
 Standard constructor.
 ~WEMNodeDiagnosis ()
 Standard destructor.
bool hasDoubleEntry () const
 Get errors - Double entry.
bool hasNonConnected () const
 Get errors - Non connected.
bool isBoundary () const
 Get errors - Boundary.
bool isOrphan () const
 Get errors - Orphan.
bool isRedundant () const
 Get errors - Redundant.
bool isCollinear () const
 Get errors - Collinear.
bool hasBadNormalLength () const
 Get errors - Bad normal length.
bool isDeadEnd () const
 Get errors - Dead end.
bool isFlatRegion () const
 Get errors - Flat region.
bool isNeighbourhoodNotSet () const
 Get errors - Neighborhood not set.
bool hasValence3 () const
 Get errors - Node valence 3 with 3 triangles.
int numNotices () const
 Get number of notices.
int numWarnings () const
 Get number of warnings.
int numErrors () const
 Get number of errors.
int numFatals () const
 Get number of fatals.
bool isOk () const
 Is node ok?
std::string getErrorMessage () const
 Get error message.
int getSeverity () const
 Get severity of errors.
WEMNodegetNode ()
 Get node.
const WEMNodegetNode () const
 Get node.
void checkIntegrity (WEMNode *node)
 Check integrity.

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

ml::WEMNodeDiagnosis::WEMNodeDiagnosis ( bool  hasEdges  ) 

Standard constructor.

ml::WEMNodeDiagnosis::~WEMNodeDiagnosis (  ) 

Standard destructor.


Member Function Documentation

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

Check integrity.

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

Get error message.

Definition at line 77 of file WEMNodeDiagnosis.h.

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

Get node.

Definition at line 84 of file WEMNodeDiagnosis.h.

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

Get node.

Definition at line 82 of file WEMNodeDiagnosis.h.

int ml::WEMNodeDiagnosis::getSeverity (  )  const

Get severity of errors.

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

Get errors - Bad normal length.

Definition at line 53 of file WEMNodeDiagnosis.h.

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

Get errors - Double entry.

Definition at line 41 of file WEMNodeDiagnosis.h.

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

Get errors - Non connected.

Definition at line 43 of file WEMNodeDiagnosis.h.

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

Get errors - Node valence 3 with 3 triangles.

Definition at line 61 of file WEMNodeDiagnosis.h.

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

Get errors - Boundary.

Definition at line 45 of file WEMNodeDiagnosis.h.

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

Get errors - Collinear.

Definition at line 51 of file WEMNodeDiagnosis.h.

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

Get errors - Dead end.

Definition at line 55 of file WEMNodeDiagnosis.h.

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

Get errors - Flat region.

Definition at line 57 of file WEMNodeDiagnosis.h.

bool ml::WEMNodeDiagnosis::isNeighbourhoodNotSet (  )  const [inline]

Get errors - Neighborhood not set.

Definition at line 59 of file WEMNodeDiagnosis.h.

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

Is node ok?

Definition at line 73 of file WEMNodeDiagnosis.h.

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

Get errors - Orphan.

Definition at line 47 of file WEMNodeDiagnosis.h.

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

Get errors - Redundant.

Definition at line 49 of file WEMNodeDiagnosis.h.

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

Get number of errors.

Definition at line 68 of file WEMNodeDiagnosis.h.

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

Get number of fatals.

Definition at line 70 of file WEMNodeDiagnosis.h.

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

Get number of notices.

Definition at line 64 of file WEMNodeDiagnosis.h.

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

Get number of warnings.

Definition at line 66 of file WEMNodeDiagnosis.h.


Member Data Documentation

Stuff used by SoWEMDiagnosis.

Short error message.

Definition at line 91 of file WEMNodeDiagnosis.h.

Is the node selected.

Definition at line 93 of file WEMNodeDiagnosis.h.


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

Generated on Sat Sep 3 18:39:41 2011 for MeVisLab Toolbox Reference by  doxygen 1.5.8