mir7942 Tue, 02/26/2002 - 06:43 Forums: Other usage issuesI want to display a point in a box. But the shaded box hides the point. Is there any way to enable this? Jérome Dufaure Tue, 02/26/2002 - 16:30 hello In order to see your point inside the box, you can display your box in wireframe mode or add transparency to your shaded box. good luck jerome Log in to post comments mir7942 Wed, 02/27/2002 - 03:35 Thank you for your reply. But I want to see my point inside the box in shaded mode. For example, CAD systems, such as CATIA V5, Solid Works and etc, implements this to show datums and sketch entities hidden by solid body. Log in to post comments kim wj Wed, 02/27/2002 - 17:42 Handle_AIS_InteractiveContext ctxt=new ... //display box Handle_AIS_Shape ais_box=new ... ctxt->Display(ais_box); //draw point Visual3d_TransientManager::BeginDraw(); Handle_Graphic3d_Structure str_pt=new... Visual3d_TransientManager::DrawStructure(str_pt); //update view viewer->Update(); This will make the point always displayed on top of your screen, regardless of shaded or wireframe mode. Log in to post comments
Tue, 02/26/2002 - 16:30
hello
In order to see your point inside the box, you can display your box in wireframe mode or add transparency to your shaded box.
good luck
jerome
Wed, 02/27/2002 - 03:35
Thank you for your reply.
But I want to see my point inside the box in shaded mode.
For example, CAD systems, such as CATIA V5, Solid Works and etc, implements this to show datums and sketch entities hidden by solid body.
Wed, 02/27/2002 - 17:42
Handle_AIS_InteractiveContext ctxt=new ...
//display box
Handle_AIS_Shape ais_box=new ...
ctxt->Display(ais_box);
//draw point
Visual3d_TransientManager::BeginDraw();
Handle_Graphic3d_Structure str_pt=new...
Visual3d_TransientManager::DrawStructure(str_pt);
//update view
viewer->Update();
This will make the point always displayed on top of your screen, regardless of shaded or wireframe mode.