X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSet%2FPartSet_ResultSketchPrs.h;h=b374c0a7b04bf624a807c4d1b2964687a0259953;hb=35fe8b5049c223feef74dc631f5c2faeafa49483;hp=f303adec9999dcfec9b41c35a4335a3b5ee2370c;hpb=36358763f1b843f3d5cfc49b9bd56a9a9b0b7771;p=modules%2Fshaper.git diff --git a/src/PartSet/PartSet_ResultSketchPrs.h b/src/PartSet/PartSet_ResultSketchPrs.h index f303adec9..b374c0a7b 100755 --- a/src/PartSet/PartSet_ResultSketchPrs.h +++ b/src/PartSet/PartSet_ResultSketchPrs.h @@ -29,10 +29,11 @@ public: /// \param theResult a result object Standard_EXPORT PartSet_ResultSketchPrs(ResultPtr theResult); - DEFINE_STANDARD_RTTI(PartSet_ResultSketchPrs) + DEFINE_STANDARD_RTTIEXT(PartSet_ResultSketchPrs, ViewerData_AISShape) protected: /// Redefinition of virtual function - Standard_EXPORT virtual void Compute(const Handle(PrsMgr_PresentationManager3d)& thePresentationManager, + Standard_EXPORT virtual void Compute( + const Handle(PrsMgr_PresentationManager3d)& thePresentationManager, const Handle(Prs3d_Presentation)& thePresentation, const Standard_Integer theMode = 0); /// Redefinition of virtual function @@ -45,7 +46,8 @@ private: /// \param theShape a shape /// \param theTypeOfSelection type of selection: VERTEX, EDGE, WIRE void appendShapeSelection(const Handle(SelectMgr_Selection)& theSelection, - const TopoDS_Shape& theShape, const TopAbs_ShapeEnum& theTypeOfSelection); + const TopoDS_Shape& theShape, + const TopAbs_ShapeEnum& theTypeOfSelection); /// Sets color/line style/width of the presentation depending on the parameter state /// \param isAuxiliary a boolean value if the properties are for auxiliary objects