Volume Medical Manipulation Toolkit 2.0
|
Public Member Functions | |
Loop * | getOuterL (const VertexID a, const VertexID b, const VertexID c) |
Loop * | getOuterLoop (const VertexID a, const VertexID b, const VertexID c) |
void | getV (int ID, Vertex *vt) |
int | is_external (deque< Store_loop * > last_loop, HalfEdge *prev_half, HalfEdge *next_half) |
VertexID | addVertex (const VertexID ID, void *ptr) |
int | setVGeomPtr (const VertexID a, void *ptr) |
void * | getVGeomPtr (const VertexID a) |
void | getVVertices (const VertexID v, vector< void * > *list) |
void | getVVertices (const VertexID v, vector< VertexID > *list) |
void | getVFaces (const VertexID v, vector< FaceID > *list) |
void | getVFaces (const VertexID v, vector< void * > *list) |
void | getBorderVertices (vector< VertexID > *list) |
void | getBorderVertices (vector< void * > *list) |
EdgeID | addEdge (const EdgeID ID, VertexID a, VertexID b, void *ptr) |
FaceID | addTriangle (const LoopID ID, const VertexID a, const VertexID b, const VertexID c, void *ptr) |
int | setFGeomPtr (const FaceID f, void *ptr) |
void * | getFGeomPtr (const FaceID a) |
HalfEdge * | SameFace (HalfEdge *h) |
VertexID | Reduce (const FaceID ID, const VertexID vID, void *ptr) |
VertexID | Reduce3 (const FaceID ID, const VertexID vID, void *ptr) |
Vertex * | half_collapse (HalfEdge *half) |
int | Point_Border (HalfEdge *half) |
int | eliminate_edge (HalfEdge *half) |
int | eliminate_face (HalfEdge *half) |
HalfEdge * | change_origin (HalfEdge *half, HalfEdge *halfFace) |
HalfEdge * | change_origin (HalfEdge *half) |
VertexID | ReduceTriangleToPointL (const FaceID ID, const VertexID vID, void *ptr) |
Vertex * | JoinVertices (HalfEdge *half, int close_ID) |
void | ChangeOrigin (HalfEdge **half) |
VertexID | ReduceTriangleToPoint (const FaceID f, const VertexID vID, void *ptr) |
void | getFAdjacentFacesPerEdge (const FaceID f, vector< FaceID > *list) |
void | getFAdjacentFacesPerEdge (const FaceID f, vector< void * > *list) |
void | getFOneRingVertices (const FaceID f, vector< VertexID > *list) |
void | getFVertices (const FaceID f, vector< void * > *list) |
void | getFVertices (const FaceID f, vector< VertexID > *list) |
int | numVertices () const |
void | getAllVertices (vector< VertexID > *list) |
signed char | isVOnBoundary (const VertexID v) |
int | numEdges () const |
EdgeID | getEdge (const VertexID a, const VertexID b) |
int | numCycles () |
void | getAllCycles (vector< CycleID > *list) |
void | getCVertices (const CycleID f, vector< void * > *list) |
void | getCVertices (const CycleID f, vector< VertexID > *list) |
bool | isOuterLoop (const CycleID ID) |
bool | removeDummyCycle (const CycleID ID) |
int | numFaces () |
void | getAllFaces (vector< FaceID > *list) |
FaceID | getFace (const VertexID a, const VertexID b) |
int | haveFDistinctAdjacentTrianglesPerEdge (const FaceID f) |
This function only works for triangular meshes. | |
bool | existFace (const FaceID f) |
void | RemoveDegeneratedTriangles () |
signed char | isFOnBoundary (const FaceID f) |
void | removeMesh () |
Public Attributes | |
Loop * | _outer_loop |
map< int, Loop * > | loops |
map< int, Loop * >::iterator | lIterator |
VertexID Mesh::ReduceTriangleToPoint | ( | const FaceID | f, |
const VertexID | vID, | ||
void * | ptr | ||
) |
Handling vertex degeneracy (1 half-edge)
No edge-adjacent faces
One edge-adjacent face
Two edge-adjacent faces
Three edge-adjacent faces