Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Search the Forums
See All Topics
 

Clearing Prs3d_Presentation

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
 
 
Latest news
  • Open CASCADE Technology 6.8.0 is available for download!
  • New features to enhance the development process
  • Open CASCADE Technology 6.7.1 is available for download!

  • © OPEN CASCADE 2000 - 2014  |  Search  |  Contacts   |  Site map