|
CFx SDK Documentation 2026 SP0
|
#include <IfcLightSourceSpotAutoImpl.h>
Public Member Functions | |
| const OdDAIObjectId & | getOrientation () const |
| void | setOrientation (const OdDAIObjectId &Orientation) |
| double | getConcentrationExponent () const |
| void | setConcentrationExponent (double ConcentrationExponent) |
| double | getSpreadAngle () const |
| void | setSpreadAngle (double SpreadAngle) |
| double | getBeamWidthAngle () const |
| void | setBeamWidthAngle (double BeamWidthAngle) |
| IfcLightSourceSpot () | |
| 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 OdIfc4x4::IfcLightSourcePositional | |
| const OdDAIObjectId & | getPosition () const |
| void | setPosition (const OdDAIObjectId &Position) |
| double | getRadius () const |
| void | setRadius (double Radius) |
| double | getConstantAttenuation () const |
| void | setConstantAttenuation (double ConstantAttenuation) |
| double | getDistanceAttenuation () const |
| void | setDistanceAttenuation (double DistanceAttenuation) |
| double | getQuadricAttenuation () const |
| void | setQuadricAttenuation (double QuadricAttenuation) |
| IfcLightSourcePositional () | |
Public Member Functions inherited from OdIfc4x4::IfcLightSource | |
| const OdAnsiString & | getName () const |
| void | setName (const OdAnsiString &Name) |
| const OdDAIObjectId & | getLightColour () const |
| void | setLightColour (const OdDAIObjectId &LightColour) |
| double | getAmbientIntensity () const |
| void | setAmbientIntensity (double AmbientIntensity) |
| double | getIntensity () const |
| void | setIntensity (double Intensity) |
| IfcLightSource () | |
Public Member Functions inherited from OdIfc4x4::IfcRepresentationItem | |
| void | getInvLayerAssignment (OdDAIObjectIds &LayerAssignment) const |
| void | getInvStyledByItem (OdDAIObjectIds &StyledByItem) const |
Public Member Functions inherited from OdIfc4x4::OdIFC4X4Instance | |
| 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_Orientation |
| double | m_ConcentrationExponent |
| IfcPositivePlaneAngleMeasure | m_SpreadAngle |
| IfcPositivePlaneAngleMeasure | m_BeamWidthAngle |
Protected Attributes inherited from OdIfc4x4::IfcLightSourcePositional | |
| OdDAIObjectId | m_Position |
| IfcPositiveLengthMeasure | m_Radius |
| double | m_ConstantAttenuation |
| double | m_DistanceAttenuation |
| double | m_QuadricAttenuation |
Protected Attributes inherited from OdIfc4x4::IfcLightSource | |
| OdAnsiString | m_Name |
| OdDAIObjectId | m_LightColour |
| IfcNormalisedRatioMeasure | m_AmbientIntensity |
| IfcNormalisedRatioMeasure | m_Intensity |
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) |
The spot light source is one of light source subtypes. Spot light source entities have a light source color, position, direction, attenuation coefficients, concentration exponent, and spread angle.
<IMAGE ifclightsourcespot_fig1>
Definition at line 49 of file IFC4X4/IfcLightSourceSpotAutoImpl.h.
| OdIfc4x4::IfcLightSourceSpot::IfcLightSourceSpot | ( | ) |
Default constructor for the IfcLightSourceSpot class.
|
overridevirtual |
Early-bound version of instances comparison.
| pOther | [in] Other application instance. |
| ordering | [out] Receives the ordering (comparison) status. |
Reimplemented from OdIfc4x4::IfcLightSourcePositional.
|
overridevirtual |
Returns an attribute value for the specified attribute name.
| attrName | [in] Name of an attribute to query. |
Reimplemented from OdIfc4x4::IfcLightSourcePositional.
|
overridevirtual |
Returns an attribute value for the specified attribute definition.
| attrDef | [in] Attribute definition to query. |
Reimplemented from OdIfc4x4::IfcLightSourcePositional.
| double OdIfc4x4::IfcLightSourceSpot::getBeamWidthAngle | ( | ) | const |
Returns the value of BeamWidthAngle attribute. This attribute represents an inner solid angle in which the light source emits light at uniform full intensity. The light source's emission intensity drops off from the inner solid angle (this attribute) to the outer solid angle (spreadAngle attribute).
| double OdIfc4x4::IfcLightSourceSpot::getConcentrationExponent | ( | ) | const |
Returns the value of ConcentrationExponent attribute. This attribute represents the exponent on the cosine of the angle between the line that starts at the position of the spot light source and is in the direction of the orientation of the spot light source and a line that starts at the position of the spot light source and goes through a point on the surface being shaded.
|
overridevirtual |
Returns a type of a class instance.
Reimplemented from OdIfc4x4::IfcLightSourcePositional.
| const OdDAIObjectId & OdIfc4x4::IfcLightSourceSpot::getOrientation | ( | ) | const |
Returns the value of Orientation attribute. This attribute represents the direction of the axis of the cone of the light source specified in the coordinate space of the representation being projected.
| double OdIfc4x4::IfcLightSourceSpot::getSpreadAngle | ( | ) | const |
Returns the value of SpreadAngle attribute. This attribute represents an angle between the line that starts at the position of the spot light source and is in the direction of the spot light source and any line on the boundary of the cone of influence. The light source's emission intensity drops off from the inner solid angle (BeamWidthAngle attribute) to the outer solid angle (this attribute).
|
overridevirtual |
Reads object's data from the specified filer.
| rdFiler | [in] Pointer to a filer from which to read the data. |
Reimplemented from OdIfc4x4::IfcLightSourcePositional.
|
overridevirtual |
Checks whether the specified instance is the object derived from or belongs to this class.
| entityType | [in] Entity to check. |
Reimplemented from OdIfc4x4::IfcLightSourcePositional.
|
overridevirtual |
Writes object's data the the specified filer.
| wrFiler | [in] Pointer to a filer to which to write the data. |
Reimplemented from OdIfc4x4::IfcLightSourcePositional.
|
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 OdIfc4x4::IfcLightSourcePositional.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrDef | [in] Explicit attribute definition to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc4x4::IfcLightSourcePositional.
| void OdIfc4x4::IfcLightSourceSpot::setBeamWidthAngle | ( | double | BeamWidthAngle | ) |
Sets the value of BeamWidthAngle attribute. This attribute represents an inner solid angle in which the light source emits light at uniform full intensity. The light source's emission intensity drops off from the inner solid angle (this attribute) to the outer solid angle (spreadAngle attribute).
| BeamWidthAngle | [in] Beam width angle to set. |
| void OdIfc4x4::IfcLightSourceSpot::setConcentrationExponent | ( | double | ConcentrationExponent | ) |
Sets the value of ConcentrationExponent attribute. This attribute represents the exponent on the cosine of the angle between the line that starts at the position of the spot light source and is in the direction of the orientation of the spot light source and a line that starts at the position of the spot light source and goes through a point on the surface being shaded.
| ConcentrationExponent | [in] Concentration exponent to set. |
| void OdIfc4x4::IfcLightSourceSpot::setOrientation | ( | const OdDAIObjectId & | Orientation | ) |
Sets the value of Orientation attribute. This attribute represents the direction of the axis of the cone of the light source specified in the coordinate space of the representation being projected.
| Orientation | [in] Orientation to set. |
| void OdIfc4x4::IfcLightSourceSpot::setSpreadAngle | ( | double | SpreadAngle | ) |
Sets the value of SpreadAngle attribute. This attribute represents an angle between the line that starts at the position of the spot light source and is in the direction of the spot light source and any line on the boundary of the cone of influence. The light source's emission intensity drops off from the inner solid angle (BeamWidthAngle attribute) to the outer solid angle (this attribute).
| SpreadAngle | [in] Spread angle to set. |
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrName | [in] Explicit name of the attribute to test. |
Reimplemented from OdIfc4x4::IfcLightSourcePositional.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrDef | [in] Attribute definition to test. |
Reimplemented from OdIfc4x4::IfcLightSourcePositional.
|
overridevirtual |
Returns the type of this entity.
Reimplemented from OdIfc4x4::IfcLightSourcePositional.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc4x4::IfcLightSourcePositional.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc4x4::IfcLightSourcePositional.
|
protected |
Definition at line 267 of file IFC4X4/IfcLightSourceSpotAutoImpl.h.
|
protected |
Definition at line 265 of file IFC4X4/IfcLightSourceSpotAutoImpl.h.
|
protected |
Definition at line 264 of file IFC4X4/IfcLightSourceSpotAutoImpl.h.
|
protected |
Definition at line 266 of file IFC4X4/IfcLightSourceSpotAutoImpl.h.