From 1656112cd203ef39813f5b6707a09c8909ced805 Mon Sep 17 00:00:00 2001 From: "N.N." Date: Mon, 14 May 2007 17:56:25 +0000 Subject: *** empty log message *** svn path=/trunk/externals/nusmuk/; revision=7657 --- msd.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/msd.h b/msd.h index 6a26b45..fdadb46 100644 --- a/msd.h +++ b/msd.h @@ -1253,6 +1253,13 @@ protected: ToOutAnything(0,S_massesPos,1+N,sortie); } } + else if (auxtype == S_massesPosName) { // get all masses positions output Id + for(typename IndexMap::iterator mit(mass); mit; ++mit) { + SetSymbol(sortie[0],mit.data()->Id); + for(int i = 0; i < N; ++i) SetFloat(sortie[1+i],mit.data()->pos[i]); + ToOutAnything(0,S_massesPos,1+N,sortie); + } + } else if (auxtype == S_massesPosMean) { // get all masses positions mean for(int i = 0; i const t_symbol *msdN::S_nLink; template const t_symbol *msdN::S_Mass_deleted; template const t_symbol *msdN::S_Link_deleted; template const t_symbol *msdN::S_massesPos; +template const t_symbol *msdN::S_massesPosName; template const t_symbol *msdN::S_massesPosNo; template const t_symbol *msdN::S_massesPosId; template const t_symbol *msdN::S_linksPos; -- cgit v1.2.1