VTK5 relies very heavily on "pipelines", and everything is "pulled" from the end of the pipeline.. so if it loops, it gets stuck in an infinite loop trying to follow the pipeline back to it's source.<br>
<br>What you may have to do is call "GetOutput()" on the final element of your pipeline, and then perform a DeepCopy to get another dataset, and then you can delete your pipeline. Then that copied dataset can be the input to your next pipeline.<br>
<br>----------------<br>Listening to: <a href="http://www.foxytunes.com/artist/kt+tunstall/track/one+day" title="'KT Tunstall - One Day' - open on FoxyTunes Planet">KT Tunstall - One Day</a><br><span style="color: rgb(153, 153, 153); font-style: italic; font-size: 10px;">posted with <a style="color: rgb(102, 102, 102);" href="http://www.foxytunes.com/signatunes/" title="FoxyTunes - Web of music at your fingertips">FoxyTunes</a></span> <br clear="all">
<br>----------------------------------------<br>Randall Hand <br>Visualization Scientist<br>ERDC MSRC-ITL
<br><br><div class="gmail_quote">On Mon, Jun 30, 2008 at 12:46 PM, Ryan Barr <<a href="mailto:ryan_barr_eac@hotmail.com">ryan_barr_eac@hotmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
I am deforming a sphereSource using a vtkTransformPolyDataFilter and a
vtkThinPlateSplineTransform (thanks to Marius Erdt, Karthik Krishnan
& Miguel Rodriguez). This works fine the first time, but subsequent
deformations are applied to the original sphere and not the previous
deformed sphere. In other words, regardless of what is displayed on
screen, the deformations are being applied to a perfect sphere.<br>
<br>While at the moment I am handling a simple sphere of 50 points, in
the future I plan on applying this to far more complex models, so I
need a solution that will work with far more points.<br><br>In my
search for a solution I read the example in the VTK : An Object Orientated
Approach to 3D Graphics book on page 115. In this example, after the
first pass through the filter, the sphereSource is disconnected and a
filter loop is created. However, for figure 4-22, on page 115, it
states that looping visualization networks are no longer allowed as of
VTK 5.0.<br><br>When I try implementing a looping visualization network, similar to the example, I get an unhandled exception in vtkAlgorithm::ComputePipelineMTime<br>
<br>My questions are,<br>why are looping visualization networks no longer allowed?<br>what are we supposed to do instead?<br>and
are there other (better) ways of maintaining a modified model? Perhaps
I have to use ITK classes (i.e. DeformableModelSimplexMesh example in
ITK's InsightApplications)?<br>
<br>thank you<br><hr>Are you ready for Windows Live Messenger Beta 8.5 ? <a href="http://entertainment.sympatico.msn.ca/WindowsLiveMessenger" target="_blank">Get the latest for free today!</a></div>
<br>_______________________________________________<br>
This is the private VTK discussion list.<br>
Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br>