CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
IfcPresentationLightSourceAutoImpl.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2024, Open Design Alliance (the "Alliance").
3// All rights reserved.
4//
5// This software and its documentation and related materials are owned by
6// the Alliance. The software may only be incorporated into application
7// programs owned by members of the Alliance, subject to a signed
8// Membership Agreement and Supplemental Software License Agreement with the
9// Alliance. The structure and organization of this software are the valuable
10// trade secrets of the Alliance and its suppliers. The software is also
11// protected by copyright law and international treaty provisions. Application
12// programs incorporating this software must include the following statement
13// with their copyright notices:
14//
15// This application incorporates Open Design Alliance software pursuant to a license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2024 by Open Design Alliance.
18// All rights reserved.
19//
20// By use of this software, its documentation or related materials, you
21// acknowledge and accept the above terms.
23
24// This file is generated automatically.
25
26#ifndef _IFC2X_FINAL_IFCPRESENTATIONLIGHTSOURCE_AUTO_IMPL_H
27#define _IFC2X_FINAL_IFCPRESENTATIONLIGHTSOURCE_AUTO_IMPL_H
28
30
31#include "Ifc2x_FinalEnum.h"
35
40namespace OdIfc2x_final {
41
47{
48 //DOM-IGNORE-BEGIN
49 OD_EXP_DECLARE_MEMBERS(OdIfc2x_final::IfcPresentationLightSource);
50 //DOM-IGNORE-END
51
52public:
53
54
55 //
56 // OdDAI early binding accessors
57 //
58
59
65 void getColor(OdArray<double >& Color) const;
66
73 OdDAI::ListOfDouble& color();
74
82 double getAmbientIntensity() const;
83
90 void setAmbientIntensity(double AmbientIntensity);
91
99 double getIntensity() const;
100
107 void setIntensity(double Intensity);
108
117 const OdDAIObjectId& getInContext() const;
118
126 void setInContext(const OdDAIObjectId& InContext);
127
134 const OdAnsiString& getName() const;
135
141 void setName(const OdAnsiString& Name);
142
149 const OdAnsiString& getDescription() const;
150
156 void setDescription(const OdAnsiString& Description);
157
158
159public:
160
165
172 virtual OdResult inFields(OdDAI::OdSpfFilerBase* rdFiler) override;
173
180 virtual OdResult outFields(OdDAI::OdSpfFilerBase* wrFiler) override;
181
187 virtual OdDAI::Entity* getInstanceType() const override;
188
195 virtual OdRxValue getAttr(const char * attrName) const override;
196
201 virtual void unsetAttr(const char * explicitAttrName) override;
202
209 virtual bool testAttr(const char * explicitAttrName) const override;
210
218 virtual bool putAttr(const char * explicitAttrName, const OdRxValue &val) override;
219
226 virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const override;
227
233 virtual OdIfc::OdIfcEntityType type() const override;
234
241 virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const override;
242
247 virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef) override;
248
255 virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const override;
256
264 virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val) override;
265
266protected:
267 // Fields declaration:
268 OdDAI::ListOfDouble m_Color; // IfcColorRGB
269 IfcNormalisedRatioMeasure m_AmbientIntensity; // IfcNormalisedRatioMeasure
270 IfcNormalisedRatioMeasure m_Intensity; // IfcNormalisedRatioMeasure
271 OdDAIObjectId m_InContext; // IfcGeometricRepresentationContext
272 OdAnsiString m_Name; // IfcLabel
273 OdAnsiString m_Description; // IfcText [optional]
274};
275
280
281} // namespace
282
283#endif // _IFC2X_FINAL_IFCPRESENTATIONLIGHTSOURCE_AUTO_IMPL_H
#define IFC2X_FINAL_EXPORT
OdResult
Definition OdResult.h:29
void setInContext(const OdDAIObjectId &InContext)
virtual bool testAttr(const char *explicitAttrName) const override
const OdDAIObjectId & getInContext() const
const OdAnsiString & getDescription() const
virtual bool putAttr(const char *explicitAttrName, const OdRxValue &val) override
void setAmbientIntensity(double AmbientIntensity)
virtual bool putAttr(const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val) override
void setDescription(const OdAnsiString &Description)
virtual OdIfc::OdIfcEntityType type() const override
virtual OdResult inFields(OdDAI::OdSpfFilerBase *rdFiler) override
virtual OdDAI::Entity * getInstanceType() const override
virtual void unsetAttr(const char *explicitAttrName) override
virtual void unsetAttr(const OdIfc::OdIfcAttribute explicitAttrDef) override
virtual bool testAttr(const OdIfc::OdIfcAttribute explicitAttrDef) const override
virtual OdRxValue getAttr(const OdIfc::OdIfcAttribute attrDef) const override
virtual bool isKindOf(OdIfc::OdIfcEntityType entityType) const override
const OdAnsiString & getName() const
virtual OdRxValue getAttr(const char *attrName) const override
virtual OdResult outFields(OdDAI::OdSpfFilerBase *wrFiler) override
void getColor(OdArray< double > &Color) const
void setName(const OdAnsiString &Name)
IfcRatioMeasure IfcNormalisedRatioMeasure
OdSmartPtr< IfcPresentationLightSource > IfcPresentationLightSourcePtr