[Insight-developers] ImageRandomConstIteratorWithIndex

Joshua Cates cates@sci.utah.edu
Fri, 21 Feb 2003 10:33:02 -0700 (MST)


Hi Luis,

Yes, I will make these changes.

Josh.

______________________________
 Josh Cates			
 School of Computer Science	
 University of Utah
 Email: cates@sci.utah.edu
 Phone: (801) 587-7697
 URL:   http://www.sci.utah.edu/~cates


On Thu, 20 Feb 2003, Luis Ibanez wrote:

> 
> Josh,
> 
> The modifications that you proposed for
> IsAtBegin() and GoToEnd() look good.
> 
> Would you like to make the changes in the code ?
> 
> 
> Luis
> 
> 
> -----------------------
> 
> Lydia Ng wrote:
> 
> > Dear Josh and Luis,
> > 
> > For the metric I only have use:
> > 
> >       it.GoToBegin();
> > 	while(!it.IsAtEnd())
> >         {
> >         ++it;
> >         }
> > 
> > I remember went Luis made this we weren't quite sure as to how to treat
> > the operator--. For consistency we went something that works properly
> > for
> > 
> >       it.GoToEnd();
> >       while (!it.IsAtBegin() )
> >          {
> >          --it;
> >          }
> > 
> > 
> > Making operator-- decrement the m_NumberOfSamplesDone would be a good
> > tool.
> > So I don't mind the change. Just make sure the documentation say that
> > the above scenario does not work.
> > 
> > - Lydia
> > 
> > 
> 
> 
> _______________________________________________
> Insight-developers mailing list
> Insight-developers@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-developers
>