X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_ResultPrs.h;h=0d2d058ce6540fefb7aa324a9b69464b50f311e5;hb=43780ffac779af7f061513b0f6243f2edb73602c;hp=068cffe93cc8b0dfab8b4d60bec4ffa5f95eae12;hpb=dfe52d15bccf7cd7d3fec2dd842625dcc5df7437;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_ResultPrs.h b/src/ModuleBase/ModuleBase_ResultPrs.h index 068cffe93..0d2d058ce 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; };