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

Search the Forums
See All Topics
Open CASCADEShowroomGet it!Developer CornerSupport and ProductsAbout us
Technical overview
Areas of use
Advantages
FAQ
Screenshots
Shape factory
Shape gallery
Demonstrations
What's new
System requirements
Download Center
Public license
Documentation
Getting started
Forums
Open Source community
Training and e-learning
A-la Carte Support
Value-added software
Complementary Components
Customer Corner
Company Profile
Marketing Materials
Contact Us
News
Home / Developer Corner / Forums / Usage issues / Clearing Prs3d_Presentation

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.7.0 is available for download!
  • Open CASCADE Technology 6.6.0 is available for download!
  • Open CASCADE Technology 6.5.5 is available for download!

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