[vtkusers] correction of spacing

Dominik Szczerba dominik at itis.ethz.ch
Tue Nov 25 09:50:57 EST 2008



Mathieu Malaterre wrote:
> On Mon, Nov 24, 2008 at 11:49 PM, Dominik Szczerba <dominik at itis.ethz.ch> wrote:
>> you need something like:
>>
>> vtkImageData* image = reader->GetOutput();
>> image->SetSpacing(spacing);
>> // check with image->GetSpacing(spacing);
> 
> No. this will not work.
> 

Why? It does work for me. Can you elaborate?

Dominik

-- 
Dominik Szczerba, PhD
Computational Physics Group
IT'IS Foundation
http://www.itis.ethz.ch



More information about the vtkusers mailing list