OpenLexocad  27.0
MaterialConstituentSet.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <OpenLxApp/Material.h>
8 
9 FORWARD_DECL(App, MaterialConstituentSet)
10 
11 namespace OpenLxApp
12 {
26 {
27  PROXY_HEADER(MaterialConstituentSet, App::MaterialConstituentSet, IFCMATERIALCONSTITUENTSET)
28 
31 
32 public:
34 
35  std::vector<std::shared_ptr<MaterialConstituent>> getMaterialConstituents() const;
36  void setMaterialConstituents(const std::vector<std::shared_ptr<MaterialConstituent>>& aMaterialConstituents);
37  void addMaterialConstituent(std::shared_ptr<MaterialConstituent> aMaterialConstituent);
38  void removeMaterialConstituent(std::shared_ptr<MaterialConstituent> aMaterialConstituent);
39 
40 private:
42 };
43 
44 } // 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:32
#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
MaterialConstituentSet is a collection of individual material constituents, each assigning a material...
Definition: MaterialConstituentSet.h:25
Definition: ActiveScript.h:9
#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:245
#define FORWARD_DECL(x, y)
Definition: Globals.h:96