[vtk-developers] vtkImageIterator: please...

Mathieu Malaterre Mathieu.Malaterre at creatis.insa-lyon.fr
Tue May 20 10:55:27 EDT 2003


Lisa,
	Thanks for taking the time to answer, but unfortunatly this still 
doesn't answer my question.

>           ptr+= continuousIncrements[0]; // not necessary - always 0

I perfectly agree!

>     ptr += continuousIncrements[2];

But this one is different from 0 (well at least on 3D images). That why 
it is important not to forget it, right ? And vtkImageIterator doesn't 
seems to take it into account, that's why I am wondering where in the 
vtk pipeline this operation is done:

 >     ptr += continuousIncrements[2];

When there was not vtkImageIterator each filter would do this operation, 
but since filters rely on vtkImageIterator this operation disappears...

Was vtkImageIterator meant to only works on 2D image ?

Thanks again Lisa for taking the time to answer,
mathieu




More information about the vtk-developers mailing list