<pre style="font-family: Consolas; font-size: 13px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; ">
yourInteractor->Render();
</pre><br><div class="gmail_quote">On Thu, Oct 27, 2011 at 2:17 PM, Hikaruchan <span dir="ltr"><<a href="mailto:Sandra.Schroetter.fl@ait.ac.at">Sandra.Schroetter.fl@ait.ac.at</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi!<br>
<br>
I am new to VTK, and maybe it is an too simple question, but I do not get it<br>
work. Hope you can help me.<br>
<br>
I have an application with four renderviews (three 2D, one 3D), where I show<br>
my different MRI Slices (sagittal, coronal and axial, and in 3D all of<br>
them). Now I wanted to make a new Imagedata (which is no problem) and draw<br>
to it (which is no problem). After a user input I change some of the scalars<br>
of the imagedata (using GetScalarPointer()), but my changes are not<br>
displayed. I called<br>
<br>
electricDensityIma->Update(); //thats the vtkImageData<br>
<br>
after I have made my changes to imagedata.<br>
<br>
I don't know if it is important, but I make my image, then put a<br>
vtkImageGaussianSmooth on it, then a vtkImageMedian3D then a vtkImageReslice<br>
and so on.<br>
<br>
But I don't get it work, that the display is updated. Hope someone can help<br>
me and explain me how a imagedata can be changed during runtime and correcty<br>
updated and displayed.<br>
<br>
Thank you in advance and please excuse my bad english. :-)<br>
<font color="#888888"><br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/change-imagedata-during-runtime-tp4942953p4942953.html" target="_blank">http://vtk.1045678.n5.nabble.com/change-imagedata-during-runtime-tp4942953p4942953.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>
</font></blockquote></div><br>