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 Standard_EXPORT virtual Standard_Boolean AcceptDisplayMode(const Standard_Integer theMode) const;
26 DEFINE_STANDARD_RTTI(ModuleBase_ResultPrs)
28 void Compute(const Handle(PrsMgr_PresentationManager3d)& thePresentationManager,
29 const Handle(Prs3d_Presentation)& thePresentation, const Standard_Integer theMode = 0);