[vtkusers] vtkBoxWidget::EnableOn

Charl P. Botha c.p.botha at ewi.tudelft.nl
Fri Aug 8 09:42:33 EDT 2003


On Fri, 2003-08-08 at 15:06, Mathieu Malaterre wrote:
> 	I wrote a small python script, where I would like to display a 
> vtkBoxWidget. But I can't get EnabledOn to work properly.

You're enabling the BoxWidget far too early... Try calling
CreateBoxWidget() at the earliest AFTER your assignment of the renderer
to the renderwindow.

-- 
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/



More information about the vtkusers mailing list