OpenLexocad  27.0
MaterialConstituent.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <OpenLxApp/Material.h>
7 
8 FORWARD_DECL(App, MaterialConstituent)
9 
10 namespace OpenLxApp
11 {
28 {
29  PROXY_HEADER(MaterialConstituent, App::MaterialConstituent, IFCMATERIALCONSTITUENT)
30 
33  DECL_PROPERTY(MaterialConstituent, Fraction, double)
35 
36 public:
38 
39  void setMaterial(std::shared_ptr<Material> aMaterial);
40  std::shared_ptr<Material> getMaterial() const;
41 
42 private:
44 };
45 
46 } // 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
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
IfcMaterialConstituent is a single and identifiable part of an element which is constructed of a numb...
Definition: MaterialConstituent.h:27
#define FORWARD_DECL(x, y)
Definition: Globals.h:96