|
CFx SDK Documentation 2026 SP0
|
#include <IfcLightDistributionDataAutoImpl.h>
Public Member Functions | |
| double | getMainPlaneAngle () const |
| void | setMainPlaneAngle (double MainPlaneAngle) |
| void | getSecondaryPlaneAngle (OdArray< double > &SecondaryPlaneAngle) const |
| OdDAI::ListOfDouble & | secondaryPlaneAngle () |
| void | getLuminousIntensity (OdArray< double > &LuminousIntensity) const |
| OdDAI::ListOfDouble & | luminousIntensity () |
| IfcLightDistributionData () | |
| 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 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 OdIfc4x2::OdIfc4x2Instance | |
| 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 | |
| double | m_MainPlaneAngle |
| OdDAI::ListOfDouble | m_SecondaryPlaneAngle |
| OdDAI::ListOfDouble | m_LuminousIntensity |
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) |
IfcLightDistributionData defines the luminous intensity of a light source specified at a particular main plane angle. It is based on some standardized light distribution curves; the MainPlaneAngle is either the: A angle; if the IfcLightDistributionCurveEnum is set to TYPE_A B angle; if the IfcLightDistributionCurveEnum is set to TYPE_B C angle; if the IfcLightDistributionCurveEnum is set to TYPE_C
For each MainPlaneAngle (considered as being the row of a table) a list of _SecondaryPlaneAngle'_s are specified (considered to be the columns of a table). They are either the: α angle; if the IfcLightDistributionCurveEnum is set to TYPE_A β angle; if the IfcLightDistributionCurveEnum is set to TYPE_B γ angle; if the IfcLightDistributionCurveEnum is set to TYPE_C
For each pair of MainPlaneAngle and SecondaryPlaneAngle the LuminousIntensity is provided (the unit is specified by the IfcUnitAssignment referring to the LuminousIntensityDistributionUnit, normally cd/klm).
Definition at line 57 of file Ifc4x2/IfcLightDistributionDataAutoImpl.h.
| OdIfc4x2::IfcLightDistributionData::IfcLightDistributionData | ( | ) |
Default constructor for the IfcLightDistributionData class.
|
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.
|
overridevirtual |
Returns a type of a class instance.
| void OdIfc4x2::IfcLightDistributionData::getLuminousIntensity | ( | OdArray< double > & | LuminousIntensity | ) | const |
Gets the value of LuminousIntensity attribute. This attribute represents the luminous intensity distribution measure for this pair of main and secondary plane angles according to the light distribution curve chosen.
| LuminousIntensity | [out] Receives the LuminousIntensity attribute. |
| double OdIfc4x2::IfcLightDistributionData::getMainPlaneAngle | ( | ) | const |
Returns the value of MainPlaneAngle attribute. This attribute represents the main plane angle (A, B or C angles, according to the light distribution curve chosen).
| void OdIfc4x2::IfcLightDistributionData::getSecondaryPlaneAngle | ( | OdArray< double > & | SecondaryPlaneAngle | ) | const |
Gets the value of SecondaryPlaneAngle attribute. This attribute represents the list of secondary plane angles (the α, β or γ angles) according to the light distribution curve chosen.
| SecondaryPlaneAngle | [out] Receives the SecondaryPlaneAngle attribute. |
|
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 OdIfc::OdIfcInstance.
| OdDAI::ListOfDouble & OdIfc4x2::IfcLightDistributionData::luminousIntensity | ( | ) |
Returns the value of LuminousIntensity attribute. This attribute represents the luminous intensity distribution measure for this pair of main and secondary plane angles according to the light distribution curve chosen.
|
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.
| OdDAI::ListOfDouble & OdIfc4x2::IfcLightDistributionData::secondaryPlaneAngle | ( | ) |
Returns the value of SecondaryPlaneAngle attribute. This attribute represents the list of secondary plane angles (the α, β or γ angles) according to the light distribution curve chosen.
| void OdIfc4x2::IfcLightDistributionData::setMainPlaneAngle | ( | double | MainPlaneAngle | ) |
Sets the value of MainPlaneAngle attribute. This attribute represents the main plane angle (A, B or C angles, according to the light distribution curve chosen).
| MainPlaneAngle | [in] Main plane angle 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 OdIfc::OdIfcInstance.
|
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 228 of file Ifc4x2/IfcLightDistributionDataAutoImpl.h.
|
protected |
Definition at line 226 of file Ifc4x2/IfcLightDistributionDataAutoImpl.h.
|
protected |
Definition at line 227 of file Ifc4x2/IfcLightDistributionDataAutoImpl.h.