ml::WEMFaceDiagnosis Class Reference

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

#include <WEMFaceDiagnosis.h>

List of all members.

Public Member Functions

 WEMFaceDiagnosis (bool hasEdges)
 Standard constructor.
 ~WEMFaceDiagnosis ()
 Standard destructor.
bool hasBadNormalLength () const
 Get errors - Bad normal length.
bool isNeighbourhoodNotSet () const
 Get errors - Neighborhood not set.
bool hasNULLNode () const
 Get errors - NULL node.
bool hasNULLEdge () const
 Get errors - NULL edge.
bool isInvalid () const
 Get errors - Invalid.
bool hasEdgeOffset () const
 Get errors - Edge offset.
bool isConcave () const
 Get errors - Concave.
bool isNormalInverted () const
 Get errors - Normal inverted.
bool hasDoubleEntry () const
 Get errors - Double entry.
bool hasNonConnected () const
 Get errors - Non connected.
bool hasZeroArea () const
 Get errors - Zero area.
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 face ok?
std::string getErrorMessage () const
 Get error message.
int getSeverity () const
 Get severity of errors.
WEMFacegetFace ()
 Get face.
const WEMFacegetFace () const
 Get face.
void checkIntegrity (WEMFace *face)
 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 WEMFace.

Definition at line 30 of file WEMFaceDiagnosis.h.


Constructor & Destructor Documentation

ml::WEMFaceDiagnosis::WEMFaceDiagnosis ( bool  hasEdges  ) 

Standard constructor.

ml::WEMFaceDiagnosis::~WEMFaceDiagnosis (  ) 

Standard destructor.


Member Function Documentation

void ml::WEMFaceDiagnosis::checkIntegrity ( WEMFace face  ) 

Check integrity.

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

Get error message.

Definition at line 77 of file WEMFaceDiagnosis.h.

const WEMFace* ml::WEMFaceDiagnosis::getFace (  )  const [inline]

Get face.

Definition at line 84 of file WEMFaceDiagnosis.h.

WEMFace* ml::WEMFaceDiagnosis::getFace (  )  [inline]

Get face.

Definition at line 82 of file WEMFaceDiagnosis.h.

int ml::WEMFaceDiagnosis::getSeverity (  )  const

Get severity of errors.

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

Get errors - Bad normal length.

Definition at line 41 of file WEMFaceDiagnosis.h.

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

Get errors - Double entry.

Definition at line 57 of file WEMFaceDiagnosis.h.

bool ml::WEMFaceDiagnosis::hasEdgeOffset (  )  const [inline]

Get errors - Edge offset.

Definition at line 51 of file WEMFaceDiagnosis.h.

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

Get errors - Non connected.

Definition at line 59 of file WEMFaceDiagnosis.h.

bool ml::WEMFaceDiagnosis::hasNULLEdge (  )  const [inline]

Get errors - NULL edge.

Definition at line 47 of file WEMFaceDiagnosis.h.

bool ml::WEMFaceDiagnosis::hasNULLNode (  )  const [inline]

Get errors - NULL node.

Definition at line 45 of file WEMFaceDiagnosis.h.

bool ml::WEMFaceDiagnosis::hasZeroArea (  )  const [inline]

Get errors - Zero area.

Definition at line 61 of file WEMFaceDiagnosis.h.

bool ml::WEMFaceDiagnosis::isConcave (  )  const [inline]

Get errors - Concave.

Definition at line 53 of file WEMFaceDiagnosis.h.

bool ml::WEMFaceDiagnosis::isInvalid (  )  const [inline]

Get errors - Invalid.

Definition at line 49 of file WEMFaceDiagnosis.h.

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

Get errors - Neighborhood not set.

Definition at line 43 of file WEMFaceDiagnosis.h.

bool ml::WEMFaceDiagnosis::isNormalInverted (  )  const [inline]

Get errors - Normal inverted.

Definition at line 55 of file WEMFaceDiagnosis.h.

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

Is face ok?

Definition at line 73 of file WEMFaceDiagnosis.h.

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

Get number of errors.

Definition at line 68 of file WEMFaceDiagnosis.h.

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

Get number of fatals.

Definition at line 70 of file WEMFaceDiagnosis.h.

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

Get number of notices.

Definition at line 64 of file WEMFaceDiagnosis.h.

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

Get number of warnings.

Definition at line 66 of file WEMFaceDiagnosis.h.


Member Data Documentation

Stuff used by SoWEMDiagnosis.

Short error message.

Definition at line 91 of file WEMFaceDiagnosis.h.

Is the node selected.

Definition at line 93 of file WEMFaceDiagnosis.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