1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 // File: PartSet_OperationPrs.h
4 // Created: 01 Jul 2015
5 // Author: Natalia ERMOLAEVA
7 #ifndef PartSet_OperationPrs_H
8 #define PartSet_OperationPrs_H
12 #include <ModelAPI_Result.h>
13 #include <ModelAPI_Feature.h>
15 #include <ViewerData_AISShape.hxx>
16 #include <Standard_DefineHandle.hxx>
18 DEFINE_STANDARD_HANDLE(PartSet_OperationPrs, ViewerData_AISShape)
22 * A redefinition of standard AIS Interactive Object in order to provide specific behaviour
23 * for wire presentations based in a one plane
25 class PartSet_OperationPrs : public ViewerData_AISShape
29 /// \param theResult a result object
30 Standard_EXPORT PartSet_OperationPrs(FeaturePtr theFeature);
32 DEFINE_STANDARD_RTTI(PartSet_OperationPrs)
34 /// Redefinition of virtual function
35 Standard_EXPORT virtual void Compute(
36 const Handle(PrsMgr_PresentationManager3d)& thePresentationManager,
37 const Handle(Prs3d_Presentation)& thePresentation, const Standard_Integer theMode = 0);
39 /// Redefinition of virtual function
40 Standard_EXPORT virtual void ComputeSelection(const Handle(SelectMgr_Selection)& aSelection,
41 const Standard_Integer aMode) ;
43 /// Reference to a feature object