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

Search the Forums
See All Topics

Inherit problem from AIS_InteractiveObject

Inherit problem from AIS_InteractiveObject
seumonkey 2012/12/18 08:52
I inherit a class :
class DblYellowLine: public AIS_InteractiveObject{}
and make a shape in the constructor func:
myShape = BRepBuilderAPI_MakeFace(aWire);
and overload the compute func:
void DblYellowLine::Compute(const Handle_PrsMgr_PresentationManager3d& aPresentationManager,const Handle_Prs3d_Presentation& aPresentation,const Standard_Integer aMode )
StdPrs_WFDeflectionShape::Add(aPresentation,myShape, myDrawer );
void DblYellowLine::Compute(const Handle_Prs3d_Projector& aProjector,     const Handle_Prs3d_Presentation& aPresentation)

and display like this:
DblYellowLine s;
But I cannot see anything. what is wrong ? Thank you for your help !
Latest news
  • Open CASCADE CAD Assistant for iOS platform is available!
  • Open CASCADE Technology 6.9.0 is available for download!
  • JT Assistant for Android

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