Salome HOME
Create Presentation for rigid constraint
[modules/shaper.git] / src / ModuleBase / ModuleBase_ResultPrs.h
index 068cffe93cc8b0dfab8b4d60bec4ffa5f95eae12..0d2d058ce6540fefb7aa324a9b69464b50f311e5 100644 (file)
@@ -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<boost::shared_ptr<GeomAPI_Shape> > myFacesList;
 };