[Insight-users] ++ overload in itkindex

Eduardo Suarez eduardo at ctm.ulpgc.es
Thu Jan 12 17:37:33 EST 2006


If i have a
    itk::Image::RegionType foo;
is it possible then to
    foo.GetIndex(0)++
?

-Eduardo

Miller, James V (GE, Research) wrote:
> What would operator ++ and -- do on a multidimensional index? Increment one component
> of the index?  Increment all components of the index?
> 
> If you want to move an index around an image, you an use an ImageRegionIterator
> 
> Jim
> 
> -----Original Message-----
> From: insight-users-bounces+millerjv=crd.ge.com at itk.org
> [mailto:insight-users-bounces+millerjv=crd.ge.com at itk.org]On Behalf Of
> Eduardo Suarez
> Sent: Thursday, January 12, 2006 1:51 PM
> To: insight-users at itk.org
> Cc: Izzat Sabbagh Rodríguez
> Subject: [Insight-users] ++ overload in itkindex
> 
> 
> Just wondering why there is no overload of ++ and -- operators in itkindex.h
> 
> Regards,
> -Eduardo
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
> 




More information about the Insight-users mailing list