[vtkusers] updating a scene

Luke J West ljw at soc.soton.ac.uk
Tue Jul 29 07:39:56 EDT 2003


Thanks for that reply, Jeff,

does anybody know of an example that demonstrates "turning actors on and off"

If I change my scene using _renderer->AddActor(...) or ->RemoveActor(...) after
rwi->Start(...) and ->Initialize(...) the scene remains unchanged on invocation
of either renderWindow->Render() and/or rwi->Render() in any order.

I have three Renderers but only one RenderWindow.

Perhaps there something else I need to do?

thanks,

luke

> _renderWindow->Render();
> 
> Luke J West wrote:
> 
> >Hi - should be an easy one...
> >
> >if I have changed a scene with ->AddActor and ->RemoveActor on a
> vtkRenderer,
> >what method do I call on what object to reflect the changes on my
> screenobject)
> >
> >thanks,
> >
> >
> >Luke J West : Research Assistant : e-Science
> >--------------------------------------------
> >Rm. 566/12, School of Ocean & Earth Sciences
> >Southampton Oceanography Centre, Southampton
> >SO14 3ZH  United Kingdom
> >--------------------------------------------
> >Tel: +44 23 8059 4801  Fax: +44 23 8059 3052
> >Mob: +44 79 6107 4783
> >
> >_______________________________________________
> >This is the private VTK discussion list. 
> >Please keep messages on-topic. Check the FAQ at:
> <http://public.kitware.com/cgi-bin/vtkfaq>
> >Follow this link to subscribe/unsubscribe:
> >http://www.vtk.org/mailman/listinfo/vtkusers
> >
> >
> >  
> >
> 
> 


Luke J West : Research Assistant : e-Science
--------------------------------------------
Rm. 566/12, School of Ocean & Earth Sciences
Southampton Oceanography Centre, Southampton
SO14 3ZH  United Kingdom
--------------------------------------------
Tel: +44 23 8059 4801  Fax: +44 23 8059 3052
Mob: +44 79 6107 4783




More information about the vtkusers mailing list