MeVisLabToolboxReference
|
Defines the mesh component: edge. More...
#include <WEMEdge.h>
Public Member Functions | |
WEMEdge () | |
Standard constructor. | |
WEMEdge (const WEMEdge &e) | |
Copy constructor. | |
virtual | ~WEMEdge () |
Standard destructor. | |
void | clone (WEMEdge *e) |
Clones given edge. | |
WEMNode * | getHead () |
Returns head node. | |
const WEMNode * | getHead () const |
Returns head node. | |
void | setHead (WEMNode *head) |
Sets head node. | |
WEMNode * | getTail () |
Returns tail node. | |
const WEMNode * | getTail () const |
Returns tail node. | |
void | setTail (WEMNode *tail) |
Sets tail node. | |
WEMFace * | getLFace () |
Returns left face. | |
const WEMFace * | getLFace () const |
Returns left face. | |
void | setLFace (WEMFace *lFace) |
Sets left face. | |
WEMFace * | getRFace () |
Returns right face. | |
const WEMFace * | getRFace () const |
Returns right face. | |
void | setRFace (WEMFace *rFace) |
Sets right face. | |
WEMTriangle * | getLTriangle () |
Returns left face as triangle. | |
const WEMTriangle * | getLTriangle () const |
Returns left face as triangle. | |
WEMTriangle * | getRTriangle () |
Returns right face as triangle. | |
const WEMTriangle * | getRTriangle () const |
Returns right face as triangle. | |
WEMTriangle * | getOther (WEMTriangle *triangle) |
Returns other face. | |
const WEMTriangle * | getOther (WEMTriangle *triangle) const |
Returns other face. | |
WEMEdge * | getLPred () |
Returns lPred. | |
const WEMEdge * | getLPred () const |
Returns lPred. | |
void | setLPred (WEMEdge *lPred) |
Sets lPred. | |
WEMEdge * | getLSucc () |
Returns lSucc. | |
const WEMEdge * | getLSucc () const |
Returns lSucc. | |
void | setLSucc (WEMEdge *lSucc) |
Sets lSucc. | |
WEMEdge * | getRPred () |
Returns rPred. | |
const WEMEdge * | getRPred () const |
Returns rPred. | |
void | setRPred (WEMEdge *rPred) |
Sets rPred. | |
WEMEdge * | getRSucc () |
Returns rSucc. | |
const WEMEdge * | getRSucc () const |
Returns rSucc. | |
void | setRSucc (WEMEdge *rSucc) |
Sets rSucc. | |
double | getLength () const |
Computes the length of edge. | |
bool | contains (WEMNode *node) const |
Returns whether this edges contains the given node. | |
WEMNode * | getOther (WEMNode *node) |
Returns other node. | |
const WEMNode * | getOther (WEMNode *node) const |
Returns other node. | |
WEMFace * | getOther (WEMFace *face) |
Returns other face. | |
const WEMFace * | getOther (WEMFace *face) const |
Returns other face. | |
bool | isBoundary () const |
Returns whether this is edge is a boundary edge. | |
void | replace (WEMEdge *orig, WEMEdge *replacement) |
Replaces the pointer orig by replacement to an edge. | |
void | replace (WEMNode *orig, WEMNode *replacement) |
Replaces the pointer orig by replacement to a node. | |
void | replace (WEMFace *orig, WEMFace *replacement) |
Replaces the pointer orig by replacement to a face. | |
double | getDihedralAngle () const |
Computes and returns the edge's dihedral angle. | |
double | getDotAngle () const |
Calculates angle between two incident faces Only return dot product result for speed. |
ml::WEMEdge::WEMEdge | ( | ) |
Standard constructor.
ml::WEMEdge::WEMEdge | ( | const WEMEdge & | e | ) |
Copy constructor.
virtual ml::WEMEdge::~WEMEdge | ( | ) | [virtual] |
Standard destructor.
void ml::WEMEdge::clone | ( | WEMEdge * | e | ) |
Clones given edge.
bool ml::WEMEdge::contains | ( | WEMNode * | node | ) | const |
Returns whether this edges contains the given node.
double ml::WEMEdge::getDihedralAngle | ( | ) | const |
Computes and returns the edge's dihedral angle.
That is the angle between its incident faces. The returned angle value is in measured in degrees.
double ml::WEMEdge::getDotAngle | ( | ) | const |
Calculates angle between two incident faces Only return dot product result for speed.
WEMNode* ml::WEMEdge::getHead | ( | ) | [inline] |
const WEMNode* ml::WEMEdge::getHead | ( | ) | const [inline] |
double ml::WEMEdge::getLength | ( | ) | const |
Computes the length of edge.
WEMFace* ml::WEMEdge::getLFace | ( | ) | [inline] |
const WEMFace* ml::WEMEdge::getLFace | ( | ) | const [inline] |
Returns left face.
Definition at line 55 of file WEMEdge.h.
References getLFace().
Referenced by getLFace().
const WEMEdge* ml::WEMEdge::getLPred | ( | ) | const [inline] |
Returns lPred.
Definition at line 81 of file WEMEdge.h.
References getLPred().
Referenced by getLPred().
const WEMEdge* ml::WEMEdge::getLSucc | ( | ) | const [inline] |
Returns lSucc.
Definition at line 87 of file WEMEdge.h.
References getLSucc().
Referenced by getLSucc().
WEMTriangle* ml::WEMEdge::getLTriangle | ( | ) | [inline] |
const WEMTriangle* ml::WEMEdge::getLTriangle | ( | ) | const [inline] |
Returns left face as triangle.
Definition at line 67 of file WEMEdge.h.
References getLTriangle().
Referenced by getLTriangle().
Returns other face.
Definition at line 114 of file WEMEdge.h.
References getOther().
Referenced by getOther().
Returns other node.
Definition at line 110 of file WEMEdge.h.
References getOther().
Referenced by getOther().
WEMTriangle* ml::WEMEdge::getOther | ( | WEMTriangle * | triangle | ) |
Returns other face.
const WEMTriangle* ml::WEMEdge::getOther | ( | WEMTriangle * | triangle | ) | const [inline] |
Returns other face.
Definition at line 76 of file WEMEdge.h.
References getOther().
Referenced by getOther().
WEMFace* ml::WEMEdge::getRFace | ( | ) | [inline] |
const WEMFace* ml::WEMEdge::getRFace | ( | ) | const [inline] |
Returns right face.
Definition at line 61 of file WEMEdge.h.
References getRFace().
Referenced by getRFace().
const WEMEdge* ml::WEMEdge::getRPred | ( | ) | const [inline] |
Returns rPred.
Definition at line 93 of file WEMEdge.h.
References getRPred().
Referenced by getRPred().
const WEMEdge* ml::WEMEdge::getRSucc | ( | ) | const [inline] |
Returns rSucc.
Definition at line 99 of file WEMEdge.h.
References getRSucc().
Referenced by getRSucc().
WEMTriangle* ml::WEMEdge::getRTriangle | ( | ) | [inline] |
const WEMTriangle* ml::WEMEdge::getRTriangle | ( | ) | const [inline] |
Returns right face as triangle.
Definition at line 71 of file WEMEdge.h.
References getRTriangle().
Referenced by getRTriangle().
WEMNode* ml::WEMEdge::getTail | ( | ) | [inline] |
const WEMNode* ml::WEMEdge::getTail | ( | ) | const [inline] |
bool ml::WEMEdge::isBoundary | ( | ) | const [inline] |
Replaces the pointer orig
by replacement
to a face.
Replaces the pointer orig
by replacement
to an edge.
Replaces the pointer orig
by replacement
to a node.
void ml::WEMEdge::setHead | ( | WEMNode * | head | ) | [inline] |
void ml::WEMEdge::setLFace | ( | WEMFace * | lFace | ) | [inline] |
void ml::WEMEdge::setLPred | ( | WEMEdge * | lPred | ) | [inline] |
void ml::WEMEdge::setLSucc | ( | WEMEdge * | lSucc | ) | [inline] |
void ml::WEMEdge::setRFace | ( | WEMFace * | rFace | ) | [inline] |
void ml::WEMEdge::setRPred | ( | WEMEdge * | rPred | ) | [inline] |
void ml::WEMEdge::setRSucc | ( | WEMEdge * | rSucc | ) | [inline] |
void ml::WEMEdge::setTail | ( | WEMNode * | tail | ) | [inline] |