#include <IfcLightSourceGoniometricAutoImpl.h>
IfcLightSourceGoniometric defines a light source for which exact lighting data is available.
- Details - This entity specifies the type of a light emitter, defines the position and orientation of a light distribution curve and the data concerning lamp and photometric information. The following image shows an example of a light emitter having two light sources (of type IfcLightSourceGoniometric).
<IMAGE ifclightsourcegoniometric_fig1>
Definition at line 49 of file Ifc2x3/IfcLightSourceGoniometricAutoImpl.h.
◆ IfcLightSourceGoniometric()
| OdIfc2x3::IfcLightSourceGoniometric::IfcLightSourceGoniometric |
( |
| ) |
|
◆ comparedToEarlyImpl()
| virtual bool OdIfc2x3::IfcLightSourceGoniometric::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.
Reimplemented from OdIfc2x3::IfcLightSource.
◆ getAttr() [1/2]
| virtual OdRxValue OdIfc2x3::IfcLightSourceGoniometric::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.
Reimplemented from OdIfc2x3::IfcLightSource.
◆ 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 OdIfc2x3::IfcLightSource.
◆ getColourAppearance()
| const OdDAIObjectId & OdIfc2x3::IfcLightSourceGoniometric::getColourAppearance |
( |
| ) |
const |
Returns the value of ColourAppearance attribute. This attribute represents color appearance. Artificial light sources are classified in terms of their color appearance. To the human eye they all appear to be white; the difference can only be detected by direct comparison. Visual performance is not directly affected by differences in color appearance.
- Returns
- Returns the value of ColourAppearance attribute.
◆ getColourTemperature()
| double OdIfc2x3::IfcLightSourceGoniometric::getColourTemperature |
( |
| ) |
const |
Returns the value of ColourTemperature attribute. This attribute represents the color temperature. Color temperature of any source of radiation is defined as the temperature (in Kelvin) of a black-body or Planckian radiator whose radiation has the same chromaticity as the source of radiation. Often the values are only approximate color temperatures as the black-body radiator cannot emit radiation of every chromaticity value. The color temperatures of the commonest artificial light sources range from less than 3000K (warm white) to 4000K (intermediate) and over 5000K (daylight).
- Returns
- Returns the value of ColourTemperature attribute.
◆ getInstanceType()
| virtual OdDAI::Entity * OdIfc2x3::IfcLightSourceGoniometric::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.
Reimplemented from OdIfc2x3::IfcLightSource.
◆ getLightEmissionSource()
Returns the value of LightEmissionSource attribute. This attribute represents the types of light emitter from which the type required can be set.
- Returns
- Returns the value of LightEmissionSource attribute.
◆ getLuminousFlux()
| double OdIfc2x3::IfcLightSourceGoniometric::getLuminousFlux |
( |
| ) |
const |
Returns the value of LuminousFlux attribute. This attribute represents a luminous flux. Luminous flux is a photometric measure of radiant flux, i.e. the volume of light emitted from a light source. Luminous flux is measured either for the interior as a whole or for a part of the interior (partial luminous flux for a solid angle). All other photometric parameters are derivatives of luminous flux. Luminous flux is measured in lumens (lm). The luminous flux is specified as a nominal value for each lamp.
- Returns
- Returns the value of LuminousFlux attribute.
◆ getPosition()
| const OdDAIObjectId & OdIfc2x3::IfcLightSourceGoniometric::getPosition |
( |
| ) |
const |
Returns the value of Position attribute. This attribute represents the position of the light source. It is used to orientate the light distribution curves.
- Returns
- Returns the value of Position attribute.
◆ inFields()
| virtual OdResult OdIfc2x3::IfcLightSourceGoniometric::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.
Reimplemented from OdIfc2x3::IfcLightSource.
◆ 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 OdIfc2x3::IfcLightSource.
◆ lightDistributionDataSource()
Returns the value of LightDistributionDataSource attribute. This attribute represents the data source from which light distribution data is obtained.
- Returns
- Returns the value of LightDistributionDataSource attribute.
◆ outFields()
| virtual OdResult OdIfc2x3::IfcLightSourceGoniometric::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.
Reimplemented from OdIfc2x3::IfcLightSource.
◆ putAttr() [1/2]
| virtual bool OdIfc2x3::IfcLightSourceGoniometric::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 OdIfc2x3::IfcLightSource.
◆ 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 OdIfc2x3::IfcLightSource.
◆ setColourAppearance()
| void OdIfc2x3::IfcLightSourceGoniometric::setColourAppearance |
( |
const OdDAIObjectId & | ColourAppearance | ) |
|
Sets the value of ColourAppearance attribute. This attribute represents color appearance. Artificial light sources are classified in terms of their color appearance. To the human eye they all appear to be white; the difference can only be detected by direct comparison. Visual performance is not directly affected by differences in color appearance.
- Parameters
-
| ColourAppearance | [in] Color appearance to set. |
◆ setColourTemperature()
| void OdIfc2x3::IfcLightSourceGoniometric::setColourTemperature |
( |
double | ColourTemperature | ) |
|
Sets the value of ColourTemperature attribute. This attribute represents the color temperature. Color temperature of any source of radiation is defined as the temperature (in Kelvin) of a black-body or Planckian radiator whose radiation has the same chromaticity as the source of radiation. Often the values are only approximate color temperatures as the black-body radiator cannot emit radiation of every chromaticity value. The color temperatures of the commonest artificial light sources range from less than 3000K (warm white) to 4000K (intermediate) and over 5000K (daylight).
- Parameters
-
| ColourTemperature | [in] Color temperature to set. |
◆ setLightEmissionSource()
Sets the value of LightEmissionSource attribute. This attribute represents the types of light emitter from which the type required can be set.
- Parameters
-
| LightEmissionSource | [in] Light emission source to set. |
◆ setLuminousFlux()
| void OdIfc2x3::IfcLightSourceGoniometric::setLuminousFlux |
( |
double | LuminousFlux | ) |
|
Sets the value of LuminousFlux attribute. This attribute represents a luminous flux. Luminous flux is a photometric measure of radiant flux, i.e. the volume of light emitted from a light source. Luminous flux is measured either for the interior as a whole or for a part of the interior (partial luminous flux for a solid angle). All other photometric parameters are derivatives of luminous flux. Luminous flux is measured in lumens (lm). The luminous flux is specified as a nominal value for each lamp.
- Parameters
-
| LuminousFlux | [in] Luminous flux to set. |
◆ setPosition()
| void OdIfc2x3::IfcLightSourceGoniometric::setPosition |
( |
const OdDAIObjectId & | Position | ) |
|
Sets the value of Position attribute. This attribute represents the position of the light source. It is used to orientate the light distribution curves.
- Parameters
-
| Position | [in] Position to set. |
◆ testAttr() [1/2]
| virtual bool OdIfc2x3::IfcLightSourceGoniometric::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 OdIfc2x3::IfcLightSource.
◆ testAttr() [2/2]
| virtual bool OdIfc2x3::IfcLightSourceGoniometric::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 OdIfc2x3::IfcLightSource.
◆ 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 OdIfc2x3::IfcLightSource.
◆ unsetAttr() [1/2]
| virtual void OdIfc2x3::IfcLightSourceGoniometric::unsetAttr |
( |
const char * | explicitAttrName | ) |
|
|
overridevirtual |
Resets a value for the specified attribute.
- Parameters
-
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc2x3::IfcLightSource.
◆ unsetAttr() [2/2]
Resets a value for the specified attribute.
- Parameters
-
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc2x3::IfcLightSource.
◆ m_ColourAppearance
| OdDAIObjectId OdIfc2x3::IfcLightSourceGoniometric::m_ColourAppearance |
|
protected |
◆ m_ColourTemperature
| double OdIfc2x3::IfcLightSourceGoniometric::m_ColourTemperature |
|
protected |
◆ m_LightDistributionDataSource
| OdDAI::Select OdIfc2x3::IfcLightSourceGoniometric::m_LightDistributionDataSource |
|
protected |
◆ m_LightEmissionSource
| OdDAI::Enum OdIfc2x3::IfcLightSourceGoniometric::m_LightEmissionSource |
|
protected |
◆ m_LuminousFlux
| double OdIfc2x3::IfcLightSourceGoniometric::m_LuminousFlux |
|
protected |
◆ m_Position
| OdDAIObjectId OdIfc2x3::IfcLightSourceGoniometric::m_Position |
|
protected |
The documentation for this class was generated from the following file: