You should post the question to the VMTK mailing list then.. <br><br><div class="gmail_quote">On Wed, Oct 28, 2009 at 10:41 AM, Zampini Samuele <span dir="ltr">&lt;<a href="mailto:samuele.zampini@epfl.ch">samuele.zampini@epfl.ch</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Thanks a lot...<br>
<br>
Actually, I did a stupid mistake since I am using a vmtk instance and not a vtk one.<br>
<br>
So that I have to choose a different way out...<br>
<br>
Could you help???<br>
<br>
The error I get is this:<br>
<br>
Reading VTK XML image file.<br>
Spacing  (0.48828101157999998, 0.48828101157999998, 0.39999961852999999)<br>
Origin  (0.0, 0.0, 0.0)<br>
Dimensions  (512, 512, 548)<br>
Traceback (most recent call last):<br>
  File &quot;vmtkgui.py&quot;, line 128, in call_VOI<br>
    self.vmtkinterface.VOI(self.vmtkinterface.input_filename, self.vmtkinterface.output_filename)<br>
  File &quot;/amd/smana1/root/cmcs/zampini/valvestent/code/gui_apps/example/gui_python/vmtkinterface.py&quot;, line 156, in VOI<br>
    self.vmtkRenderer.RemoveAllViewProps()<br>
AttributeError: &#39;vmtkRenderer&#39; object has no attribute &#39;RemoveAllViewProps&#39;<br>
<br>
<br>
<br>
Thanks a lot,<br>
<br>
Samuele.<br>
<br>
<br>
________________________________________<br>
Da: Karthik Krishnan [<a href="mailto:karthik.krishnan@kitware.com">karthik.krishnan@kitware.com</a>]<br>
Inviato: mercoledė 28 ottobre 2009 13.23<br>
A: Zampini Samuele<br>
Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Oggetto: Re: [vtkusers] Deleting / Hiding all the objects in a window<br>
<br>
On Wed, Oct 28, 2009 at 7:49 AM, Zampini Samuele<br>
&lt;<a href="mailto:samuele.zampini@epfl.ch">samuele.zampini@epfl.ch</a>&gt; wrote:<br>
&gt; Dear all,<br>
&gt;<br>
&gt; I would like to delete (or hide) all the objects that I have in a windows before adding other objects.<br>
<br>
Either renderer-&gt;RemoveAlllViewProps() or<br>
Iterate thru the prop collection of the renderer in question<br>
(renderer-&gt;GetViewProps()) and set its visibility to 0<br>
<br>
&gt;<br>
&gt; How can I do this?<br>
&gt;<br>
&gt; Thanks a lot,<br>
&gt;<br>
&gt; samuele.<br>
&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; 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>
&gt;<br>
&gt; 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>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;<br>
</blockquote></div><br><br clear="all"><br>