catch {load vtktcl}
# A script to test the ElipsoidSource

source vtkImageInclude.tcl

# Image pipeline

vtkImageNoiseSource noise
noise SetWholeExtent 0 225 0 225 0 20 0 0
noise SetMinimum 0.0
noise SetMaximum 255.0
noise ReleaseDataFlagOff

vtkImageViewer viewer
viewer SetInput [noise GetOutput]
viewer SetZSlice 10
viewer SetColorWindow 255
viewer SetColorLevel 128
#viewer DebugOn

# make interface
source WindowLevelInterface.tcl







