| Clearing Prs3d_Presentation |
 |
| Rakesh Lingam |
2012/07/09 11:09 |
I wanted to display intersection of two curves. I used Handle(Prs3d_Presentation) numbering them for recognizing. In the next operation I want to clear these points.
The points are cleared or AIS_InteractiveContext is cleared by the point numbers or Prs3d_Presentation is not cleared. How to do this?
I have used the following code to display text
Handle(Prs3d_Presentation) myPresentation= new Prs3d_Presentation(myAISContext->CurrentViewer()->Viewer(),Standard_True);
Handle(Prs3d_TextAspect) aTextAspect= new Prs3d_TextAspect();
aTextAspect->SetHeight(15);
Prs3d_Text::Draw(myPresentation,aTextAspect,aTCoText, Point);
myPresentation->Display();
and tried
myPresentation->Clear();
Thanks and Regards
Rakesh Lingam |
 |
| | | |