[vtkusers] R: Delete vtk objects on exit
David Doria
daviddoria+vtk at gmail.com
Wed Dec 16 08:20:24 EST 2009
On Wed, Dec 16, 2009 at 7:47 AM, Zampini Samuele
<samuele.zampini at epfl.ch> wrote:
> Try with this.
>
> self.ren.RemoveAllViewProps()
>
> where ren is your renderer.
>
> Hope it works,
> Samuele
> ________________________________________
> Da: vtkusers-bounces at vtk.org [vtkusers-bounces at vtk.org] per conto di KS Jothybasu [jothybasu at gmail.com]
> Inviato: mercoledì 16 dicembre 2009 13.07
> A: vtkusers at vtk.org
> Oggetto: [vtkusers] Delete vtk objects on exit
>
> Hi all,
>
> I am trying to delete all the vtk objects on exit using the python command, for example del vtk.Renderer.
>
> But still, I get some strange images on startup.
>
> Any hints??
>
> Thanks
>
> Jothy
Jothy + all,
When you come across something basic (like this or plenty of other
things), please add an example to the Python section of the wiki
examples:
http://www.cmake.org/Wiki/VTK/Examples#Example_Usage_.28Python.29
Let's try to make this section as strong as the c++ examples section!
Thanks,
David
More information about the vtkusers
mailing list