Hello Utkarsh<br><br>Thanks for the prompt answer. It makes sense.<br><br>Philippe<br><br><div class="gmail_quote">On Mon, Nov 28, 2011 at 4:23 PM, Utkarsh Ayachit <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">The root node has index 0. Hence with it begins iteration, it will<br>
always return index > 0 since you use vtkCompositeDataIterator to<br>
iterate over the children of the root.<br>
<br>
Utkarsh<br>
<div><div></div><div class="h5"><br>
On Thu, Nov 24, 2011 at 9:18 AM, Philippe Pebay<br>
<<a href="mailto:philippe.pebay@kitware.com">philippe.pebay@kitware.com</a>> wrote:<br>
> Hello,<br>
><br>
> I just noticed that the first flat index of a  vtkCompositeDataIterator is<br>
> 1, and not 0.<br>
><br>
> Is it intended to be so? And if yes, why?<br>
><br>
> Thanks<br>
> Philippe<br>
><br>
> --<br>
> Philippe Pébay<br>
> Directeur de la Visualisation et du Calcul Haute Performance<br>
> Kitware SAS<br>
> 20 rue de la Villette<br>
> 69328 Lyon cedex 03, France<br>
> <a href="tel:%2B33%20%280%294.26.68.50.03" value="+33426685003">+33 (0)4.26.68.50.03</a><br>
> <a href="http://www.kitware.fr" target="_blank">http://www.kitware.fr</a><br>
><br>
</div></div>> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
><br>
><br>
><br>
</blockquote></div><br><br clear="all"><br>-- <br><font color="#888888">Philippe Pébay<br>Directeur de la Visualisation et du Calcul Haute Performance<br>
Kitware SAS<br>
20 rue de la Villette<br>
69328 Lyon cedex 03, France<br>
<a value="+33426685003">+33 (0)4.26.68.50.03</a><br>
<a href="http://www.kitware.fr/" target="_blank">http://www.kitware.fr</a></font><br>