Commit d8463a8c authored by Ken Martin's avatar Ken Martin
Browse files

new SetFileTypeLittleEndian for Volume16Reader

parent 586141f8
......@@ -8,7 +8,7 @@ source colors.tcl
# reader reads slices
vtkVolume16Reader v16;
v16 SetDataDimensions 256 256
v16 SwapBytesOn;
v16 SetFileTypeLittleEndian;
v16 SetFilePrefix "../../data/fullHead/headsq"
v16 SetDataAspectRatio 0.8 0.8 1.5;
v16 SetImageRange 1 94;#uncomment for the whole head
......
......@@ -17,7 +17,7 @@ set iren [$renWin MakeRenderWindowInteractor];
#
vtkVolume16Reader v16;
v16 SetDataDimensions 256 256
v16 SwapBytesOff;
v16 SetFileTypeBigEndian;
v16 SetFilePrefix "../../data/pineRoot/pine_root";
v16 SetImageRange 1 256;
v16 SetDataAspectRatio 0.3125 0.3125 0.390625;
......
......@@ -17,7 +17,7 @@ vtkLight lgt;
vtkVolume16Reader v16;
v16 SetDataDimensions 128 128 ;
[v16 GetOutput] SetOrigin 0.0 0.0 0.0;
v16 SwapBytesOn;
v16 SetFileTypeLittleEndian;
v16 SetFilePrefix "../../data/headsq/half";
v16 SetImageRange 1 93;
v16 SetDataAspectRatio 1.6 1.6 1.5;
......
......@@ -16,7 +16,7 @@ set iren [$renWin MakeRenderWindowInteractor];
vtkVolume16Reader v16;
v16 SetDataDimensions 128 128 ;
[v16 GetOutput] SetOrigin 0.0 0.0 0.0;
v16 SwapBytesOn;
v16 SetFileTypeLittleEndian;
v16 SetFilePrefix "../../data/headsq/half";
v16 SetImageRange 45 45;
v16 SetDataAspectRatio 1.6 1.6 1.5;
......
......@@ -7,7 +7,7 @@ source colors.tcl
vtkVolume16Reader v16;
v16 SetDataDimensions 128 128 ;
[v16 GetOutput] SetOrigin 0.0 0.0 0.0;
v16 SwapBytesOn;
v16 SetFileTypeLittleEndian;
v16 SetFilePrefix "../../data/headsq/half";
v16 SetImageRange 45 45;
v16 SetDataAspectRatio 1.6 1.6 1.5;
......
......@@ -3,7 +3,7 @@
vtkVolume16Reader v16;
v16 SetDataDimensions 64 64;
[v16 GetOutput] SetOrigin 0.0 0.0 0.0;
v16 SwapBytesOn;
v16 SetFileTypeLittleEndian;
v16 SetFilePrefix "../../data/headsq/quarter";
v16 SetImageRange 1 93;
v16 SetDataAspectRatio 3.2 3.2 1.5;
......
......@@ -16,7 +16,7 @@ set iren [$renWin MakeRenderWindowInteractor];
vtkVolume16Reader v16;
v16 SetDataDimensions 128 128;
[v16 GetOutput] SetOrigin 0.0 0.0 0.0;
v16 SwapBytesOn;
v16 SetFileTypeLittleEndian;
v16 SetFilePrefix "../../data/headsq/half";
#v16 SetImageRange 19 24;
v16 SetImageRange 1 93;
......
Markdown is supported
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