[vtkusers] Timer Event

Orlando Hernandez orlandomhb at yahoo.com
Fri Jun 14 15:22:09 EDT 2002


--- Robert Belleman <robbel at science.uva.nl> wrote:
> Jagan,
> 
> If by "asynchronous call" you mean that multiple
> threads access the
> X server, try adding a call to XInitThreads() just
> after the render
> window is created.
> 
> -- Rob
> 
> -- 
> [] Robert Belleman         X  Section Computational
> Science            []
> [] robbel at science.uva.nl  |X| University of
> Amsterdam, the Netherlands []
> [] tel: (+31) 20 525 7510  X 
> http://www.science.uva.nl/~robbel/       []
> 
> > Hi All,
> >
> > In my application main I have the following code.
> >
> > main()
> > {
> >  CompositerServer cs = new CompositerServer();
> >
> >      cs.reader1 = new vtkTIFFReader();
> >      cs.reader1.SetFileName("./Test.tif");
> >
> >      vtkRenderWindowInteractor iren = new
> vtkRenderWindowInteractor();
> >     
> iren.SetRenderWindow(cs.viewer.GetRenderWindow());
> > 		.
> > 		.
> > 		.
> >
> >      cs.viewer.Render();
> >      iren.Start();
> > }
> >
> > When I set the cs.viewer.SetOutput() and call
> cs.viewer.Render() in an
> > asynchronous call I get an X-Window error. Any
> help?
> >
> > thanks much
> > -jagan
> 
> 
> 
> 
> 
> _______________________________________________
> 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://public.kitware.com/mailman/listinfo/vtkusers


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com



More information about the vtkusers mailing list