#include <skinning_animated_skin.h>
Public Types | |
typedef character_types::skin_part_type | skin_part_type |
typedef character_types::key_type | key_type |
typedef character_types::math_types::vector3_type | vector3_type |
typedef std::vector< vector3_type > | rc_cached_type |
typedef std::map< key_type, size_t > | lut_type |
typedef OpenTissue::cg::Program | cg_program_type |
Public Member Functions | |
AnimatedSkin () | |
virtual | ~AnimatedSkin () |
void | init () |
template<typename skeleton_type > | |
void | update (skeleton_type &skeleton) |
void | cleanup () |
Public Attributes | |
skin_part_type | m_skin_parts [m_sz] |
Storage of skins. | |
OpenTissue::gl::Material | m_material [m_sz] |
Storage of skin materials. | |
bool | m_uploadBones |
Flag. Only upload bones to gpu on first skin. | |
bool | m_uploadRc |
Flag. Only upload r_c to gpu on first skin. | |
size_t | m_num_keys |
Numer of unique keys for this skin. | |
cg_program_type | m_vp |
Cg vertex program. | |
rc_cached_type | m_rc_cached |
Cached rotation centers. | |
lut_type | m_rc_lut |
Lookup Table for rotation centers. | |
Static Public Attributes | |
static const size_t | m_sz = 20u |
Number of skin parts. |
typedef OpenTissue::cg::Program OpenTissue::skinning::AnimatedSkin< character_types >::cg_program_type |
typedef character_types::key_type OpenTissue::skinning::AnimatedSkin< character_types >::key_type |
typedef std::map<key_type, size_t> OpenTissue::skinning::AnimatedSkin< character_types >::lut_type |
typedef std::vector<vector3_type> OpenTissue::skinning::AnimatedSkin< character_types >::rc_cached_type |
typedef character_types::skin_part_type OpenTissue::skinning::AnimatedSkin< character_types >::skin_part_type |
typedef character_types::math_types::vector3_type OpenTissue::skinning::AnimatedSkin< character_types >::vector3_type |
OpenTissue::skinning::AnimatedSkin< character_types >::AnimatedSkin | ( | ) | [inline] |
virtual OpenTissue::skinning::AnimatedSkin< character_types >::~AnimatedSkin | ( | ) | [inline, virtual] |
void OpenTissue::skinning::AnimatedSkin< character_types >::cleanup | ( | ) | [inline] |
void OpenTissue::skinning::AnimatedSkin< character_types >::init | ( | ) | [inline] |
void OpenTissue::skinning::AnimatedSkin< character_types >::update | ( | skeleton_type & | skeleton | ) | [inline] |
OpenTissue::gl::Material OpenTissue::skinning::AnimatedSkin< character_types >::m_material[m_sz] |
Storage of skin materials.
size_t OpenTissue::skinning::AnimatedSkin< character_types >::m_num_keys |
Numer of unique keys for this skin.
rc_cached_type OpenTissue::skinning::AnimatedSkin< character_types >::m_rc_cached |
Cached rotation centers.
lut_type OpenTissue::skinning::AnimatedSkin< character_types >::m_rc_lut |
Lookup Table for rotation centers.
skin_part_type OpenTissue::skinning::AnimatedSkin< character_types >::m_skin_parts[m_sz] |
Storage of skins.
const size_t OpenTissue::skinning::AnimatedSkin< character_types >::m_sz = 20u [static] |
Number of skin parts.
bool OpenTissue::skinning::AnimatedSkin< character_types >::m_uploadBones |
Flag. Only upload bones to gpu on first skin.
bool OpenTissue::skinning::AnimatedSkin< character_types >::m_uploadRc |
Flag. Only upload r_c to gpu on first skin.
cg_program_type OpenTissue::skinning::AnimatedSkin< character_types >::m_vp |
Cg vertex program.