[vtkusers] vtkImageChangeInformation changes ScalarType?

Bill Lorensen wlorens1 at nycap.rr.com
Wed Feb 28 16:03:19 EST 2007


You should not have to call Update if it is in the pipeline. Maybe this is 
a bug?

Bill

At 11:49 AM 2/28/2007, Michael Knopke wrote:
>Hi Bill,
>
>Thank you for the hint, this solved the problem! Now it shows the correct 
>scalar type.
>In the case of getting the ScalarType just after using 
>vtkImageChangeInformation it is obvious that one has to call Update(), but 
>what I don't understand
>is that you still need to manually call update() on ImageChangeInformation 
>when using it in a pipeline.
>I always thought the "Sink" class (in this case vtkImagePlaneWidget) would 
>automatically call update() for the whole pipeline anyway when being 
>Enabled and rendered in the RenderWindow.
>Also without calling Update() I could actually see the resliced Volume 
>(but not shown correctly) on the plane and didn't get an error message.
>Anyway now it's correct. Thanks again.
>
>Regards
>
>Michael
>
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: 
>http://www.vtk.org/Wiki/VTK_FAQ
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070228/0daa8228/attachment.htm>


More information about the vtkusers mailing list