OpenLexocad  27.1
MaterialConstituentSet.h
Go to the documentation of this file.
1 #pragma once
2 
6 
7 FORWARD_DECL(App, MaterialConstituentSet)
8 
9 namespace OpenLxApp
10 {
23 class LX_OPENLXAPP_EXPORT MaterialConstituentSet : public MaterialDefinition, public MaterialSelect
24 {
25  PROXY_HEADER(MaterialConstituentSet, App::MaterialConstituentSet, IFCMATERIALCONSTITUENTSET)
26 
29 
30 public:
32 
33  std::vector<std::shared_ptr<MaterialConstituent>> getMaterialConstituents() const;
34  void setMaterialConstituents(const std::vector<std::shared_ptr<MaterialConstituent>>& aMaterialConstituents);
35  void addMaterialConstituent(std::shared_ptr<MaterialConstituent> aMaterialConstituent);
36  void removeMaterialConstituent(std::shared_ptr<MaterialConstituent> aMaterialConstituent);
37 
38 private:
40 };
41 
42 } // namespace OpenLxApp
Super-class of all Materials.
Definition: MaterialDefinition.h:25
MaterialSelect provides selection of either a material definition or a material usage definition that...
Definition: MaterialSelect.h:30
#define PROXY_HEADER(_openlexocadclass_, _corelexocadclass_, _type_)
Definition: Globals.h:146
A Utf-16 (windows) or ucs4 (unix) encoded string class.
Definition: String.h:23
MaterialConstituentSet is a collection of individual material constituents, each assigning a material...
Definition: MaterialConstituentSet.h:23
Definition: ActiveScript.h:7
#define DECL_PROPERTY(_class_, _name_, _type_)
DECL_PROPERTY and DEFINE_PROPERTY are macros used for mapping between the properties of Lexocad objec...
Definition: Globals.h:242
#define FORWARD_DECL(x, y)
Definition: Globals.h:93