<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt">Not a vtk expert, but typically you have trigger the change through a call to Modified(). This is my "unofficial" non-expert understanding. You'd have to do something like the following:<br><br><br>vtkCustomPolyDataAlgorithm* custom;<br>custom-&gt;Modified( );<br><br>This should let the pipeline know that there is an explicit change forcing it to call RequestData( );<br>Render( ) assumes graphics need to be updated( ie mappers, renderers, etc), but not the data sources (readers, polydataalgorithms, etc. )<br><br>-Tim-<br><br><br><div><div><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Yaroslav Tenzer
 &lt;krakadil.gena@gmail.com&gt;<br>To: vtkusers@vtk.org<br>Sent: Friday, September 19, 2008 9:52:11 AM<br>Subject: [vtkusers] pipeline<br><br>
<div dir="ltr"><p class="MsoPlainText" style="margin: 0cm 0cm 0pt;"><font size="3" face="Consolas">Hello,</font></p>
<div class="MsoPlainText" style="margin: 0cm 0cm 0pt;"><font size="3" face="Consolas"></font>&nbsp;</div>
<div class="MsoPlainText" style="margin: 0cm 0cm 0pt;">
<p class="MsoPlainText" style="margin: 0cm 0cm 0pt;"><font size="3" face="Consolas">Can you help please .. I am lost ....</font></p>
<p class="MsoPlainText" style="margin: 0cm 0cm 0pt;"><font size="3" face="Consolas"></font>&nbsp;</p>
<p class="MsoPlainText" style="margin: 0cm 0cm 0pt;"><font size="3" face="Consolas">In my application, after the method render() is called, the screen is redrawn and the objects do change position on the screen (based on the hardware inputs), but&nbsp;<font size="2">RequestData method</font>&nbsp;of a custom class based on vtkPolyDataAlgorithm&nbsp;is not&nbsp;invoked.... it seems that the pipeline is not fully executed ... </font></p>

<p class="MsoPlainText" style="margin: 0cm 0cm 0pt;"><font size="3" face="Consolas"></font>&nbsp;</p>
<p class="MsoPlainText" style="margin: 0cm 0cm 0pt;"><font size="3" face="Consolas">the algorithm class is&nbsp;located between the reader and the mapper ...</font></p></div>
<div class="MsoPlainText" style="margin: 0cm 0cm 0pt;">&nbsp;</div>
<div class="MsoPlainText" style="margin: 0cm 0cm 0pt;"><font size="3" face="Consolas">When I call the Render() on RendererWindow, it should execute all the pipeline, shouldnot it ?</font></div>
<div class="MsoPlainText" style="margin: 0cm 0cm 0pt;"><font size="3" face="Consolas">How can I debug the the pipeline execution ?</font></div>
<div class="MsoPlainText" style="margin: 0cm 0cm 0pt;"><font size="3" face="Consolas"></font>&nbsp;</div>
<div class="MsoPlainText" style="margin: 0cm 0cm 0pt;"><font size="3" face="Consolas">I am trying to develop a haptic system in C++ environment with QT+VTK ... </font></div>
<div class="MsoPlainText" style="margin: 0cm 0cm 0pt;"><font size="3" face="Consolas">For the collision detection I am trying to use&nbsp;the vtkCollisionDetectionFilter by Goodwin Lawlor</font></div>
<div class="MsoPlainText" style="margin: 0cm 0cm 0pt;"><font size="3" face="Consolas"></font>&nbsp;</div>
<div class="MsoPlainText" style="margin: 0cm 0cm 0pt;"><font size="3" face="Consolas">Maybe you are also aware of an&nbsp;open source haptic system implementation based on vtk ? </font></div>
<div class="MsoPlainText" style="margin: 0cm 0cm 0pt;"><font size="3" face="Consolas"></font>&nbsp;</div>
<p class="MsoPlainText" style="margin: 0cm 0cm 0pt;"><font size="3" face="Consolas">Thank you !</font></p>
<div class="MsoPlainText" style="margin: 0cm 0cm 0pt;"><font size="3" face="Consolas">yaroslav</font></div>
<div class="MsoPlainText" style="margin: 0cm 0cm 0pt;"><font size="3" face="Consolas"></font>&nbsp;</div>
<div class="MsoPlainText" style="margin: 0cm 0cm 0pt;"><a rel="nofollow" target="_blank" href="http://www.yaroslavtenzer.com/">www.yaroslavtenzer.com</a></div>
<div class="MsoPlainText" style="margin: 0cm 0cm 0pt;">&nbsp;</div></div>
</div></div></div></div><br>

      </body></html>