Dear Fabian,<br><br>Without code it is not easy to answer you. You should connect the signal QSlider::valueChanged() or (QSlider::sliderMoved()) to a slot which will modify the color of the points in the cloud. The modification of the color can be realized at the level of the actor if all your points has the same color (vtkActor) or directly in the source of your cloud if each point has a different color (using a vtkLookupTable for example). Then, it will be enough to see the modification of the color.<br>
<br>Arnaud<br><br><div class="gmail_quote">On Fri, Oct 26, 2012 at 2:24 PM, Fabian <span dir="ltr"><<a href="mailto:fabian-richter@gmx.de" target="_blank">fabian-richter@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
I have a problem with a mybe quite easy solution; but I don't even get a<br>
concept to solve.<br>
<br>
I have a RenderWindow in an QT application. It shows a pointcloud with each<br>
point being colored (lets say in grey values).<br>
<br>
Now I want to install a slider with a ratio between 0 and 100.<br>
<br>
What I want to do is, that when I put the slider on 32%, then the darkest<br>
32% of the points are faded out.<br>
<br>
How can I update Renderwindow to do this?<br>
<br>
I wrote a visualize-function which I would like to keep. Its return value is<br>
the RenderWindow for the QVTKWidget.<br>
<br>
I am afraid, that I need to call my visualize-function each time I move the<br>
slider and I dont know, how to return these RenderWindows to QT.<br>
<br>
Thanks alot, I really appreciate Your advices,<br>
Fabian<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Change-Objects-in-active-vtkRenderWindow-using-QT-tp5716830.html" target="_blank">http://vtk.1045678.n5.nabble.com/Change-Objects-in-active-vtkRenderWindow-using-QT-tp5716830.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<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>
</blockquote></div><br>