<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>hi everybody</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>i am using a <FONT size=2>vtkWarpScalar to create a 
3D image. Unfortunately, some scalar are set to vtk_min_float so the z is very 
low and when I try to render the image I see nothing.... Is it possible to 
change the bounding box to see something. I have looked on the on line help but 
I don't see a SetBounds method....</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>below is my tcl script</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>thanks for your help</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>thomas</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>package require vtklocal</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>vtkPolyDataReader reader<BR>reader SetFileName 
"polyout_a2908901Old.vtk"</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>vtkWarpScalar warp<BR>&nbsp; warp SetInput [reader 
GetOutput]<BR>&nbsp; warp SetScaleFactor 0.025</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>vtkWindowLevelLookupTable look</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>vtkPolyDataMapper m<BR>m SetInput [warp 
GetPolyDataOutput]<BR>m SetScalarRange 0 2000<BR>m 
ImmediateModeRenderingOff<BR>m SetLookupTable look<BR>puts "m..."<BR>m 
Update<BR>puts "done..."</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>vtkActor a <BR>a SetMapper m<BR>a SetBounds 0 10000 
0 10000 -100 1000</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>vtkRenderer ren<BR>ren AddActor a</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>vtkRenderWindow renWin<BR>renWin AddRenderer 
ren<BR>renWin SetSize 800 600</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>vtkRenderWindowInteractor iren<BR>iren 
SetRenderWindow renWin</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>puts "rendering..."<BR>renWin Render<BR>puts 
"done"<BR>puts [a GetBounds]<BR>iren Start<BR></FONT></DIV></BODY></HTML>