Commit 6cb4ef0b authored by saubatn's avatar saubatn
Browse files

FEATURE 592 Save the initial image orientation when saving in MHA / MHD file format.

NEW Wait cursor when saving a component (saving can be a little bit long).

git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/camitk/trunk/camitk@1845 ec899d31-69d1-42ba-9299-647d76f65fb3
parent 1d6d8b1a
......@@ -171,7 +171,6 @@ bool VtkImageComponentExtension::save(Component* component) const {
if ((QString::compare(fileExt, "mhd", Qt::CaseInsensitive) == 0) ||
(QString::compare(fileExt, "mha", Qt::CaseInsensitive) == 0)) {
writer = vtkSmartPointer<vtkMetaImageWriter>::New();
vtkSmartPointer<vtkMetaImageWriter> metaImgWriter = vtkSmartPointer<vtkMetaImageWriter>::New();
writer->SetFileDimensionality(3);
}
else {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment