1 // Name : SketchAPI_SketchEntity.h
5 // 07/06/16 - Sergey POKHODENKO - Creation of the file
7 #ifndef SRC_SKETCHAPI_SKETCHAPI_SKETCHENTITY_H_
8 #define SRC_SKETCHAPI_SKETCHAPI_SKETCHENTITY_H_
10 //--------------------------------------------------------------------------------------
11 #include "SketchAPI.h"
13 #include <SketchPlugin_SketchEntity.h>
15 #include <ModelHighAPI_Interface.h>
16 #include <ModelHighAPI_Macro.h>
17 //--------------------------------------------------------------------------------------
18 /**\class SketchAPI_SketchEntity
20 * \brief Base class for Sketch feature interfaces
22 class SketchAPI_SketchEntity : public ModelHighAPI_Interface
25 /// Constructor without values
27 explicit SketchAPI_SketchEntity(const std::shared_ptr<ModelAPI_Feature> & theFeature);
30 virtual ~SketchAPI_SketchEntity();
34 std::shared_ptr<ModelAPI_AttributeBoolean> auxiliary() const;
38 void setAuxiliary(bool theAuxiliary);
40 /// Dump wrapped feature
41 virtual void dump(ModelHighAPI_Dumper& theDumper) const;
44 std::shared_ptr<ModelAPI_AttributeBoolean> myAuxiliary;
48 /// Check the entity is a copy of another feature
52 //! Pointer on SketchEntity object
53 typedef std::shared_ptr<SketchAPI_SketchEntity> SketchEntityPtr;
55 //--------------------------------------------------------------------------------------
56 //--------------------------------------------------------------------------------------
57 #endif /* SRC_SKETCHAPI_SKETCHAPI_SKETCHENTITY_H_ */