#include <IfcLightIntensityDistributionAutoImpl.h>
IfcLightIntensityDistribution defines the the luminous intensity of a light source that changes according to the direction of the ray. It is based on some standardized light distribution curves, which are defined by the LightDistributionCurve attribute.
Definition at line 45 of file Ifc4/IfcLightIntensityDistributionAutoImpl.h.
◆ IfcLightIntensityDistribution()
| OdIfc4::IfcLightIntensityDistribution::IfcLightIntensityDistribution |
( |
| ) |
|
◆ comparedToEarlyImpl()
| virtual bool OdIfc4::IfcLightIntensityDistribution::comparedToEarlyImpl |
( |
const OdDAI::ApplicationInstance * | pOther, |
|
|
OdRx::Ordering & | ordering ) const |
|
overridevirtual |
Early-bound version of instances comparison.
- Parameters
-
| pOther | [in] Other application instance. |
| ordering | [out] Receives the ordering (comparison) status. |
- Returns
- true if comparison was performed, false if method has no implementation, so late-bound version could be applied.
◆ distributionData()
| OdDAI::ListOfOdDAIObjectId & OdIfc4::IfcLightIntensityDistribution::distributionData |
( |
| ) |
|
Returns the value of DistributionData attribute. This attribute represents light distribution data applied to the light source. It is defined by a list of main plane angles (B or C according to the light distribution curve chosen) that includes (for each B or C angle) a second list of secondary plane angles (the β or γ angles) and the according luminous intensity distribution measures.
- Returns
- Returns the value of DistributionData attribute.
◆ getAttr() [1/2]
| virtual OdRxValue OdIfc4::IfcLightIntensityDistribution::getAttr |
( |
const char * | attrName | ) |
const |
|
overridevirtual |
Returns an attribute value for the specified attribute name.
- Parameters
-
| attrName | [in] Name of an attribute to query. |
- Returns
- OdRxValue object that represents a generic variant type value.
◆ getAttr() [2/2]
Returns an attribute value for the specified attribute definition.
- Parameters
-
| attrDef | [in] Attribute definition to query. |
- Returns
- OdRxValue object that represents a generic variant type value.
Reimplemented from OdIfc::OdIfcInstance.
◆ getDistributionData()
| void OdIfc4::IfcLightIntensityDistribution::getDistributionData |
( |
OdDAIObjectIds & | DistributionData | ) |
const |
Gets the value of DistributionData attribute. This attribute represents light distribution data applied to the light source. It is defined by a list of main plane angles (B or C according to the light distribution curve chosen) that includes (for each B or C angle) a second list of secondary plane angles (the β or γ angles) and the according luminous intensity distribution measures.
- Parameters
-
| DistributionData | [out] Distribution data to set. |
◆ getInstanceType()
| virtual OdDAI::Entity * OdIfc4::IfcLightIntensityDistribution::getInstanceType |
( |
| ) |
const |
|
overridevirtual |
Returns a type of a class instance.
- Returns
- Pointer to the <exref target=https://docs.opendesign.com/tkernel_api_cpp/OdDAI__Entity.html>>OdDAI::Entity</exref> type that determines an entity definition within a schema.
◆ getLightDistributionCurve()
Returns the value of LightDistributionCurve attribute. This attribute represents standardized light distribution curve used to define the luminous intensity of the light in all directions.
- Returns
- Returns the value of LightDistributionCurve attribute.
◆ inFields()
| virtual OdResult OdIfc4::IfcLightIntensityDistribution::inFields |
( |
OdDAI::OdSpfFilerBase * | rdFiler | ) |
|
|
overridevirtual |
Reads object's data from the specified filer.
- Parameters
-
| rdFiler | [in] Pointer to a filer from which to read the data. |
- Returns
- A value of OdResult type that contains the result of the method execution.
◆ isKindOf()
Checks whether the specified instance is the object derived from or belongs to this class.
- Parameters
-
| entityType | [in] Entity to check. |
- Returns
- true if the specified instance is the object derived from or belongs to this class, false otherwise.
Reimplemented from OdIfc::OdIfcInstance.
◆ outFields()
| virtual OdResult OdIfc4::IfcLightIntensityDistribution::outFields |
( |
OdDAI::OdSpfFilerBase * | wrFiler | ) |
|
|
overridevirtual |
Writes object's data the the specified filer.
- Parameters
-
| wrFiler | [in] Pointer to a filer to which to write the data. |
- Returns
- A value of OdResult type that contains the result of the method execution.
◆ putAttr() [1/2]
| virtual bool OdIfc4::IfcLightIntensityDistribution::putAttr |
( |
const char * | explicitAttrName, |
|
|
const OdRxValue & | val ) |
|
overridevirtual |
Sets the specified attribute with a given value.
- Parameters
-
| explicitAttrName | [in] Explicit name of the attribute to set. |
| val | [in] Value to set. |
- Returns
- true if the value is successfully set for the specified attribute, false otherwise.
Reimplemented from OdIfc::OdIfcInstance.
◆ putAttr() [2/2]
Sets the specified attribute with a given value.
- Parameters
-
| explicitAttrDef | [in] Explicit attribute definition to set. |
| val | [in] Value to set. |
- Returns
- true if the value is successfully set for the specified attribute, false otherwise.
Reimplemented from OdIfc::OdIfcInstance.
◆ setLightDistributionCurve()
Sets the value of LightDistributionCurve attribute. This attribute represents standardized light distribution curve used to define the luminous intensity of the light in all directions.
- Parameters
-
| LightDistributionCurve | [in] Light distribution curve to set. |
◆ testAttr() [1/2]
| virtual bool OdIfc4::IfcLightIntensityDistribution::testAttr |
( |
const char * | explicitAttrName | ) |
const |
|
overridevirtual |
Checks whether the specified attribute is set.
- Parameters
-
| explicitAttrName | [in] Explicit name of the attribute to test. |
- Returns
- true if the specified attribute is set, false otherwise.
Reimplemented from OdIfc::OdIfcInstance.
◆ testAttr() [2/2]
| virtual bool OdIfc4::IfcLightIntensityDistribution::testAttr |
( |
const OdIfc::OdIfcAttribute | explicitAttrDef | ) |
const |
|
overridevirtual |
Checks whether the specified attribute is set.
- Parameters
-
| explicitAttrDef | [in] Attribute definition to test. |
- Returns
- true if the specified attribute is set, false otherwise.
Reimplemented from OdIfc::OdIfcInstance.
◆ type()
Returns the type of this entity.
- Returns
- A value of the <exref target=https://docs.opendesign.com/tkernel_api_cpp/OdIfc__OdIfcEntityType.html>>OdIfc::OdIfcEntityType</exref> type that represents type of this entity.
Reimplemented from OdIfc::OdIfcInstance.
◆ unsetAttr() [1/2]
| virtual void OdIfc4::IfcLightIntensityDistribution::unsetAttr |
( |
const char * | explicitAttrName | ) |
|
|
overridevirtual |
Resets a value for the specified attribute.
- Parameters
-
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc::OdIfcInstance.
◆ unsetAttr() [2/2]
Resets a value for the specified attribute.
- Parameters
-
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc::OdIfcInstance.
◆ m_DistributionData
| OdDAI::ListOfOdDAIObjectId OdIfc4::IfcLightIntensityDistribution::m_DistributionData |
|
protected |
◆ m_LightDistributionCurve
| OdDAI::Enum OdIfc4::IfcLightIntensityDistribution::m_LightDistributionCurve |
|
protected |
The documentation for this class was generated from the following file: