]> SALOME platform Git repositories - modules/shaper.git/blob - src/PartSet/PartSet_Presentation.h
Salome HOME
Replace boost::shared_ptr<ModelAPI_Feature> on FeaturePtr
[modules/shaper.git] / src / PartSet / PartSet_Presentation.h
1 // File:        PartSet_Presentation.h
2 // Created:     02 Jun 2014
3 // Author:      Natalia ERMOLAEVA
4
5 #ifndef PartSet_Presentation_H
6 #define PartSet_Presentation_H
7
8 #include "PartSet.h"
9
10 #include <TopoDS_Shape.hxx>
11
12 #include <ModelAPI_Feature.h>
13
14 #include <boost/shared_ptr.hpp>
15
16 class Handle_AIS_InteractiveObject;
17
18 /*!
19  \class PartSet_Presentation
20  * \brief The operation for the sketch feature creation
21 */
22 class PARTSET_EXPORT PartSet_Presentation
23 {
24 public:
25   /// Creates AIS presentation for the given feature
26   /// \param theFeature a feature
27   /// \return the presentation
28   static Handle_AIS_InteractiveObject createPresentation(
29                                               FeaturePtr theFeature,
30                                               FeaturePtr theSketch,
31                                               const TopoDS_Shape& theShape,
32                                               Handle_AIS_InteractiveObject thePrevPrs);
33 protected:
34   static Handle_AIS_InteractiveObject createFeature(
35                                               FeaturePtr theFeature,
36                                               const TopoDS_Shape& theShape,
37                                               Handle_AIS_InteractiveObject thePrevPrs);
38
39   static Handle_AIS_InteractiveObject createSketchConstraintLength(
40                                               FeaturePtr theFeature,
41                                               FeaturePtr theSketch,
42                                               Handle_AIS_InteractiveObject thePrevPrs);
43 };
44
45 #endif