[vtkusers] Writing cut plane to an image
Alexey Yutkin
yutkin at geol.msu.ru
Thu Jul 4 12:33:23 EDT 2002
Writing cut plane to an image
How I can write vtkCutter output to the image file?
vtkPlane cutPlane
eval cutPlane SetOrigin [[reader GetOutput] GetCenter]
cutPlane SetNormal $s1 $s2 $s3
vtkCutter planeCut
planeCut SetInput [reader GetOutput]
planeCut SetCutFunction cutPlane
? vtkTIFFWriter tiff1
? tiff1 SetInput [image1 GetOutput]
? tiff1 SetFileName tiff1.tif
? tiff1 Write
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20020704/39af8235/attachment.htm>
More information about the vtkusers
mailing list