X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkCommon.h;h=769ca63f0bf4400cbb783cf53d3bd7b44b3fc293;hb=4f2fb7a9394563fd56582639232a9fe12492c5d6;hp=51258e66fc3abd5c418dfc480bdba43debd32442;hpb=0451c66d4a069d04db99c9d719e053c6019923d8;p=clitk.git diff --git a/common/clitkCommon.h b/common/clitkCommon.h index 51258e6..769ca63 100644 --- a/common/clitkCommon.h +++ b/common/clitkCommon.h @@ -227,6 +227,13 @@ namespace clitk { //-------------------------------------------------------------------- void PrintMemoryUsed(); + //-------------------------------------------------------------------- + // Convert a map to a vector + template + void MapToVecFirst(const M & m, V & v); + template + void MapToVecSecond(const M & m, V & v); + #include "clitkCommon.txx" } // end namespace