1 /**************************************************************************** 2 * VCGLib o o * 3 * Visual and Computer Graphics Library o o * 4 * _ O _ * 5 * Copyright(C) 2004 \/)\/ * 6 * Visual Computing Lab /\/| * 7 * ISTI - Italian National Research Council | * 8 * \ * 9 * All rights reserved. * 10 * * 11 * This program is free software; you can redistribute it and/or modify * 12 * it under the terms of the GNU General Public License as published by * 13 * the Free Software Foundation; either version 2 of the License, or * 14 * (at your option) any later version. * 15 * * 16 * This program is distributed in the hope that it will be useful, * 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 19 * GNU General Public License (http://www.gnu.org/licenses/gpl.txt) * 20 * for more details. * 21 * * 22 ****************************************************************************/ 23 24 #include <common/filterparameter.h> 25 #include <meshlabplugins/edit_align/meshtree.h> 26 27 class AlignParameter { 28 29 public: 30 static void RichParameterSetToAlignPairParam(const RichParameterSet &rps, vcg::AlignPair::Param &app); 31 static void AlignPairParamToRichParameterSet(const vcg::AlignPair::Param &app, RichParameterSet &rps); 32 33 static void RichParameterSetToMeshTreeParam(const RichParameterSet &rps, MeshTree::Param &mtp); 34 static void MeshTreeParamToRichParameterSet(const MeshTree::Param &mtp, RichParameterSet &rps); 35 36 private: 37 //no need to have an instance of this class 38 AlignParameter(); 39 }; 40