For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Inherit problem from AIS_InteractiveObject

seumonkey's picture

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 !