00001 #ifndef OPENTISSUE_KINEMATICS_SKINNING_SKINNING_TYPES_H 00002 #define OPENTISSUE_KINEMATICS_SKINNING_SKINNING_TYPES_H 00003 // 00004 // OpenTissue Template Library 00005 // - A generic toolbox for physics-based modeling and simulation. 00006 // Copyright (C) 2008 Department of Computer Science, University of Copenhagen. 00007 // 00008 // OTTL is licensed under zlib: http://opensource.org/licenses/zlib-license.php 00009 // 00010 #include <OpenTissue/configuration.h> 00011 00012 #include <OpenTissue/kinematics/skinning/skinning_animated_skin.h> 00013 #include <OpenTissue/kinematics/skinning/lbs/skinning_lbs.h> 00014 #include <OpenTissue/kinematics/skinning/lbs/skinning_lbs_gpu.h> 00015 #include <OpenTissue/kinematics/skinning/sbs/skinning_sbs.h> 00016 #include <OpenTissue/kinematics/skinning/sbs/skinning_sbs_gpu.h> 00017 #include <OpenTissue/kinematics/skinning/gl_skin_render.h> 00018 #include <OpenTissue/utility/utility_material.h> 00019 00020 namespace OpenTissue 00021 { 00022 namespace skinning 00023 { 00024 00025 00026 template <typename math_types_, template <typename> class skin_part_type_> 00027 class Types 00028 { 00029 public: 00030 00031 typedef Types<math_types_,skin_part_type_> skin_types; 00032 typedef math_types_ math_types; 00033 typedef skin_part_type_<math_types> skin_part_type; 00034 typedef AnimatedSkin<skin_types> skin_type; 00035 typedef typename gl::SkinRender skin_render_type; 00036 typedef OpenTissue::utility::Material material_type; 00037 typedef typename math_types::index_type key_type; 00038 }; 00039 00040 } // namespace skinning 00041 } // namespace OpenTissue 00042 00043 00044 //OPENTISSUE_KINEMATICS_SKINNING_SKINNING_TYPES_H 00045 #endif