Skip to content
Snippets Groups Projects
Commit 08ae8feb authored by Dan Lipsa's avatar Dan Lipsa Committed by Kitware Robot
Browse files

Merge topic 'TestChangeInformation'


6fad8fe7 ENH: TestChangeInformation does not print error message.

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Acked-by: default avatarDavid Gobbi <david.gobbi@gmail.com>
Reviewed-by: default avatarBill Lorensen <bill.lorensen@gmail.com>
Merge-request: !352
parents 5f7f54da 6fad8fe7
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,7 @@ reslice.SetInterpolationModeToCubic()
# to do this, it is just put in as an example)
information2 = vtk.vtkImageChangeInformation()
information2.SetInputConnection(reslice.GetOutputPort())
reader.Update()
information2.SetInformationInputData(reader.GetOutput())
viewer = vtk.vtkImageViewer()
viewer.SetInputConnection(information2.GetOutputPort())
......
......@@ -22,6 +22,7 @@ reslice SetInterpolationModeToCubic
# to do this, it is just put in as an example)
vtkImageChangeInformation information2
information2 SetInputConnection [reslice GetOutputPort]
reader Update
information2 SetInformationInputData [reader GetOutput]
vtkImageViewer viewer
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment