Any help on this, please?<br>Thanks<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">fausto</b> <span dir="ltr"><<a href="mailto:f4ust0f@gmail.com">f4ust0f@gmail.com</a>></span><br>
Date: Tue, Jan 26, 2010 at 2:02 PM<br>Subject: vtkActor events<br>To: <a href="mailto:vtk-developers@vtk.org">vtk-developers@vtk.org</a><br><br><br>Hi All,<br>I'm trying to catch events from a vtkActor that notify any modification that would cause the rendered image to appear differently. Usually I can use GetRedrawMTime to know this information, but instead of polling this information I need to listen for an event that notifies the modification of the timestamp related to the actor redrawing.<br>
<br>Unfortunately I don't receive any event and I'm wondering if such an event really exists on a vtkActor. <br>Resuming my code:<br><br>// create my vtkCommand callback<br>vtkCustomCallback* onModify = vtkCustomCallback::New();<br>
<br>// add the ModifiedEvent observer<br>actor->AddObserver(vtkCommand::ModifiedEvent, onModify);<br><br>When i modify my actor or any of its previous inputs (mappers, sources, etc), the vtkCustomCallback::Execute is never called.<br>
<br>Thanks in advance for your help.<br><font color="#888888">Fausto<br>
</font></div><br>