<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi,<br>
<br>
I use vtkRenderWindows in which I'll use multiple actors ( for me : a surface and glyphs to visualize the vectors, stored in the point data of the surface)<br>
<br>
I need to access those actors from the renderwindow and by using GetRenderers()-&gt;GetFirstRenderer()-&gt;GetActors(), I am able to get&nbsp; a vtkActorCollection *.<br>
<br>
No problem to get the last one, using vtkActorCollection::GetLastActor(), but what about the first one? Or the intermediate ones if I had more than two actors?<br>
<br>
I tried to use GetNextActor() but it always gives me a NULL pointer.<br>
So basically I need something like GetFirstActor() or actorList[0].<br>
<br>
I found a LOT of people on Google looking for a solution to this problem, but no answers.<br>
<br>
Thank you for your help,<br>
<br>
Alexis<br>
</div>
</body>
</html>