[vtkusers] vtkImageReslicer requesting out of bounds output extent

Anja Ende anja.ende at googlemail.com
Fri Sep 15 05:38:42 EDT 2006


Hi everyone,

I have a small problem when zooming out of an image.

I have a vtkImageReslice and I use the transformation object to zoom as
follows:

m_transform->Scale(scaling, scaling, 1.0);
m_slicer->SetResliceTransform(m_transform);
Render();

This works perfectly with no problems.

However, now I wanted the zoom to ahppen around the Center of the image and
I wanted the reslicer to update itself before I call Render and some other
methods...
So, I have the following:

this->m_slicer->Update();
Center();
Render();

However, it seems that it requests seem to be out of bounds.

I tried calling SetOutputExtentToDefault() but to no avail.

I am basically getting a bunch of the following error as I zoom out:

<b>
vtk-5.0.1/Filtering/vtkStreamingDemandDrivenPipeline.cxx, line 628
vtkStreamingDemandDrivenPipeline (0xabd0f0): The update extent specified in
the information for output port 0 on algorithm Reslicer(0xaa8ee0) is 84 607
35 501 0 0, which is outside the whole extent 0 255 0 197 0 0.
</b>

Does anyone know how I can fix this?? Should I manually set the extent??

Thanks,
Anja
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060915/18d9f5bd/attachment.htm>


More information about the vtkusers mailing list