5 #include <Draw/DrawStyle.h> 6 #include <Draw/Texture2.h> 7 #include <Draw/Texture2Transform.h> 47 void setPlacementRelativeTo(std::shared_ptr<Element> other);
48 void setPlacementRelativeTo(std::shared_ptr<Element> other,
bool keepGlobalPosition);
49 std::shared_ptr<Element> getPlacementRelativeTo()
const;
54 bool setLayer(
int layernumber);
60 void addOpeningElement(std::shared_ptr<OpeningElement> aOpening);
61 void removeOpeningElement(std::shared_ptr<OpeningElement> aOpening);
62 void removeOpeningElements();
63 std::vector<std::shared_ptr<OpeningElement>> getOpeningElements()
const;
67 void addSubElement(std::shared_ptr<SubElement> aSubElement);
68 std::vector<std::shared_ptr<SubElement>> getSubElements()
const;
69 void removeSubElement(std::shared_ptr<SubElement> aSubElement);
70 void removeSubElements();
75 std::shared_ptr<OpeningElement> getFilledOpeningElement()
const;
80 void setAssociatedMaterial(std::shared_ptr<MaterialDefinition> aMaterialDefinition);
82 void removeAssociatedMaterial();
83 std::shared_ptr<MaterialSelect> getAssociatedMaterial()
const;
88 bool isTemporary()
const;
89 void setTemporary(
bool on);
90 std::shared_ptr<Group> getGroup()
const;
91 std::shared_ptr<Element> copy()
const;
107 void _copySubElems(App::Element* fromElem, std::shared_ptr<Element> toElem)
const;
The Product is an abstract representation of any object that relates to a geometric or spatial contex...
Definition: Product.h:41
An element is a generalization of all components that make up an AEC product. Those elements can be l...
Definition: Element.h:40
#define PROXY_HEADER(_openlexocadclass_, _corelexocadclass_, _type_)
Definition: Globals.h:149
A Utf-16 (windows) or ucs4 (unix) encoded string class.
Definition: String.h:29
#define OPENLXAPP_EXPORT
Definition: OpenLxApp_defines.h:12
Definition: ActiveScript.h:9
Definition: ShapeAttributes.h:24
Definition: CdwkAttributeData.h:8
Element()
Definition: Element.h:106
#define FORWARD_DECL(x, y)
Definition: Globals.h:96