ml::WEMFaceCut Class Reference

Helper class for performing a cutting on a face. More...

#include <WEMFaceCut.h>

List of all members.

Public Member Functions

 WEMFaceCut ()
 Standard constructor.
 ~WEMFaceCut ()
 Standard destructor.
void clear ()
 Clear function.
int getType () const
 Get type.
Vector3 getEntryPosition () const
 Get entry position.
Vector3 getExitPosition () const
 Get exit position.
int getEntryEdgeIndex () const
 Get entry edge index.
int getExitEdgeIndex () const
 Get exit edge index.
int getEntryFaceIndex () const
 Get entry face index.
int getExitFaceIndex () const
 Get exit face index.
bool isTraversed () const
 Is faceCut traversed.
bool isValid () const
 Is faceCut valid.
bool isContinuable (int edgeIndex, int degenerateEdgeIndex) const
 Can the face cut be continued?
bool isContinuable (Vector3 position) const
 Can the face cut (stab) be continued?
bool isStabClosed (Vector3 position) const
 Is stab closed?
void setType (int type)
 Set type.
void checkSameEdge ()
 Update type to SAME_EDGE if entry and exit edge are the same.
void setEntry (Vector3 position, int edgeIndex, int faceIndex)
 Set entry.
void setExit (Vector3 position, int edgeIndex, int faceIndex)
 Set exit.
void addIntermediatePoint (Vector3 position, int entryNumber, int degenerateEntryNumber)
 Adds a new intermediate point.
void setTraversed (bool traversed)
 Set traversed flag.
void setValid (bool valid)
 Set valid flag.

Public Attributes

std::vector< Vector3intermediatePoints
 Intermediate points.
std::vector< int > intermediateEdgeEntryNumbers
 Intermediate edge entry numbers.
std::vector< int > intermediateDegenerateEdgeEntryNumbers
 Intermediate degenerate edge entry numbers.


Detailed Description

Helper class for performing a cutting on a face.

Definition at line 30 of file WEMFaceCut.h.


Constructor & Destructor Documentation

ml::WEMFaceCut::WEMFaceCut (  ) 

Standard constructor.

ml::WEMFaceCut::~WEMFaceCut (  ) 

Standard destructor.


Member Function Documentation

void ml::WEMFaceCut::addIntermediatePoint ( Vector3  position,
int  entryNumber,
int  degenerateEntryNumber 
)

Adds a new intermediate point.

void ml::WEMFaceCut::checkSameEdge (  ) 

Update type to SAME_EDGE if entry and exit edge are the same.

void ml::WEMFaceCut::clear (  ) 

Clear function.

int ml::WEMFaceCut::getEntryEdgeIndex (  )  const [inline]

Get entry edge index.

Definition at line 48 of file WEMFaceCut.h.

int ml::WEMFaceCut::getEntryFaceIndex (  )  const [inline]

Get entry face index.

Definition at line 52 of file WEMFaceCut.h.

Vector3 ml::WEMFaceCut::getEntryPosition (  )  const [inline]

Get entry position.

Definition at line 44 of file WEMFaceCut.h.

int ml::WEMFaceCut::getExitEdgeIndex (  )  const [inline]

Get exit edge index.

Definition at line 50 of file WEMFaceCut.h.

int ml::WEMFaceCut::getExitFaceIndex (  )  const [inline]

Get exit face index.

Definition at line 54 of file WEMFaceCut.h.

Vector3 ml::WEMFaceCut::getExitPosition (  )  const [inline]

Get exit position.

Definition at line 46 of file WEMFaceCut.h.

int ml::WEMFaceCut::getType (  )  const [inline]

Get type.

Definition at line 42 of file WEMFaceCut.h.

bool ml::WEMFaceCut::isContinuable ( Vector3  position  )  const

Can the face cut (stab) be continued?

bool ml::WEMFaceCut::isContinuable ( int  edgeIndex,
int  degenerateEdgeIndex 
) const

Can the face cut be continued?

bool ml::WEMFaceCut::isStabClosed ( Vector3  position  )  const

Is stab closed?

bool ml::WEMFaceCut::isTraversed (  )  const [inline]

Is faceCut traversed.

Definition at line 56 of file WEMFaceCut.h.

bool ml::WEMFaceCut::isValid ( void   )  const [inline]

Is faceCut valid.

Definition at line 58 of file WEMFaceCut.h.

void ml::WEMFaceCut::setEntry ( Vector3  position,
int  edgeIndex,
int  faceIndex 
)

Set entry.

void ml::WEMFaceCut::setExit ( Vector3  position,
int  edgeIndex,
int  faceIndex 
)

Set exit.

void ml::WEMFaceCut::setTraversed ( bool  traversed  )  [inline]

Set traversed flag.

Definition at line 78 of file WEMFaceCut.h.

void ml::WEMFaceCut::setType ( int  type  )  [inline]

Set type.

Definition at line 68 of file WEMFaceCut.h.

void ml::WEMFaceCut::setValid ( bool  valid  )  [inline]

Set valid flag.

Definition at line 80 of file WEMFaceCut.h.


Member Data Documentation

Intermediate degenerate edge entry numbers.

Definition at line 87 of file WEMFaceCut.h.

Intermediate edge entry numbers.

Definition at line 85 of file WEMFaceCut.h.

Intermediate points.

Definition at line 83 of file WEMFaceCut.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