20 #ifndef SRC_SKETCHAPI_SKETCHAPI_MIRROR_H_
21 #define SRC_SKETCHAPI_SKETCHAPI_MIRROR_H_
24 #include "SketchAPI.h"
25 #include "SketchAPI_SketchEntity.h"
29 #include <SketchPlugin_ConstraintMirror.h>
31 #include <ModelHighAPI_Interface.h>
32 #include <ModelHighAPI_Macro.h>
46 explicit SketchAPI_Mirror(
const std::shared_ptr<ModelAPI_Feature> & theFeature);
51 const std::list<std::shared_ptr<ModelAPI_Object> > & theObjects);
Attribute that contains reference to an attribute of a feature or reference to a feature (switchable)
Definition: ModelAPI_AttributeRefAttr.h:33
Attribute that contains list of references to features (located in the same document).
Definition: ModelAPI_AttributeRefList.h:33
Represents any object in the data model and in the object browser.
Definition: ModelAPI_Object.h:45
Dump engine for the model.
Definition: ModelHighAPI_Dumper.h:81
Base class for feature interfaces.
Definition: ModelHighAPI_Interface.h:46
Class for filling ModelAPI_AttributeRefAttr.
Definition: ModelHighAPI_RefAttr.h:41
Interface for Mirror feature.
Definition: SketchAPI_Mirror.h:42
void setMirrorList(const std::list< std::shared_ptr< ModelAPI_Object > > &theObjects)
Set list of original objects.
Definition: SketchAPI_Mirror.cpp:50
virtual ~SketchAPI_Mirror()
Destructor.
Definition: SketchAPI_Mirror.cpp:46
virtual std::shared_ptr< ModelAPI_AttributeRefAttr > mirrorLine() const
Mirror line.
Definition: SketchAPI_Mirror.h:65
virtual void dump(ModelHighAPI_Dumper &theDumper) const
Dump wrapped feature.
Definition: SketchAPI_Mirror.cpp:70
virtual std::shared_ptr< ModelAPI_AttributeRefList > mirroredObjects() const
Mirrored objects.
Definition: SketchAPI_Mirror.h:65
virtual std::shared_ptr< ModelAPI_AttributeRefList > mirrorList() const
Mirror list.
Definition: SketchAPI_Mirror.h:65
virtual std::shared_ptr< ModelAPI_AttributeRefList > referenceObjects() const
Reference objects.
Definition: SketchAPI_Mirror.h:65
std::list< std::shared_ptr< SketchAPI_SketchEntity > > mirrored() const
List of mirrored objects.
Definition: SketchAPI_Mirror.cpp:56
SketchAPI_Mirror(const std::shared_ptr< ModelAPI_Feature > &theFeature)
Constructor without values.
Definition: SketchAPI_Mirror.cpp:27
Base class for Sketch feature interfaces.
Definition: SketchAPI_SketchEntity.h:38
static const std::string & MIRROR_LIST_ID()
List of objects to be mirrored.
Definition: SketchPlugin_ConstraintMirror.h:55
static const std::string & ID()
Mirror constraint kind.
Definition: SketchPlugin_ConstraintMirror.h:42
static const std::string & ENTITY_A()
First entity for the constraint.
Definition: SketchPlugin_Constraint.h:58
static const std::string & ENTITY_B()
Second entity for the constraint.
Definition: SketchPlugin_Constraint.h:64
static const std::string & ENTITY_C()
Third entity for the constraint.
Definition: SketchPlugin_Constraint.h:70