[vtk-developers] First flat index of a vtkCompositeDataIterator

Philippe Pebay philippe.pebay at kitware.com
Mon Nov 28 10:39:31 EST 2011


Hello Utkarsh

Thanks for the prompt answer. It makes sense.

Philippe

On Mon, Nov 28, 2011 at 4:23 PM, Utkarsh Ayachit <
utkarsh.ayachit at kitware.com> wrote:

> 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
> >
> >
> >
>



-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20111128/dfc67fa7/attachment.html>


More information about the vtk-developers mailing list