Cloned library of VTK-5.0.0 with extra build files for internal package management.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

35 lines
595 B

package require vtk
# Simple viewer for images.
# Image pipeline
vtkImageReader reader
reader ReleaseDataFlagOff
reader SetDataByteOrderToLittleEndian
reader SetDataExtent 0 63 0 63 1 93
reader SetFilePrefix "$VTK_DATA_ROOT/Data/headsq/quarter"
reader SetDataMask 0x7fff
vtkImagePermute permute
permute SetInputConnection [reader GetOutputPort]
permute SetFilteredAxes 1 2 0
vtkImageViewer viewer
viewer SetInputConnection [permute GetOutputPort]
viewer SetZSlice 32
viewer SetColorWindow 2000
viewer SetColorLevel 1000
#viewer DebugOn
#viewer Render
#make interface
viewer Render