1 /*
2  *  Copyright (C) 2006  MakeHuman Project
3  *
4  *  This program is free software; you  can  redistribute  it  and/or
5  *  modify  it  under  the terms of the GNU General Public License as
6  *  published by the Free Software Foundation; either  version  2  of
7  *  the License, or (at your option) any later version.
8  *
9  *  This  program  is distributed in the hope that it will be useful,
10  *  but WITHOUT ANY WARRANTY; without even the  implied  warranty  of
11  *  MERCHANTABILITY  or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  *  General Public License for more details.
13  *
14  *  You should have received a copy of the GNU General Public License
15  *  along with this program; if not, write to the Free Software Foun-
16  *  dation, Inc., 59 Temple Place, Suite 330, Boston,  MA  02111-1307
17  *  USA
18  *
19  *  File   : SkinVertex.cpp
20  *  Project: MakeHuman <info@makehuman.org>, http://www.makehuman.org/
21  *  App    : makehuman
22  *
23  *  For individual developers look into the AUTHORS file.
24  *
25  */
26 
27 #include "../include/animorph/SkinVertex.h"
28 
29 using namespace Animorph;
30 
SkinVertex(int _skinVertex,float _originalDist,const std::vector<int> & tokens)31 SkinVertex::SkinVertex (int _skinVertex, float _originalDist, const std::vector<int> &tokens)
32   : skinVertex(_skinVertex),
33     linkedMuscles(tokens),
34     linkedMusclesSet(),
35     originalDist(_originalDist)
36     //oldCenteroid()
37   {
38     linkedMusclesSet.insert(tokens.begin(), tokens.end());
39   }
40 
41 
42 
43