#ifndef __kwcommon_h #define __kwcommon_h #include static const std::string kwsupportedimageformats = "{{analyse} {.hdr}} {{inrimage} {.inr.gz .inr .gz}} {{gipl} {.gipl}} {{metafile} {.mha .mhd}} {{nrrd} {.nrrd}} {{NIfTI} {.nii .nii.gz}} {{jpeg} {.jpg .jpeg}} {{tiff} {.tiff .tif}} "; static const std::string kwsupportedmeshformats = "{{vtkPolyData} {.vtp .vtk}} {{vtkUnstructuredGrid} {.vtu .vtk}} {{mips triangulation} {.tr3D .atr3D .mesh .trian}} {{mips tetrahedrisation} {.tet3D .atet3D .noboite}} {{mips simplex} {.sm}} "; static const std::string kwsupportedimageformats_global = "{{image files} {.hdr .inr.gz .inr .gz .gipl .mha .mhd .nrrd .nii .nii.gz .jpg .jpeg .tif .tiff}} "; static const std::string kwsupportedmeshformats_global = "{{mesh files} {.vtk .vtp .vtu .tr3D .atr3D .mesh .trian .tet3D .atet3D .noboite .sm}} "; static const std::string kwallformat = "{{all} {.*}}"; static const std::string kwallsupportedformats = "{{all supported formats} {.hdr .inr.gz .inr .gz .gipl .mha .mhd .nrrd .nii .nii.gz .jpg .jpeg .tif .tiff .vtk .vtp .vtu .tr3D .atr3D .mesh .trian .tet3D .atet3D .noboite .sm}} "; static const std::string kwsupportedformats = kwallsupportedformats + kwsupportedimageformats_global + kwsupportedmeshformats_global + kwsupportedimageformats + kwsupportedmeshformats + kwallformat; #endif