1 // File: ModuleBase_ResultPrs.h
2 // Created: 21 October 2014
3 // Author: Vitaly SMETANNIKOV
5 #ifndef ModuleBase_ResultPrs_H
6 #define ModuleBase_ResultPrs_H
8 #include "ModuleBase.h"
10 #include <ModelAPI_Result.h>
12 #include <AIS_Shape.hxx>
13 #include <Standard_DefineHandle.hxx>
15 DEFINE_STANDARD_HANDLE(ModuleBase_ResultPrs, AIS_Shape)
17 class ModuleBase_ResultPrs: public AIS_Shape
20 Standard_EXPORT ModuleBase_ResultPrs(ResultPtr theResult);
22 Standard_EXPORT ResultPtr getResult() const { return myResult; }
24 DEFINE_STANDARD_RTTI(ModuleBase_ResultPrs)
26 Standard_EXPORT virtual void Compute(const Handle(PrsMgr_PresentationManager3d)& thePresentationManager,
27 const Handle(Prs3d_Presentation)& thePresentation, const Standard_Integer theMode = 0);
29 Standard_EXPORT virtual void ComputeSelection(const Handle(SelectMgr_Selection)& aSelection,
30 const Standard_Integer aMode) ;
37 TopoDS_Shape myOriginalShape;
38 std::list<std::shared_ptr<GeomAPI_Shape> > myFacesList;