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();
32 /// set the operation feature. It is used in Compute method to group the feature parameter shapes
33 /// theFeature a feature
34 void setFeature(FeaturePtr theFeature);
37 DEFINE_STANDARD_RTTI(PartSet_OperationPrs)
40 /// Redefinition of virtual function
41 Standard_EXPORT virtual void Compute(
42 const Handle(PrsMgr_PresentationManager3d)& thePresentationManager,
43 const Handle(Prs3d_Presentation)& thePresentation, const Standard_Integer theMode = 0);
45 /// Redefinition of virtual function
46 Standard_EXPORT virtual void ComputeSelection(const Handle(SelectMgr_Selection)& aSelection,
47 const Standard_Integer aMode) ;
49 /// Reference to a feature object