ml::WEMEdgeOp Class Reference

Helper class for performing swap, split and collapse operations on edges of a WEM. More...

#include <WEMEdgeOp.h>

List of all members.

Public Member Functions

 WEMEdgeOp ()
 Standard constructor.
 ~WEMEdgeOp ()
 Standard destructor.

Static Public Member Functions

static bool checkSwap (WEMTrianglePatch *triPatch, WEMEdge *edge, void *heap=NULL, float maxDihedralAngleNeigh=0.99999331899f)
 Checks if the given edge of the triangle patch can be swapped.
static bool performSwap (WEMTrianglePatch *triPatch, WEMEdge *edge, void *heap=NULL, float maxDihedralAngleNeigh=0.99999331899f)
 Performs a swapping of the edge in a triangle patch. Returns if a swapping was performed.
static bool checkSplit (WEMTrianglePatch *triPatch, WEMEdge *edge, void *heap=NULL, float maxEdgeLength=1.0f)
 Checks if the given edge of the triangle patch can be split.
static WEMNodeperformSplit (WEMTrianglePatch *triPatch, WEMEdge *edge, void *heap=NULL, float maxEdgeLength=1.0f)
 Performs a splitting of the edge in a triangle patch. Returns the node which has been inserted.
static bool checkCollapse (WEMTrianglePatch *triPatch, WEMEdge *edge, void *heap=NULL, float maxDihedralAngleNeigh=0.99999331899f)
 Checks if the given edge in the triangle patch can be collapsed.
static WEMNodeperformCollapse (WEMTrianglePatch *triPatch, WEMEdge *edge, void *heap=NULL, float maxDihedralAngleNeigh=0.99999331899f)
 Performs a collapsing of the given edge in a triangle patch.
static void deleteTetrahedron (WEMTrianglePatch *triPatch, WEMNode *node, void *heap=NULL)
 Deletes a tetrahedron constellation, where the given node is one part of.
static bool deleteNodeWithValenceThree (WEMTrianglePatch *triPatch, WEMNode *node, void *heap=NULL, float maxDihedralAngleNeigh=0.99999331899f)
 Deletes a node with a valence of 3. Returns if the operation was successful.


Detailed Description

Helper class for performing swap, split and collapse operations on edges of a WEM.

All methods accept an optional pointer to an edge-heap which can be maintained by the method.

Definition at line 29 of file WEMEdgeOp.h.


Constructor & Destructor Documentation

ml::WEMEdgeOp::WEMEdgeOp (  ) 

Standard constructor.

ml::WEMEdgeOp::~WEMEdgeOp (  ) 

Standard destructor.


Member Function Documentation

static bool ml::WEMEdgeOp::checkCollapse ( WEMTrianglePatch triPatch,
WEMEdge edge,
void *  heap = NULL,
float  maxDihedralAngleNeigh = 0.99999331899f 
) [static]

Checks if the given edge in the triangle patch can be collapsed.

An optional maximum dihedral angle for the neighboring faces can be given. Default for this is 12 degrees.

static bool ml::WEMEdgeOp::checkSplit ( WEMTrianglePatch triPatch,
WEMEdge edge,
void *  heap = NULL,
float  maxEdgeLength = 1.0f 
) [static]

Checks if the given edge of the triangle patch can be split.

static bool ml::WEMEdgeOp::checkSwap ( WEMTrianglePatch triPatch,
WEMEdge edge,
void *  heap = NULL,
float  maxDihedralAngleNeigh = 0.99999331899f 
) [static]

Checks if the given edge of the triangle patch can be swapped.

static bool ml::WEMEdgeOp::deleteNodeWithValenceThree ( WEMTrianglePatch triPatch,
WEMNode node,
void *  heap = NULL,
float  maxDihedralAngleNeigh = 0.99999331899f 
) [static]

Deletes a node with a valence of 3. Returns if the operation was successful.

static void ml::WEMEdgeOp::deleteTetrahedron ( WEMTrianglePatch triPatch,
WEMNode node,
void *  heap = NULL 
) [static]

Deletes a tetrahedron constellation, where the given node is one part of.

static WEMNode* ml::WEMEdgeOp::performCollapse ( WEMTrianglePatch triPatch,
WEMEdge edge,
void *  heap = NULL,
float  maxDihedralAngleNeigh = 0.99999331899f 
) [static]

Performs a collapsing of the given edge in a triangle patch.

static WEMNode* ml::WEMEdgeOp::performSplit ( WEMTrianglePatch triPatch,
WEMEdge edge,
void *  heap = NULL,
float  maxEdgeLength = 1.0f 
) [static]

Performs a splitting of the edge in a triangle patch. Returns the node which has been inserted.

static bool ml::WEMEdgeOp::performSwap ( WEMTrianglePatch triPatch,
WEMEdge edge,
void *  heap = NULL,
float  maxDihedralAngleNeigh = 0.99999331899f 
) [static]

Performs a swapping of the edge in a triangle patch. Returns if a swapping was performed.


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