]> Creatis software - clitk.git/commitdiff
Merge branch 'master' of /home/dsarrut/clitk3.server
authorSimon Rit <simon.rit@creatis.insa-lyon.fr>
Tue, 3 May 2011 14:02:20 +0000 (16:02 +0200)
committerSimon Rit <simon.rit@creatis.insa-lyon.fr>
Tue, 3 May 2011 14:02:20 +0000 (16:02 +0200)
.gitignore
common/vvImageReader.txx
notes.org~
vv/vvToolStructureSetManager.cxx

index c4986b3f8e80fb0cebb40c52953003a775644467..c9b39854a34afb558839c4732a29422f98bc4d35 100644 (file)
@@ -1,20 +1,25 @@
-CVS
-tests_jef
-mctools
-*.swp
-Makefile
-tags
-doc
-CVS
-CMakeFiles
-CMakeCache.txt
-*_ggo.*
+#*#
 *.directory
-build/*
+*.swp
 */.vimrc
+*_ggo.*
+*~
+/
+/.gitignore
+/notes.org~
+CMakeCache.txt
+CMakeFiles
+CVS
+CVS
+Makefile
 _*
-#*#
-notes.org
-build-release
 build-debug
+build-release
+build/*
+doc
+mctools
+notes.org
+notes.org~
 segmentation/clitkTestFilter*
+tags
+tests_jef
index aac9979fc330d265d9f14e7d7b346860cd6ffa5f..01fc707ed910373e5b96af38544083e0f7d4b03b 100644 (file)
@@ -118,6 +118,9 @@ void vvImageReader::UpdateWithDimAndInputPixelType()
     filter->SetExtractionRegion(extractedRegion);
     filter->SetInput(reader->GetOutput());
     filter->ReleaseDataFlagOn();
+#if ITK_VERSION_MAJOR == 4
+    filter->SetDirectionCollapseToSubmatrix();
+#endif
     try {
       mImage->AddItkImage<SlicedImageType>(filter->GetOutput());
     } catch ( itk::ExceptionObject & err ) {
index ec58a0b5d7e0c341ddb988d93ee7de67ce82e7b7..db3e8d152f5818a8b2c134107b1dfbe1b538c1d2 100644 (file)
@@ -1,12 +1,27 @@
 
 * GIT emacs command
 C-x v d 
-.gitignore -> contains ignored files
+.gitignore -> contains ignored files (recursive)
 commit (local)
 push (repository)
 pull
 
+gitk for GUI
+meld / kdiff3
+
+git status
+git add (-> index)
+git commit (->local commit)
+git pull (fetch + merge)
+git push
+
+COMMIT : C-x g c f
+(git-commit-file &optional AMEND)
+
 * Test in temp
 git clone http://www.creatis.insa-lyon.fr/~dsarrut/clitk3.pub.git clitk3
 need itk4 (git) ?
 
+
+* git merge cvs
+
index 16d53cb91cce2c0bcf8d5ed9dfe10c7e2bf693aa..151435faaf2c4d8f7f8480eaa79101029c431ba5 100644 (file)
@@ -137,6 +137,7 @@ void vvToolStructureSetManager::InputIsSelected(vvSlicerManager *m)
   if (mCurrentImage->GetNumberOfDimensions() != 3) {
     QMessageBox::information(this,tr("Sorry only 3D yet"), tr("Sorry only 3D yet"));
     close();
+    return;
   }
   // Hide selector
   HideInputSelector(); // splitter