I have a question about using the Viusal3d package. I want to use the Visual3d package instead of the V3d package because it allows one to modify the view mapping in detail. The problem is that I don't know which function I have to use if I want to display an interactice object, like a shape. In an older version of my software I used the V3d package to create the interactive context. Here is the old code snippet
// Get Graphic device of application
Handle(Graphic3d_WNTGraphicDevice) GraphicDevice =
// Create new viewer
m_3dviewer = new V3d_Viewer(GraphicDevice,(short *) "Visu3D");
// Create interactive context
m_AISContext = new AIS_InteractiveContext(m_3dviewer);
Later I dispay a shape with the following code:
// Display shape
So how can I display the shape with an interactive context using the Visual3d package? It can't be so difficult, but I didn't find anything withing the OCC documentation.
Thanks for your help!!!