Jonathan, and the rest of the list,
As you suggest I am able to change camera position and upview etc.
Thank you very much for the link you provided for the wealth of
information.
There is however one thing I am not able to get to work.
In the same script I want to generate several plots and need to clear
the renderer inbetween. I tried:
vtk_clear
or
f.rendrer.Clear()
neither of these calls clears the actors that have previously been
added.
To check I called:
f.renderer.GetActors() but the number of actors stays the same before
and after the clear call.
Do you know what I could be overlooking or am I interpreting the meaning
of clear incorrectly.
Kind regards,
Lieven
Op Fri, Jul 27, 2007 at 02:26:12PM -0600, schreef Jonathan Stickel:
You can try something like
f = vtk_figure(0);
f.renderer.GetActiveCamera().SetPosition(0.8,0.5,1);
This is an example of accessing and changing vtk object properties.
Although not user friendly, complete vtk object documentation can be
found here:
http://www.vtk.org/doc/release/5.0/html/index.html
Jonathan