load std
load wx
+new LoadHola reader
-new LoadHola image
#new FileSelector openFileDialog
# set openFileDialog.Wildcard "(*.mhd)|*.mhd"
-#new MetaImageReader image1
-# connect openFileDialog.Out image1.In
+#new MetaImageReader reader1
+# connect openFileDialog.Out reader1.In
#new ImageCastToUShort image
-# connect image1.Out image.In
+# connect reader1.Out image.In
-
-#new ViewerMPR view1
new ViewerNV view1
set view1.nTypeView "6"
- connect image.Out view1.In
+ connect reader.Out view1.In
new CutModule cut
connect view1.Interactor1 cut.Interactor
connect view1.Renderer1 cut.Renderer
- connect image.Out cut.In
+ connect reader.Out cut.In
new ViewerNV view2
set view2.nTypeView "6"
load std
load wx
-//new LoadHola image
+//new LoadHola reader
new FileSelector openFileDialog
set openFileDialog.Wildcard "(*.mhd)|*.mhd"
-new MetaImageReader image
- connect openFileDialog.Out image.In
+new MetaImageReader reader
+ connect openFileDialog.Out reader.In
new ImagePlanes planes
-connect image.Out planes.In
+connect reader.Out planes.In
#new Viewer3D viewer
#set viewer.WinHeight 400
new TransferFunctionView transferfunc
- connect image.Out transferfunc.In
+ connect reader.Out transferfunc.In
new ViewerNV viewernv
set viewernv.nTypeView "6 1 2 0"
#set viewernv.nTypeView "6"
- connect image.Out viewernv.In
+ connect reader.Out viewernv.In
connect transferfunc.ColorFunction viewernv.ColorFunction
connect transferfunc.WindowLevel viewernv.WindowLevel
connect transferfunc.ColorLevel viewernv.ColorLevel
new ShowNPoints showpoints
- connect image.Out showpoints.Image
+ connect reader.Out showpoints.Image
connect showpoints.lstPointsX planes.PointsX
connect showpoints.lstPointsY planes.PointsY
connect showpoints.lstPointsZ planes.PointsZ
load vtk
load creaMaracasVisu
-new LoadHola image
+new LoadHola reader
new ImagePlanes planes
new ViewerNV viewer
-connect image.Out viewer.In
+connect reader.Out viewer.In
set viewer.nTypeView "7"
-connect image.Out planes.In
+connect reader.Out planes.In
connect viewer.Interactor1 planes.Interactor
load std
set viewer.WinHeight 400
#set viewer.Slice 20
-exec planes
\ No newline at end of file
+exec planes
load vtk
load creaMaracasVisu
-new LoadHola image
+new LoadHola reader
new ImagePlanes planes
new ViewerNV viewer
-connect image.Out viewer.In
+connect reader.Out viewer.In
set viewer.nTypeView "6"
-connect image.Out planes.In
+connect reader.Out planes.In
connect planes.PlaneX viewer.Obs1
connect planes.PlaneY viewer.Obs2
connect planes.PlaneZ viewer.Obs3
set viewer.WinHeight 400
#set viewer.Slice 20
-exec viewer
\ No newline at end of file
+exec viewer
load itkvtk
load creaMaracasVisu
+
+
+# Use new box (choose the way you want to select images)
+# -----------------------------------------------------
+load creaImageIO
+new ImagesReader chooser
+
+# Concatenate all the supposed-to-be consistent 2D images into a single vtkImageData
+# WARNING : File names alphabetical order is suposed to be meaningful ...
+
+new ConcatImages reader
+ connect chooser.Out reader.In
+
+
+
# Here loads hola.mhd
# -------------------------
/*
# uncomment next lines to use Gimmick
# -----------------------------------
-
+/*
load creaImageIO
new Gimmick reader
-
+*/
new ViewerNV viewer
connect reader.Out viewer.In
load creaMaracasVisu
include vtk/boxes/bbLoadHola
-new LoadHola image
+new LoadHola reader
new ViewerMPR mpr
- connect image.Out mpr.In
+ connect reader.Out mpr.In
-exec mpr
\ No newline at end of file
+exec mpr
load creaMaracasVisu
include vtk/boxes/bbLoadHola
-new LoadHola image
+new LoadHola reader
new ViewerNV viewernv
- connect image.Out viewernv.In
+ connect reader.Out viewernv.In
exec viewernv
load creaMaracasVisu
include vtk/boxes/bbLoadHola
-new LoadHola image
+new LoadHola reader
new ViewerNV viewernv
set viewernv.nTypeView "-1 1"
- connect image.Out viewernv.In
+ connect reader.Out viewernv.In
exec viewernv
load creaMaracasVisu
include vtk/boxes/bbLoadHola
-new LoadHola image
+new LoadHola reader
new ViewerNV viewernv
set viewernv.nTypeView "3"
- connect image.Out viewernv.In
+ connect reader.Out viewernv.In
exec viewernv