Wed, 05/24/2000 - 17:55
Forums:
We are using an in-house developed GUI package, and I haven't been able to find the proper way to combine OCC's V3d_Viewer and AIS_* with it. Is there an example in the documentation that I haven't found, or can someone post somthing?
Or could someone point me to the relevant documentation?
Thanks!
Wed, 05/24/2000 - 19:07
Try the following:
Handle_Xw_Window win = new Xw_Window(YourGraphDev,XtWindow(YourWidget),Xw_WQ_3DQUALITY, YourColor);
and now, use win as you like. For example place a view in it, like
if (!exist(win))
{
cerr << "3d window could not be created !!\n" << flush;
exit(-1);
}
// attach a view (V3d_View)
yourView->SetWindow(win);
// Fit the View to its parent window
yourView->MustBeResized();
with regards, Michael
-------------------------------------------------
University of Kaiserslautern
Research Group for Computer Application in Engineering Design
-------------------------------------------------