#include <skinning_lbs.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 | |
LBS () | |
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::LBS< types >::base_mesh |
typedef types::matrix3x3_type OpenTissue::skinning::LBS< types >::matrix3x3_type |
typedef int OpenTissue::skinning::LBS< types >::no_gpu_support |
typedef types::quaternion_type OpenTissue::skinning::LBS< types >::quaternion_type |
typedef types::real_type OpenTissue::skinning::LBS< types >::real_type |
typedef types::vector3_type OpenTissue::skinning::LBS< types >::vector3_type |
OpenTissue::skinning::LBS< types >::LBS | ( | ) | [inline] |
static void OpenTissue::skinning::LBS< types >::cleanup_skin_render | ( | skin_container_type & | scont | ) | [inline, static] |
bool OpenTissue::skinning::LBS< types >::empty | ( | ) | const [inline] |
static void OpenTissue::skinning::LBS< types >::init_skin_render | ( | skin_container_type & | scont | ) | [inline, static] |
static void OpenTissue::skinning::LBS< types >::post_render | ( | skin_container_type & | scont | ) | [inline, static] |
static void OpenTissue::skinning::LBS< types >::pre_render | ( | skin_container_type & | scont | ) | [inline, static] |
void OpenTissue::skinning::LBS< 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::LBS< types >::m_material_idx |