X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=common%2FclitkCommon.txx;h=2441dcd2b27727bbe8cc62f43bd8b3c6018d39bb;hb=ec98e4a8aed11c9daa9bd7e2439d1ac489c933c7;hp=bb4508a91a1866f81feed5dd9d8195096fbe0765;hpb=34490f432219fe05c7ae19c4cf012b5529d784dc;p=clitk.git diff --git a/common/clitkCommon.txx b/common/clitkCommon.txx index bb4508a9..2441dcd 100644 --- a/common/clitkCommon.txx +++ b/common/clitkCommon.txx @@ -112,6 +112,9 @@ void GetSortedIndex(const std::vector & toSort, std::vector & index, //-------------------------------------------------------------------- template std::string GetTypeAsString() { + // http://www.vtk.org/doc/release/3/html/vtkSetGet_8h-source.html + // and + // itkImageIOBase.cxx const std::type_info & PixType = typeid(TPixel); std::string pixelName; if (PixType == typeid(char)) pixelName = "char"; // 'plain" char is different from signed char and unsigned char ...