<!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> </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> </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> </DIV>
<DIV><FONT face=Arial size=2> actorsList
= vtkActors2DCollection::New(); </FONT></DIV>
<DIV><FONT face=Arial size=2> for(int
i=0;i<aViewer->GetWholeZMax();i++) {<BR>
aViewer->SetZSlice(i);<BR>
actorsList->AddItem(aViewer->GetActor2D());<BR> }</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </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> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks in Advance<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Ricardo Czekster</DIV></FONT></BODY></HTML>