From 29c9b79adf19db41a8e347f446972f42e7ce9ea8 Mon Sep 17 00:00:00 2001 From: Romulo Pinho Date: Fri, 9 Nov 2012 11:28:14 +0100 Subject: [PATCH] added support for more VF file types --- vv/vvMainWindow.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/vv/vvMainWindow.cxx b/vv/vvMainWindow.cxx index b8d4b3c..1964b7e 100644 --- a/vv/vvMainWindow.cxx +++ b/vv/vvMainWindow.cxx @@ -2177,7 +2177,11 @@ void vvMainWindow::OpenField() QString Extensions = "Images ( *.mhd)"; Extensions += ";;Images ( *.mha)"; - Extensions += ";;Images ( *.vf)"; + Extensions += ";;VF Images ( *.vf)"; + Extensions += ";;nii Images ( *.nii)"; + Extensions += ";;nrrd Images ( *.nrrd)"; + Extensions += ";;nhdr Images ( *.nhdr)"; + Extensions += ";;All Files (*)"; QString file = QFileDialog::getOpenFileName(this,tr("Load deformation field"),mInputPathName,Extensions); if (!file.isEmpty()) AddField(file,index); -- 2.47.1