Hide menu
Loading...
Searching...
No Matches
cadex::ModelData_BIMMaterial Class Reference

Material represents a substance that can be used to form physical elements, e.g particular cement, steel, plastic, wood, etc. Material entity can be attached to Construction Element instance. Material can be defined with: More...

Inheritance diagram for cadex::ModelData_BIMMaterial:
cadex::Base_PublicObject

Public Member Functions

 ModelData_BIMMaterial ()
 Constructor.
 
const Base_UTF16StringName () const
 Returns the name of material.
 
void SetName (const Base_UTF16String &theName)
 Sets the name of material.
 
const Base_UTF16StringDescription () const
 Returns the description of material.
 
void SetDescription (const Base_UTF16String &theDescription)
 Sets the description of material.
 
const Base_UTF16StringCategory () const
 Returns the category of material.
 
void SetCategory (const Base_UTF16String &theCategory)
 Sets the category of material.
 
void SetAppearance (const ModelData_Appearance &theAppearance)
 Sets the material appearance.
 
ModelData_Appearance Appearance () const
 Returns the material appearance.
 
ModelData_BIMPropertyLibrary Properties () const
 Returns an object for manage material properties.
 
- Public Member Functions inherited from cadex::Base_PublicObject
void Nullify ()
 Resets reference to implementation object.
 
bool IsNull () const
 Returns true if the object is nullified.
 
 operator bool () const
 Casts the object to the bool type.
 
internal::Base_HandledObject * Impl () const
 Return a handle to backend (reserved for internal use).
 

Additional Inherited Members

- Protected Member Functions inherited from cadex::Base_PublicObject
 Base_PublicObject (const internal::Base_HandledObject *theObject)
 Constructor (reserved for internal use).
 
template<typename T >
T * GetOrCreateImpl ()
 Reserved for internal use.
 

Detailed Description

Material represents a substance that can be used to form physical elements, e.g particular cement, steel, plastic, wood, etc. Material entity can be attached to Construction Element instance. Material can be defined with:

  • text data (name, description and category);
  • appearance data (with ModelData_Appearance approach);
  • arbitrary data (with ModelData_BIMPropertyLibrary approach) - for attaching different physical based properties (e.g. mass density, porosity, Young modulus, etc.)

Constructor & Destructor Documentation

◆ ModelData_BIMMaterial()

cadex::ModelData_BIMMaterial::ModelData_BIMMaterial ( )

Constructor.

Creates empty material.

Member Function Documentation

◆ Appearance()

ModelData_Appearance cadex::ModelData_BIMMaterial::Appearance ( ) const

Returns the material appearance.

Material appearance can influence the elements with this material.

◆ SetAppearance()

void cadex::ModelData_BIMMaterial::SetAppearance ( const ModelData_Appearance theAppearance)

Sets the material appearance.

Material appearance can influence the elements with this material.