Classes | Functions

OpenTissue::t4mesh::mesh_coupling Namespace Reference

Classes

class  collision_policy

Functions

template<typename surface_mesh , typename volume_mesh , typename point_container , typename index_container >
void bind_surface (surface_mesh &M, volume_mesh &V, point_container &barycentric, index_container &bind_indices)
template<typename surface_mesh , typename volume_mesh , typename point_container , typename index_container >
void update_surface (surface_mesh &M, volume_mesh &V, point_container const &barycentric, index_container const &bind_info)

Function Documentation

template<typename surface_mesh , typename volume_mesh , typename point_container , typename index_container >
void OpenTissue::t4mesh::mesh_coupling::bind_surface ( surface_mesh &  M,
volume_mesh &  V,
point_container barycentric,
index_container &  bind_indices 
)

Bind Mesh Surface to t4mesh.

Parameters:
M A surface mesh that should be bound to a volume mesh.
V A T4Mesh it is implicitly assumed that node traits have a real_type and vector3_type (these are defined in the default node traits).
template<typename surface_mesh , typename volume_mesh , typename point_container , typename index_container >
void OpenTissue::t4mesh::mesh_coupling::update_surface ( surface_mesh &  M,
volume_mesh &  V,
point_container const &  barycentric,
index_container const &  bind_info 
)

Update Surface Mesh.

Parameters:
M A surface mesh that is bound to a volume mesh.
V The volume mesh that the surface is bound to. It is implicitly assumed that the node traits define a real_type and vector3_type ((these are defined in the default node traits).
barycentric 
bind_info