Namespaces |
namespace | aabb_tree |
namespace | animation |
namespace | bvh |
namespace | cg |
namespace | collision |
namespace | containers |
namespace | detail |
namespace | edm |
namespace | fem |
namespace | function |
namespace | geometry |
namespace | gjk |
namespace | gl |
namespace | glut |
namespace | grid |
namespace | image |
namespace | image_analysis |
namespace | interpolation |
namespace | intersect |
namespace | kinematics |
namespace | math |
namespace | mbd |
namespace | mesh |
namespace | meshless_deformation |
namespace | noise |
namespace | obb_tree |
namespace | polymesh |
namespace | psys |
namespace | scan_conversion |
namespace | sdf |
namespace | skeleton |
namespace | skinning |
namespace | spatial_hashing |
namespace | sph |
namespace | spline |
namespace | swe |
namespace | t4mesh |
namespace | texture |
namespace | trimesh |
namespace | utility |
namespace | vclip |
namespace | versatile |
namespace | volume_rendering |
Classes |
struct | t4_cpu_unsigned |
struct | t4_cpu_signed |
struct | t4_gpu_unsigned |
struct | t4_gpu_signed |
Functions |
template<typename surface_mesh , typename grid_type > |
void | t4_cpu_scan (surface_mesh &surface, double const &thickness, grid_type &phi, t4_cpu_signed const &) |
template<typename surface_mesh , typename grid_type > |
void | t4_cpu_scan (surface_mesh &surface, double const &thickness, grid_type &phi, t4_cpu_unsigned const &) |
template<typename surface_mesh , typename grid_type > |
bool | t4_gpu_scan (surface_mesh &surface, double const &thickness, grid_type &phi) |
template<typename surface_mesh , typename grid_type > |
bool | t4_gpu_scan (surface_mesh &surface, double const &thickness, grid_type &phi, t4_gpu_signed const &) |
template<typename surface_mesh , typename grid_type > |
bool | t4_gpu_scan (surface_mesh &surface, double const &thickness, grid_type &phi, t4_gpu_unsigned const &) |
Detailed Description
Main SPH include file. Recursively includes required headers.
Function Documentation
template<typename surface_mesh , typename grid_type >
void OpenTissue::t4_cpu_scan |
( |
surface_mesh & |
surface, |
|
|
double const & |
thickness, |
|
|
grid_type & |
phi, |
|
|
t4_cpu_signed const & |
| |
|
) |
| | [inline] |
CPU Signed Distance Field Computation.
- Parameters:
-
| surface | A surface mesh, used to generate the distance field from. |
| thickness | An offset parameter, describing the extent of the generated distance field along vertex normals (not the same as face normals!). |
| phi | Upon return holds the generated distance field. |
template<typename surface_mesh , typename grid_type >
void OpenTissue::t4_cpu_scan |
( |
surface_mesh & |
surface, |
|
|
double const & |
thickness, |
|
|
grid_type & |
phi, |
|
|
t4_cpu_unsigned const & |
| |
|
) |
| | [inline] |
CPU Unsgined Distance Field Computation.
- Parameters:
-
| surface | A surface mesh, used to generate the distance field from. |
| thickness | An offset parameter, describing the extent of the generated distance field along vertex normals (not the same as face normals!). |
| phi | Upon return holds the generated distance field. |
template<typename surface_mesh , typename grid_type >
bool OpenTissue::t4_gpu_scan |
( |
surface_mesh & |
surface, |
|
|
double const & |
thickness, |
|
|
grid_type & |
phi, |
|
|
t4_gpu_signed const & |
| |
|
) |
| | [inline] |
Signed GPU Distance Field Computation.
- Parameters:
-
| unsigned | A dispatcher tag used to select the unsigned version. |
template<typename surface_mesh , typename grid_type >
bool OpenTissue::t4_gpu_scan |
( |
surface_mesh & |
surface, |
|
|
double const & |
thickness, |
|
|
grid_type & |
phi | |
|
) |
| | [inline] |
Default GPU Distance Field Computation. This will compue a signed distance field by default.
- Parameters:
-
| mesh | A surface mesh, used to generate the distance field from. |
| thickness | An offset parameter, describing the extent of the generated distance field along vertex normals (not the same as face normals!). |
| phi | Upon return holds the generated distance field. |
- Returns:
- If computation succeded then the return value is true otherwise it is false.
template<typename surface_mesh , typename grid_type >
bool OpenTissue::t4_gpu_scan |
( |
surface_mesh & |
surface, |
|
|
double const & |
thickness, |
|
|
grid_type & |
phi, |
|
|
t4_gpu_unsigned const & |
| |
|
) |
| | [inline] |
Unsigned GPU Distance Field Computation.
- Parameters:
-
| unsigned | A dispatcher tag used to select the unsigned version. |