[vtk-developers] First flat index of a vtkCompositeDataIterator

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Mon Nov 28 10:23:34 EST 2011


The root node has index 0. Hence with it begins iteration, it will
always return index > 0 since you use vtkCompositeDataIterator to
iterate over the children of the root.

Utkarsh

On Thu, Nov 24, 2011 at 9:18 AM, Philippe Pebay
<philippe.pebay at kitware.com> wrote:
> Hello,
>
> I just noticed that the first flat index of a  vtkCompositeDataIterator is
> 1, and not 0.
>
> Is it intended to be so? And if yes, why?
>
> Thanks
> Philippe
>
> --
> Philippe Pébay
> Directeur de la Visualisation et du Calcul Haute Performance
> Kitware SAS
> 20 rue de la Villette
> 69328 Lyon cedex 03, France
> +33 (0)4.26.68.50.03
> http://www.kitware.fr
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>
>



More information about the vtk-developers mailing list