00001 #include <sofa/component/constraint/UnilateralInteractionConstraint.inl> 00002 #include <sofa/defaulttype/Vec3Types.h> 00003 #include <sofa/component/MechanicalObject.h> 00004 #include <sofa/core/ObjectFactory.h> 00005 00006 namespace sofa 00007 { 00008 00009 namespace component 00010 { 00011 00012 namespace constraint 00013 { 00014 00015 using namespace sofa::defaulttype; 00016 using namespace sofa::helper; 00017 00018 SOFA_DECL_CLASS(UnilateralInteractionConstraint) 00019 00020 int UnilateralInteractionConstraintClass = core::RegisterObject("TODO-UnilateralInteractionConstraint") 00021 #ifndef SOFA_FLOAT 00022 .add< UnilateralInteractionConstraint<Vec3dTypes> >() 00023 #endif 00024 #ifndef SOFA_DOUBLE 00025 .add< UnilateralInteractionConstraint<Vec3fTypes> >() 00026 #endif 00027 ; 00028 00029 00030 #ifndef SOFA_FLOAT 00031 template class UnilateralInteractionConstraint<Vec3dTypes>; 00032 #endif 00033 #ifndef SOFA_DOUBLE 00034 template class UnilateralInteractionConstraint<Vec3fTypes>; 00035 #endif 00036 00037 00038 } // namespace constraint 00039 00040 } // namespace component 00041 00042 } // namespace sofa 00043
1.5.7.1