[vtkusers] vtkImageReslice question

flin at enders.tch.harvard.edu flin at enders.tch.harvard.edu
Tue May 9 16:54:58 EDT 2006


Hello,

I have trouble in using the output of vtkImageReslice filter.
I am able to get the output from the reslice filter and set it to a mapper,
   by mapper->SetInput(reslice->GetOutput());
it works fine.

However, I have problem in extract information from the output.

My question is, since

    reslice->GetOutput() returns vtkImageData, why the following doesn't
work?
    reslice->GetOutput()->GetDimensions(dims);

   And I can't do this either,
    another_img_filter->SetInput(reslice->GetOutput());

Any advice will be deeply appreciated.

/faith







More information about the vtkusers mailing list