<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2920.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I have a small problem regarding 
vtkImageViewer:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I am creating a vtkImageReslice and a 
vtkImageViewer to read a Volume (vtkImageReader).</FONT></DIV>
<DIV><FONT face=Arial size=2>Through the vtkImageViewer getActor2D() and 
SetZSlice is possible to browse all the volume.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>But the problem is that I want to have a list of 
actors2D (vtkActors2DCollection),</FONT></DIV>
<DIV><FONT face=Arial size=2>So, </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp; actorsList 
=&nbsp;vtkActors2DCollection::New();&nbsp;&nbsp; </FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp; for(int 
i=0;i&lt;aViewer-&gt;GetWholeZMax();i++) {<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
aViewer-&gt;SetZSlice(i);<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
actorsList-&gt;AddItem(aViewer-&gt;GetActor2D());<BR>&nbsp;&nbsp; }</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>It doesnt seem to work, because GetActor2D refers 
to ALL the volume and I would like a single "slice" (actor2D).</FONT></DIV>
<DIV><FONT face=Arial size=2>There are any other ways of doing 
that?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks in Advance<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Ricardo Czekster</DIV></FONT></BODY></HTML>