<div dir="ltr">Does your class has a <div>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,128)">Q_OBJECT</span></pre><pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,128)">macro included?</span></pre><pre style="margin-top:0px;margin-bottom:0px">
<span style="color:rgb(128,0,128)">Anka</span></pre><pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,128)"><br></span></pre><pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,128)"><br>
</span></pre></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 21, 2013 at 6:09 PM, Jose Ignacio Prieto <span dir="ltr"><<a href="mailto:joseignacio.prieto@gmail.com" target="_blank">joseignacio.prieto@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi all, <br></div>I think I am not fully understanding callbacks and signals. I have a qt project where the ui loads a vtk renderwindow. That render window has a callback (a box widget that has to update the clipping planes of the vtkvolume). After that I would like that inside the callback it emits a signal and the qvtkwidget then calls its renderwindow and renders all. <br>
</div>I couldn't emit a signal, so I made the class mycallback to inherit both from vtkcommand and qobject, and now it doesn't compile showing
<p style="margin:0px;text-indent:0px"><span style="color:rgb(190,20,20)">undefined reference to `vtable for vtkBoxCallback'</span></p><p style="margin:0px;text-indent:0px"><span style="color:rgb(190,20,20)"><br></span></p>
<div><div><div>What should I do?<br></div><div>Thanks<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div><br>-- <br>José Ignacio Prieto<br>celular(nuevo): 94348182
</div></font></span></div></div></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" 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" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<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></div>