[Insight-users] Iterator: SetPosition help

smythek at u.washington.edu smythek at u.washington.edu
Wed May 24 11:08:30 EDT 2006


Hi ITK,

I would like my iterator to start at a specified place in my ITKimage, and the software guide says I should use the SetPosition(indexType).  But I try to call it like iterator.SetPosition(dstIndex) and I get an error.

I have two questions:  how do I correctly call the SetPosition for the iterator, and can the IndexType be double?

Thank you,

Kathy






More information about the Insight-users mailing list