|
CFx SDK Documentation 2026 SP0
|
#include <IfcSurfaceStyleLightingAutoImpl.h>
Public Member Functions | |
| const OdDAIObjectId & | getDiffuseTransmissionColour () const |
| void | setDiffuseTransmissionColour (const OdDAIObjectId &DiffuseTransmissionColour) |
| const OdDAIObjectId & | getDiffuseReflectionColour () const |
| void | setDiffuseReflectionColour (const OdDAIObjectId &DiffuseReflectionColour) |
| const OdDAIObjectId & | getTransmissionColour () const |
| void | setTransmissionColour (const OdDAIObjectId &TransmissionColour) |
| const OdDAIObjectId & | getReflectanceColour () const |
| void | setReflectanceColour (const OdDAIObjectId &ReflectanceColour) |
| virtual OdResult | inFields (OdDAI::OdSpfFilerBase *rdFiler) override |
| virtual OdResult | outFields (OdDAI::OdSpfFilerBase *wrFiler) override |
| virtual OdDAI::Entity * | getInstanceType () const override |
| virtual OdRxValue | getAttr (const char *attrName) const override |
| virtual bool | comparedToEarlyImpl (const OdDAI::ApplicationInstance *pOther, OdRx::Ordering &ordering) const override |
| virtual void | unsetAttr (const char *explicitAttrName) override |
| virtual bool | testAttr (const char *explicitAttrName) const override |
| virtual bool | putAttr (const char *explicitAttrName, const OdRxValue &val) override |
| virtual bool | isKindOf (OdIfc::OdIfcEntityType entityType) const override |
| virtual OdIfc::OdIfcEntityType | type () const override |
| virtual OdRxValue | getAttr (const OdIfc::OdIfcAttribute attrDef) const override |
| virtual void | unsetAttr (const OdIfc::OdIfcAttribute explicitAttrDef) override |
| virtual bool | testAttr (const OdIfc::OdIfcAttribute explicitAttrDef) const override |
| virtual bool | putAttr (const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val) override |
Public Member Functions inherited from OdIfc4::OdIfc4Instance | |
| void | setInverseCounterParts () override |
Public Member Functions inherited from OdIfc::OdIfcInstance | |
| ODRX_DECLARE_MEMBERS (OdIfcInstance) | |
| OdIfcInstance () | |
| ~OdIfcInstance () | |
| bool | isInstanceOf (OdIfcEntityType entityType) const |
| IfcOpResult | resolved () |
| void | resolve (IfcOpResult resolved, void *resPtr) |
| void | unresolve () |
| virtual void | setGsNode (OdGsCache *pGsNode) |
| virtual OdGsCache * | gsNode () const |
| virtual OdUInt32 | subSetAttributes (OdGiDrawableTraits *traits) const |
| virtual bool | subWorldDraw (OdGiWorldDraw *wd) const |
| virtual OdDbStub * | ownerId () const |
Protected Attributes | |
| OdDAIObjectId | m_DiffuseTransmissionColour |
| OdDAIObjectId | m_DiffuseReflectionColour |
| OdDAIObjectId | m_TransmissionColour |
| OdDAIObjectId | m_ReflectanceColour |
Protected Attributes inherited from OdIfc::OdIfcInstance | |
| void * | m_resPtr |
| IfcOpResult | m_resolved |
Additional Inherited Members | |
Static Public Member Functions inherited from OdIfc::OdIfcInstance | |
| static const OdGePoint3d * | asPoint3d (const OdIfcInstance *inst) |
| static const OdGePoint2d * | asPoint2d (const OdIfcInstance *inst) |
| static const OdGeVector3d * | asVector3d (const OdIfcInstance *inst) |
| static const OdGeVector2d * | asVector2d (const OdIfcInstance *inst) |
| static const OdGeMatrix2d * | asMatrix2d (const OdIfcInstance *inst) |
| static const OdGeMatrix3d * | asMatrix3d (const OdIfcInstance *inst) |
| static OdIfcCompoundPtr | asCompound (OdSmartPtr< OdIfcInstance > inst) |
| static const OdCmEntityColor * | asRgbColor (const OdIfcInstance *inst) |
IfcSurfaceStyleLighting is a container class for properties for calculation of physically exact illuminance related to a particular surface style. The next image shows the reflection and transmission components from an incident ray.
The sum of the components for reflection and transmission is a value of 1.0 denoting that the incident ray is completely decomposed into reflection and transmission components. Each value of reflection and transmission is therefore within the range 0.0 to 1.0.
<IMAGE ifcsurfacelightingproperties_fig1>
All these factors can be measured physically and are ratios for the red, green and blue part of the light. These properties are defined in the model as Type IfcColorRGB with a factor for each colour. EXAMPLE: A green glass transmits only green light, so its transmission factor is 0.0 for red, between 0.0 and 1.0 for green and 0.0 for blue. A green surface reflects only green light, so the reflectance factor is 0.0 for red, between 0.0 and 1.0 for green and 0.0 for blue.
Definition at line 54 of file Ifc4/IfcSurfaceStyleLightingAutoImpl.h.
|
overridevirtual |
Early-bound version of instances comparison.
| pOther | [in] Other application instance. |
| ordering | [out] Receives the ordering (comparison) status. |
Reimplemented from OdIfc4::IfcPresentationItem.
|
overridevirtual |
Returns an attribute value for the specified attribute name.
| attrName | [in] Name of an attribute to query. |
|
overridevirtual |
Returns an attribute value for the specified attribute definition.
| attrDef | [in] Attribute definition to query. |
Reimplemented from OdIfc::OdIfcInstance.
| const OdDAIObjectId & OdIfc4::IfcSurfaceStyleLighting::getDiffuseReflectionColour | ( | ) | const |
Returns the value of DiffuseReflectionColour attribute. DiffuseReflectionColour is the degree of diffusion of the reflected light. In the case of specular surfaces there is no diffusion. The greater the diffusing power of the reflecting surface, the smaller the specular component of the reflected light, up to the point where only diffuse light is produced. A value of 1 means totally diffuse for that colour part of the light.
| const OdDAIObjectId & OdIfc4::IfcSurfaceStyleLighting::getDiffuseTransmissionColour | ( | ) | const |
Returns the value of DiffuseTransmissionColour attribute. DiffuseTransmissionColour is the degree of diffusion of the transmitted light. In the case of completely transparent materials there is no diffusion. The greater the diffusing power, the smaller the direct component of the transmitted light, up to the point where only diffuse light is produced. A value of 1 means totally diffuse for that colour part of the light.
|
overridevirtual |
Returns a type of a class instance.
Reimplemented from OdIfc4::IfcPresentationItem.
| const OdDAIObjectId & OdIfc4::IfcSurfaceStyleLighting::getReflectanceColour | ( | ) | const |
Returns the value of ReflectanceColour attribute. This attribute is a coefficient that determines the extent that the light falling onto a surface is fully or partially reflected.
| const OdDAIObjectId & OdIfc4::IfcSurfaceStyleLighting::getTransmissionColour | ( | ) | const |
Returns the value of TransmissionColour attribute. This attribute describes how the light falling on a body is totally or partially transmitted.
|
overridevirtual |
Reads object's data from the specified filer.
| rdFiler | [in] Pointer to a filer from which to read the data. |
|
overridevirtual |
Checks whether the specified instance is the object derived from or belongs to this class.
| entityType | [in] Entity to check. |
Reimplemented from OdIfc4::IfcPresentationItem.
|
overridevirtual |
Writes object's data the the specified filer.
| wrFiler | [in] Pointer to a filer to which to write the data. |
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrName | [in] Explicit name of the attribute to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc::OdIfcInstance.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrDef | [in] Explicit attribute definition to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc::OdIfcInstance.
| void OdIfc4::IfcSurfaceStyleLighting::setDiffuseReflectionColour | ( | const OdDAIObjectId & | DiffuseReflectionColour | ) |
Sets the value of DiffuseReflectionColour attribute. DiffuseReflectionColour is the degree of diffusion of the reflected light. In the case of specular surfaces there is no diffusion. The greater the diffusing power of the reflecting surface, the smaller the specular component of the reflected light, up to the point where only diffuse light is produced. A value of 1 means totally diffuse for that colour part of the light.
| DiffuseReflectionColour | [in] Diffuse reflection colour to set. |
| void OdIfc4::IfcSurfaceStyleLighting::setDiffuseTransmissionColour | ( | const OdDAIObjectId & | DiffuseTransmissionColour | ) |
Sets the value of DiffuseTransmissionColour attribute. DiffuseTransmissionColour is the degree of diffusion of the transmitted light. In the case of completely transparent materials there is no diffusion. The greater the diffusing power, the smaller the direct component of the transmitted light, up to the point where only diffuse light is produced. A value of 1 means totally diffuse for that colour part of the light.
| DiffuseTransmissionColour | [in] Diffuse transmission colour to set. |
| void OdIfc4::IfcSurfaceStyleLighting::setReflectanceColour | ( | const OdDAIObjectId & | ReflectanceColour | ) |
Sets the value of ReflectanceColour attribute. This attribute is a coefficient that determines the extent that the light falling onto a surface is fully or partially reflected.
| ReflectanceColour | [in] Reflectance colour to set. |
| void OdIfc4::IfcSurfaceStyleLighting::setTransmissionColour | ( | const OdDAIObjectId & | TransmissionColour | ) |
Returns the value of TransmissionColour attribute. This attribute describes how the light falling on a body is totally or partially transmitted.
| TransmissionColour | [in] Transmission colour to set. |
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrName | [in] Explicit name of the attribute to test. |
Reimplemented from OdIfc::OdIfcInstance.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrDef | [in] Attribute definition to test. |
Reimplemented from OdIfc::OdIfcInstance.
|
overridevirtual |
Returns the type of this entity.
Reimplemented from OdIfc4::IfcPresentationItem.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc::OdIfcInstance.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc::OdIfcInstance.
|
protected |
Definition at line 285 of file Ifc4/IfcSurfaceStyleLightingAutoImpl.h.
|
protected |
Definition at line 284 of file Ifc4/IfcSurfaceStyleLightingAutoImpl.h.
|
protected |
Definition at line 287 of file Ifc4/IfcSurfaceStyleLightingAutoImpl.h.
|
protected |
Definition at line 286 of file Ifc4/IfcSurfaceStyleLightingAutoImpl.h.