00001 #ifndef OPENTISSUE_KINEMATICS_SKELETON_SKELETON_TYPES_H 00002 #define OPENTISSUE_KINEMATICS_SKELETON_SKELETON_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/skeleton/skeleton_default_bone_traits.h> 00013 #include <OpenTissue/kinematics/skeleton/skeleton_bone.h> 00014 #include <OpenTissue/kinematics/skeleton/skeleton_skeleton.h> 00015 00016 #include <OpenTissue/utility/gl/gl_draw_bone.h> 00017 #include <OpenTissue/utility/utility_empty_traits.h> 00018 00019 namespace OpenTissue 00020 { 00021 namespace skeleton 00022 { 00023 00024 template < 00025 typename math_types_ 00026 , class bone_traits_ = OpenTissue::skeleton::DefaultBoneTraits<math_types_> 00027 , class skeleton_traits_ = OpenTissue::utility::EmptyTraits 00028 > 00029 class Types 00030 { 00031 public: 00032 00033 typedef Types<math_types_,bone_traits_, skeleton_traits_> skeleton_types; 00034 00035 typedef math_types_ math_types; 00036 typedef Bone<skeleton_types> bone_type; 00037 typedef Skeleton<skeleton_types> skeleton_type; 00038 typedef bone_traits_ bone_traits; 00039 typedef skeleton_traits_ skeleton_traits; 00040 00041 }; 00042 00043 } // namespace skeleton 00044 } // namespace OpenTissue 00045 00046 //OPENTISSUE_KINEMATICS_SKELETON_SKELETON_TYPES_H 00047 #endif