<div dir="ltr">So far I have a rough working version, see attached, that seems to do everything that the Tcl version does.<div><br></div><div>However I have a problem in that the following message is generated on exit: "A TkRenderWidget is being destroyed before it associated vtkRenderWindow is destroyed.This is very bad and usually due to the order in which objects are being destroyed.Always destroy the vtkRenderWindow before destroying the user interface components."</div><div><br></div><div>If you look at OnClosing(), I have deleted any attached renderers , then the render window and finally destroyed the root.</div><div><br></div><div>Does anyone know what more I need to do in order to remove this error message? As far as I can see the vtkRenderWindow is destroyed.</div><div><br></div><div>Thanks for any help.</div><div><br></div><div>Andrew</div><div><br></div><div><div><br></div>-- <br><div class="gmail_signature">___________________________________________<br>Andrew J. P. Maclean<br><br>___________________________________________</div>
</div></div>