Classes | Functions

OpenTissue::detail Namespace Reference

Classes

class  T4GPUScan

Functions

template<typename surface_mesh , typename volume_mesh , typename point_container , typename lut_container >
void compute_obb_shell (surface_mesh &surface, double const &thickness, volume_mesh &shell, point_container &points, lut_container &lut)

Function Documentation

template<typename surface_mesh , typename volume_mesh , typename point_container , typename lut_container >
void OpenTissue::detail::compute_obb_shell ( surface_mesh &  surface,
double const &  thickness,
volume_mesh &  shell,
point_container points,
lut_container &  lut 
) [inline]

Simple Tetrahedral Shell Generation Function. This shell function is based on fitting an enclosing obb around each triangular face.

Parameters:
surface The surface mesh.
thickness The extrusion thickness along surface normals.
shell Upon return contains the topology of the generated tetrahedral mesh.
points Upon return contains the coordinates of the tetrahedron nodes.
lut Upon return contains a tetrahedron to face pointer lookup up table. Example types could be

typedef std::map<int,face_type *> lut_container; typedef std::vector<face_type *> lut_container;