1 // File: PartSet_Presentation.h
2 // Created: 02 Jun 2014
3 // Author: Natalia ERMOLAEVA
5 #ifndef PartSet_Presentation_H
6 #define PartSet_Presentation_H
10 #include <TopoDS_Shape.hxx>
12 #include <ModelAPI_Feature.h>
14 #include <boost/shared_ptr.hpp>
16 class Handle_AIS_InteractiveObject;
19 \class PartSet_Presentation
20 * \brief The operation for the sketch feature creation
22 class PARTSET_EXPORT PartSet_Presentation
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,
31 const TopoDS_Shape& theShape,
32 Handle_AIS_InteractiveObject thePrevPrs);
34 static Handle_AIS_InteractiveObject createFeature(
35 FeaturePtr theFeature,
36 const TopoDS_Shape& theShape,
37 Handle_AIS_InteractiveObject thePrevPrs);
39 static Handle_AIS_InteractiveObject createSketchConstraintLength(
40 FeaturePtr theFeature,
42 Handle_AIS_InteractiveObject thePrevPrs);