On Wed, Jul 06, 2011 at 02:00:47PM +0200, Luca Penasa wrote:
>    How can i update the object seen into my scene if i have modified the
>    "cloud" object?
>    For example: i call AddGridToScene, and after that i delete some points
>    from "cloud", how can i update the scene ?
>    I tried with self.tvtksource.update(), self.tvtksource.modified(), 
>    self.source.update() but those does not work!!

You'll definitely need the 'modified()' call. In addition, try:

self.engine.current_scene.render()

HTH,

Gael

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
MayaVi-users mailing list
MayaVi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mayavi-users

Reply via email to