[vtkusers] vtkImageChangeInformation changes ScalarType?
Michael Knopke
Michael.Knopke at gmx.de
Wed Feb 28 11:49:49 EST 2007
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070228/fff3af70/attachment.htm>
More information about the vtkusers
mailing list