[vtkusers] Python and vtkPoints/vtkFloatArray problem

David C Thompson dcthomp at sandia.gov
Wed May 17 15:55:23 EDT 2006


> ...
> But, all I see is the render window, without any display of points, or
> any errors to point out what might be going wrong. The program is
> given below - I'd appreciate  any help on this.
> ...
> ren = vtk.vtkRenderer()
> renWin = vtk.vtkRenderWindow()
> iren = vtk.vtkRenderWindowInteractor()
> renWin.AddRenderer(ren)
> iren.SetRenderWindow(renWin)
> ren.AddActor(glActor)
> iren.Initialize()
Well, at a minimum, you need to add
  iren.Start()
to the end of the program so that the interactor will start processing
events.

	David




More information about the vtkusers mailing list