X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_ResultPrs.h;h=62b82389c6febed609181ae4ed5a5a53d15750a7;hb=5746238455553297ce5333502e6f27e6e5d9348b;hp=068cffe93cc8b0dfab8b4d60bec4ffa5f95eae12;hpb=a5de5c3d56114f3a75862ce9e8099ced4283e07d;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_ResultPrs.h b/src/ModuleBase/ModuleBase_ResultPrs.h index 068cffe93..62b82389c 100644 --- a/src/ModuleBase/ModuleBase_ResultPrs.h +++ b/src/ModuleBase/ModuleBase_ResultPrs.h @@ -21,17 +21,21 @@ public: Standard_EXPORT ResultPtr getResult() const { return myResult; } - Standard_EXPORT virtual Standard_Boolean AcceptDisplayMode(const Standard_Integer theMode) const; - DEFINE_STANDARD_RTTI(ModuleBase_ResultPrs) protected: - 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); + Standard_EXPORT virtual void ComputeSelection(const Handle(SelectMgr_Selection)& aSelection, + const Standard_Integer aMode) ; + private: ResultPtr myResult; bool myIsSketchMode; + + TopoDS_Shape myOriginalShape; + std::list > myFacesList; };