Public Member Functions | Protected Member Functions | Protected Attributes

MeshLib::CDynamicMesh< V, E, F, H > Class Template Reference

CDynamicMesh class : Dynamic mesh. More...

#include <DynamicMesh.h>

Inheritance diagram for MeshLib::CDynamicMesh< V, E, F, H >:
Inheritance graph
[legend]
Collaboration diagram for MeshLib::CDynamicMesh< V, E, F, H >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CDynamicMesh ()
 ~CDynamicMesh ()
V * splitFace (F *pFace)
V * splitEdge (E *pEdge)
void swapEdge (E *edge)

Protected Member Functions

void __attach_halfedge_to_edge (H *he0, H *he1, E *e)

Protected Attributes

int m_vertex_id
int m_face_id

Detailed Description

template<typename V, typename E, typename F, typename H>
class MeshLib::CDynamicMesh< V, E, F, H >

CDynamicMesh class : Dynamic mesh.

Mesh supports FaceSlit, EdgeSlit, EdgeSwap operations

Definition at line 36 of file DynamicMesh.h.


Constructor & Destructor Documentation

template<typename V , typename E , typename F , typename H >
MeshLib::CDynamicMesh< V, E, F, H >::CDynamicMesh (  )  [inline]

CDynamicMesh constructor

Definition at line 40 of file DynamicMesh.h.

{ m_vertex_id = 0; m_face_id = 0; };

template<typename V , typename E , typename F , typename H >
MeshLib::CDynamicMesh< V, E, F, H >::~CDynamicMesh (  ) 

CDynamicMesh destructor

Definition at line 73 of file DynamicMesh.h.

{
}


Member Function Documentation

template<typename V , typename E , typename F , typename H >
void MeshLib::CDynamicMesh< V, E, F, H >::__attach_halfedge_to_edge ( H *  he0,
H *  he1,
E *  e 
) [protected]

attach halfeges to an edge

Parameters:
he0,he1 the halfedges
e edge
template<typename V , typename E , typename F , typename H >
V* MeshLib::CDynamicMesh< V, E, F, H >::splitEdge ( E *  pEdge  ) 

Split one edge to two edges

Parameters:
pEdge the edge to be split
template<typename V , typename E , typename F , typename H >
V* MeshLib::CDynamicMesh< V, E, F, H >::splitFace ( F *  pFace  ) 

Split a Face to three small faces

Parameters:
pFace the face to be split
template<typename V , typename E , typename F , typename H >
void MeshLib::CDynamicMesh< V, E, F, H >::swapEdge ( E *  edge  ) 

Swap an edge

Parameters:
edge the edge to be swapped

Member Data Documentation

template<typename V , typename E , typename F , typename H >
int MeshLib::CDynamicMesh< V, E, F, H >::m_face_id [protected]

next face id

Definition at line 67 of file DynamicMesh.h.

template<typename V , typename E , typename F , typename H >
int MeshLib::CDynamicMesh< V, E, F, H >::m_vertex_id [protected]

next vertex id

Definition at line 65 of file DynamicMesh.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Defines