00001 /****************************************************************************** 00002 * SOFA, Simulation Open-Framework Architecture, version 1.0 beta 3 * 00003 * (c) 2006-2008 MGH, INRIA, USTL, UJF, CNRS * 00004 * * 00005 * This library is free software; you can redistribute it and/or modify it * 00006 * under the terms of the GNU Lesser General Public License as published by * 00007 * the Free Software Foundation; either version 2.1 of the License, or (at * 00008 * your option) any later version. * 00009 * * 00010 * This library is distributed in the hope that it will be useful, but WITHOUT * 00011 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * 00012 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License * 00013 * for more details. * 00014 * * 00015 * You should have received a copy of the GNU Lesser General Public License * 00016 * along with this library; if not, write to the Free Software Foundation, * 00017 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 00018 ******************************************************************************* 00019 * SOFA :: Framework * 00020 * * 00021 * Authors: M. Adam, J. Allard, B. Andre, P-J. Bensoussan, S. Cotin, C. Duriez,* 00022 * H. Delingette, F. Falipou, F. Faure, S. Fonteneau, L. Heigeas, C. Mendoza, * 00023 * M. Nesme, P. Neumann, J-P. de la Plata Alcade, F. Poyer and F. Roy * 00024 * * 00025 * Contact information: contact@sofa-framework.org * 00026 ******************************************************************************/ 00027 #include "Mapping.inl" 00028 #include <sofa/defaulttype/Vec3Types.h> 00029 #include <sofa/defaulttype/RigidTypes.h> 00030 #include <sofa/core/componentmodel/behavior/MechanicalState.h> 00031 #include <sofa/core/componentmodel/behavior/MappedModel.h> 00032 00033 namespace sofa 00034 { 00035 00036 namespace core 00037 { 00038 00039 using namespace sofa::defaulttype; 00040 using namespace core; 00041 using namespace core::componentmodel::behavior; 00042 00043 00044 template class Mapping< MechanicalState<Vec3dTypes>, MechanicalState<Vec3dTypes> >; 00045 template class Mapping< MechanicalState<StdRigidTypes<3,double> >, MechanicalState<Vec3dTypes> >; 00046 template class Mapping< State<Vec3dTypes>, MappedModel<Vec3dTypes> >; 00047 // template class Mapping< State<Vec3dTypes>, MappedModel<ExtVec3dTypes> >; 00048 template class Mapping< State<Vec3dTypes>, MappedModel<ExtVec3fTypes> >; 00049 00050 template class Mapping< MechanicalState<Vec3fTypes>, MechanicalState<Vec3fTypes> >; 00051 template class Mapping< MechanicalState<StdRigidTypes<3,float> >, MechanicalState<Vec3fTypes> >; 00052 template class Mapping< State<Vec3fTypes>, MappedModel<Vec3fTypes> >; 00053 template class Mapping< State<Vec3fTypes>, MappedModel<ExtVec3fTypes> >; 00054 // template class Mapping< State<Vec3fTypes>, MappedModel<ExtVec3dTypes> >; 00055 00056 00057 00058 00059 template class Mapping< MechanicalState<Vec3dTypes>, MechanicalState<Vec3fTypes> >; 00060 template class Mapping< MechanicalState<Vec3fTypes>, MechanicalState<Vec3dTypes> > ; 00061 template class Mapping< MechanicalState<StdRigidTypes<3,double> >, MechanicalState<Vec3fTypes> >; 00062 template class Mapping< MechanicalState<StdRigidTypes<3,float> >, MechanicalState<Vec3dTypes> >; 00063 template class Mapping< State<Vec3fTypes>, MappedModel<Vec3dTypes> >; 00064 template class Mapping< State<Vec3dTypes>, MappedModel<Vec3fTypes> >; 00065 00066 00067 00068 // Mech -> Mapped 00069 //template class Mapping< MechanicalState<Vec3dTypes>, MappedModel<Vec3dTypes> >; 00070 //template class Mapping< MechanicalState<Vec3fTypes>, MappedModel<Vec3fTypes> >; 00071 //template class Mapping< MechanicalState<Vec3dTypes>, MappedModel<Vec3fTypes> >; 00072 //template class Mapping< MechanicalState<Vec3fTypes>, MappedModel<Vec3dTypes> >; 00073 00074 // Mech -> ExtMapped 00075 //template class Mapping< MechanicalState<Vec3dTypes>, MappedModel<ExtVec3dTypes> >; 00076 //template class Mapping< MechanicalState<Vec3fTypes>, MappedModel<ExtVec3fTypes> >; 00077 //template class Mapping< MechanicalState<Vec3dTypes>, MappedModel<ExtVec3fTypes> >; 00078 //template class Mapping< MechanicalState<Vec3fTypes>, MappedModel<ExtVec3dTypes> >; 00079 00080 00081 } // namespace core 00082 00083 } // namespace sofa 00084
1.5.7.1