<div dir="ltr">use 

<a class="el" href="https://vtk.org/doc/nightly/html/classvtkImageReslice.html" title="Reslices a volume along a new set of axes." style="color:rgb(70,101,162);font-weight:bold;font-family:Roboto,sans-serif;font-size:14px">vtkImageReslice</a> instead of 

vtkTransformPolyDataFilter</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Arefin Shamsil <<a href="mailto:marefin@uwo.ca">marefin@uwo.ca</a>> 于2019年4月13日周六 上午10:37写道:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi,<div>I am trying to combine a vtkImageData image and its transform using vtkTransformPolyDataFilter. Here is my setup</div><div><br></div><div><div>vtkSmartPointer<vtkTransformPolyDataFilter> imagePose = itkSmartPointer<vtkTransformPolyDataFilter>::New();</div><div><br></div><div>imagePose->SetInputConnection(image); // image is of vtkImageData ----- error is here</div><div>imagePose->SetTransform(imageTransform);</div></div><div><br></div><div>Problem is SetInputConnection is not accepting vtkImageData type, it only accepts vtkAlgorithmOutput type. </div><div><br></div><div>I am not really sure what to do here. Online search has not been of much help. Is there any way to do it?</div><div><br></div><div><br></div><div><br></div><div> </div></div></div></div>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://vtk.org/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">https://vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div>