Public Types | Public Member Functions | Public Attributes | Static Public Attributes

OpenTissue::skinning::AnimatedSkin< character_types > Class Template Reference

#include <skinning_animated_skin.h>

List of all members.

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_typerc_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.

template<typename character_types>
class OpenTissue::skinning::AnimatedSkin< character_types >


Member Typedef Documentation

template<typename character_types >
typedef OpenTissue::cg::Program OpenTissue::skinning::AnimatedSkin< character_types >::cg_program_type
template<typename character_types >
typedef character_types::key_type OpenTissue::skinning::AnimatedSkin< character_types >::key_type
template<typename character_types >
typedef std::map<key_type, size_t> OpenTissue::skinning::AnimatedSkin< character_types >::lut_type
template<typename character_types >
typedef std::vector<vector3_type> OpenTissue::skinning::AnimatedSkin< character_types >::rc_cached_type
template<typename character_types >
typedef character_types::skin_part_type OpenTissue::skinning::AnimatedSkin< character_types >::skin_part_type
template<typename character_types >
typedef character_types::math_types::vector3_type OpenTissue::skinning::AnimatedSkin< character_types >::vector3_type

Constructor & Destructor Documentation

template<typename character_types >
OpenTissue::skinning::AnimatedSkin< character_types >::AnimatedSkin (  )  [inline]
template<typename character_types >
virtual OpenTissue::skinning::AnimatedSkin< character_types >::~AnimatedSkin (  )  [inline, virtual]

Member Function Documentation

template<typename character_types >
void OpenTissue::skinning::AnimatedSkin< character_types >::cleanup (  )  [inline]
template<typename character_types >
void OpenTissue::skinning::AnimatedSkin< character_types >::init (  )  [inline]
template<typename character_types >
template<typename skeleton_type >
void OpenTissue::skinning::AnimatedSkin< character_types >::update ( skeleton_type skeleton  )  [inline]

Member Data Documentation

template<typename character_types >
OpenTissue::gl::Material OpenTissue::skinning::AnimatedSkin< character_types >::m_material[m_sz]

Storage of skin materials.

template<typename character_types >
size_t OpenTissue::skinning::AnimatedSkin< character_types >::m_num_keys

Numer of unique keys for this skin.

template<typename character_types >
rc_cached_type OpenTissue::skinning::AnimatedSkin< character_types >::m_rc_cached

Cached rotation centers.

template<typename character_types >
lut_type OpenTissue::skinning::AnimatedSkin< character_types >::m_rc_lut

Lookup Table for rotation centers.

template<typename character_types >
skin_part_type OpenTissue::skinning::AnimatedSkin< character_types >::m_skin_parts[m_sz]

Storage of skins.

template<typename character_types >
const size_t OpenTissue::skinning::AnimatedSkin< character_types >::m_sz = 20u [static]

Number of skin parts.

template<typename character_types >
bool OpenTissue::skinning::AnimatedSkin< character_types >::m_uploadBones

Flag. Only upload bones to gpu on first skin.

template<typename character_types >
bool OpenTissue::skinning::AnimatedSkin< character_types >::m_uploadRc

Flag. Only upload r_c to gpu on first skin.

template<typename character_types >
cg_program_type OpenTissue::skinning::AnimatedSkin< character_types >::m_vp

Cg vertex program.


The documentation for this class was generated from the following file: