<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.2668" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>
<DIV><FONT size=2>Hi to all,</FONT></DIV>
<DIV><FONT size=2>&nbsp; I have a serise of transect volume slice ,but I want to 
see arbitrary section.So my code as follows :</FONT></DIV>
<DIV>&nbsp;&nbsp; </DIV>
<DIV>vtkImageReslice *reslice=vtkImageReslice 
::New();<BR>&nbsp;&nbsp;&nbsp;reslice-&gt;SetInput 
(body-&gt;GetOutput());<BR>&nbsp;&nbsp; 
reslice-&gt;SetResliceAxesDirectionCosines(1,0,1,0,1,0,-1,0,1);<BR>&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp; 
reslice-&gt;InterpolateOn();<BR>&nbsp;&nbsp; 
reslice-&gt;TransformInputSamplingOn();<BR>&nbsp;&nbsp; 
reslice-&gt;AutoCropOutputOn(); <BR>&nbsp;&nbsp; 
reslice-&gt;SetInterpolationModeToLinear();<BR>&nbsp;&nbsp;&nbsp;reslice-&gt;SetOutputSpacing(0.8,0.95,0.8);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;vtkImageMapper 
*rmapper=vtkImageMapper 
::New();<BR>&nbsp;&nbsp;&nbsp;rmapper-&gt;SetInput(reslice-&gt;GetOutput());<BR>&nbsp;&nbsp;&nbsp;rmapper-&gt;SetZSlice(90);<BR>&nbsp;&nbsp;&nbsp;rmapper-&gt;SetColorWindow(2000);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
rmapper-&gt;SetColorLevel(1000);<BR>&nbsp;&nbsp; vtkActor2D *ractor=vtkActor2D 
:: New();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
ractor-&gt;SetMapper(rmapper);<BR>&nbsp;&nbsp;&nbsp; 
ren-&gt;SetViewport(0,0.2,0.5,0.8);<BR>&nbsp;&nbsp;&nbsp; 
ren-&gt;AddActor(ractor);</DIV>
<DIV>&nbsp;</DIV>
<DIV>My problem is that when the ResliceAxesDirection is inlined,i can only see 
a part of the image,or only see the same slice.</DIV>
<DIV>By the way ,I want to know how to implement arbitrary shape section 
,specially curved surface from volume.</DIV>
<DIV>&nbsp; Thanks</DIV></FONT></DIV></BODY></HTML>