[vtkusers] vtkAssembly content change

Nathanaël G. nathanael.geng at etudes-ng.net
Thu Mar 27 07:54:14 EDT 2014


Hello,

I m searching for the way to update my display (QWidget) when vtkAssembly
change (for eg addPart).

I try :
myRenderer->addActor(myAssembly); // myAssembly is an empty assembly
(.. display the widget, empty at this time ..)

(.. change assembly content, adding sphere actor like in vtkAssembly
example..)
myAssembly->addPart(sphereActor);
myAssembly->Modified();
myRenderWindows->Render();
myRenderer->Render();

This does not work, the display is still empty (no assembly part)

Thanks in advance for the help.

Best regards,

Nathanaël
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20140327/3383b121/attachment.html>


More information about the vtkusers mailing list