You better have a look at vtkVisualize2DCellsLevelSetTest.cxx (which is, I guess, what you want).<br><br>Which version of ITK are you using?<br><br>Have you compiled ITK and VTK in Release mode?<br><br><br><div class="gmail_quote">

On Tue, Mar 20, 2012 at 2:48 PM, tomtom <span dir="ltr">&lt;<a href="mailto:ms.rit@web.de">ms.rit@web.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

Ok, I followed the advise given and adjusted my code.<br>
<a href="http://itk-insight-users.2283740.n2.nabble.com/file/n7389186/WhitakerCommandIterationUpdate.h" target="_blank">http://itk-insight-users.2283740.n2.nabble.com/file/n7389186/WhitakerCommandIterationUpdate.h</a><br>


WhitakerCommandIterationUpdate.h<br>
<br>
Now the intensity image is shown as it is supposed.<br>
But some more problems came up:<br>
<br>
- Using the WhitakerCommandIterationUpdate.h as listed, causes that the<br>
initial level set is shown, but then the curve disappears. So somehow the<br>
update doesn&#39;t work properly, for me.<br>
<br>
- It takes at least 15 seconds until the opengl window appears. I can&#39;t<br>
believe that this is normal.<br>
<br>
Any advice?<br>
<br>
--<br>
View this message in context: <a href="http://itk-insight-users.2283740.n2.nabble.com/Problems-with-levelsetsv4-visualization-tp7388989p7389186.html" target="_blank">http://itk-insight-users.2283740.n2.nabble.com/Problems-with-levelsetsv4-visualization-tp7388989p7389186.html</a><br>


<div class="HOEnZb"><div class="h5">Sent from the ITK Insight 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<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><span><font color="#888888">Arnaud Gelas, Ph. D.<br>Avenue Beauregard 30<br>CH-1700 Fribourg<br>Switzerland<br>cellphone: (+41) 76-635-08-66<br>phone: (+41) 26-535-44-36<br>


<a href="mailto:arnaudgelas@gmail.com" target="_blank">arnaudgelas@gmail.com</a></font></span><br>