[IGSTK-Developers] View does not show in Widget

Patrick Cheng cheng at isis.georgetown.edu
Thu Jan 31 14:23:16 EST 2008


Hi Andinet,

I found there is an issue with the View class.

Normally, in the testing code. We will call

widget2D->RequestSetView( view2D );

Before we finish creating the GUI.

form->end();
form->show();

This works out pretty well.


But if we move the RequestSetView call out of the GUI code, after 
form->show. The render windows will not be contained in the widget.

You can verify this by moving line 87 in
igstkCoordinateReferenceSystemObjectWithViewTest
Out of the GUI code.

Thank you,

Patrick




More information about the IGSTK-Developers mailing list