#include <skinning_sbs.h>
Public Types | |
typedef int | no_gpu_support |
typedef types::matrix3x3_type | matrix3x3_type |
typedef types::quaternion_type | quaternion_type |
typedef types::vector3_type | vector3_type |
typedef types::real_type | real_type |
typedef trimesh::TriMesh < types, SkinVertexTraits < types >, SkinFaceTraits < types > , OpenTissue::trimesh::TriMeshArrayKernel > | base_mesh |
Public Member Functions | |
SBS () | |
bool | empty () const |
template<typename skeleton_type , typename skin_container_type > | |
void | update (skeleton_type &skeleton, skin_container_type &scont) |
Static Public Member Functions | |
template<typename skin_container_type > | |
static void | init_skin_render (skin_container_type &scont) |
template<typename skin_container_type > | |
static void | cleanup_skin_render (skin_container_type &scont) |
template<typename skin_container_type > | |
static void | pre_render (skin_container_type &scont) |
template<typename skin_container_type > | |
static void | post_render (skin_container_type &scont) |
Public Attributes | |
int | m_material_idx |
typedef trimesh::TriMesh<types, SkinVertexTraits<types>, SkinFaceTraits<types>, OpenTissue::trimesh::TriMeshArrayKernel > OpenTissue::skinning::SBS< types >::base_mesh |
typedef types::matrix3x3_type OpenTissue::skinning::SBS< types >::matrix3x3_type |
typedef int OpenTissue::skinning::SBS< types >::no_gpu_support |
typedef types::quaternion_type OpenTissue::skinning::SBS< types >::quaternion_type |
typedef types::real_type OpenTissue::skinning::SBS< types >::real_type |
typedef types::vector3_type OpenTissue::skinning::SBS< types >::vector3_type |
OpenTissue::skinning::SBS< types >::SBS | ( | ) | [inline] |
static void OpenTissue::skinning::SBS< types >::cleanup_skin_render | ( | skin_container_type & | scont | ) | [inline, static] |
bool OpenTissue::skinning::SBS< types >::empty | ( | ) | const [inline] |
static void OpenTissue::skinning::SBS< types >::init_skin_render | ( | skin_container_type & | scont | ) | [inline, static] |
static void OpenTissue::skinning::SBS< types >::post_render | ( | skin_container_type & | scont | ) | [inline, static] |
static void OpenTissue::skinning::SBS< types >::pre_render | ( | skin_container_type & | scont | ) | [inline, static] |
void OpenTissue::skinning::SBS< types >::update | ( | skeleton_type & | skeleton, | |
skin_container_type & | scont | |||
) | [inline] |
Prepare skin for visualization.
NOTE: A skin mesh is living in bone-space!
skeleton | The skeleton containing the bone space transforms that is used to place sking correctly in the world. |
int OpenTissue::skinning::SBS< types >::m_material_idx |