|
CFx SDK Documentation 2026 SP0
|
#include <IfcOpeningElementAutoImpl.h>
Public Member Functions | |
| IfcOpeningElementTypeEnum | getPredefinedType () const |
| void | setPredefinedType (IfcOpeningElementTypeEnum PredefinedType) |
| void | getInvHasFillings (OdDAIObjectIds &HasFillings) const |
| IfcOpeningElement () | |
| 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 OdIfc4x1::IfcFeatureElementSubtraction | |
| OdDAIObjectId | getInvVoidsElements () const |
Public Member Functions inherited from OdIfc4x1::IfcElement | |
| const OdAnsiString & | getTag () const |
| void | setTag (const OdAnsiString &Tag) |
| void | getInvFillsVoids (OdDAIObjectIds &FillsVoids) const |
| void | getInvConnectedTo (OdDAIObjectIds &ConnectedTo) const |
| void | getInvIsInterferedByElements (OdDAIObjectIds &IsInterferedByElements) const |
| void | getInvInterferesElements (OdDAIObjectIds &InterferesElements) const |
| void | getInvHasProjections (OdDAIObjectIds &HasProjections) const |
| void | getInvReferencedInStructures (OdDAIObjectIds &ReferencedInStructures) const |
| void | getInvHasOpenings (OdDAIObjectIds &HasOpenings) const |
| void | getInvIsConnectionRealization (OdDAIObjectIds &IsConnectionRealization) const |
| void | getInvProvidesBoundaries (OdDAIObjectIds &ProvidesBoundaries) const |
| void | getInvConnectedFrom (OdDAIObjectIds &ConnectedFrom) const |
| void | getInvContainedInStructure (OdDAIObjectIds &ContainedInStructure) const |
| void | getInvHasCoverings (OdDAIObjectIds &HasCoverings) const |
| IfcElement () | |
Public Member Functions inherited from OdIfc4x1::IfcProduct | |
| const OdDAIObjectId & | getObjectPlacement () const |
| void | setObjectPlacement (const OdDAIObjectId &ObjectPlacement) |
| const OdDAIObjectId & | getRepresentation () const |
| void | setRepresentation (const OdDAIObjectId &Representation) |
| void | getInvReferencedBy (OdDAIObjectIds &ReferencedBy) const |
| virtual void | setInverseCounterParts () override |
Public Member Functions inherited from OdIfc4x1::IfcObject | |
| const OdAnsiString & | getObjectType () const |
| void | setObjectType (const OdAnsiString &ObjectType) |
| void | getInvIsDeclaredBy (OdDAIObjectIds &IsDeclaredBy) const |
| void | getInvDeclares (OdDAIObjectIds &Declares) const |
| void | getInvIsTypedBy (OdDAIObjectIds &IsTypedBy) const |
| void | getInvIsDefinedBy (OdDAIObjectIds &IsDefinedBy) const |
| IfcObject () | |
Public Member Functions inherited from OdIfc4x1::IfcObjectDefinition | |
| void | getInvHasAssignments (OdDAIObjectIds &HasAssignments) const |
| void | getInvNests (OdDAIObjectIds &Nests) const |
| void | getInvIsNestedBy (OdDAIObjectIds &IsNestedBy) const |
| void | getInvHasContext (OdDAIObjectIds &HasContext) const |
| void | getInvIsDecomposedBy (OdDAIObjectIds &IsDecomposedBy) const |
| void | getInvDecomposes (OdDAIObjectIds &Decomposes) const |
| void | getInvHasAssociations (OdDAIObjectIds &HasAssociations) const |
Public Member Functions inherited from OdIfc4x1::IfcRoot | |
| OdDAI::CompressedGUID | getGlobalId () const |
| void | setGlobalId (OdDAI::CompressedGUID GlobalId) |
| const OdDAIObjectId & | getOwnerHistory () const |
| void | setOwnerHistory (const OdDAIObjectId &OwnerHistory) |
| const OdAnsiString & | getName () const |
| void | setName (const OdAnsiString &Name) |
| const OdAnsiString & | getDescription () const |
| void | setDescription (const OdAnsiString &Description) |
| IfcRoot () | |
Public Member Functions inherited from OdIfc4x1::OdIfc4x1Instance | |
| 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 | |
| OdDAI::Enum | m_PredefinedType |
Protected Attributes inherited from OdIfc4x1::IfcElement | |
| OdAnsiString | m_Tag |
Protected Attributes inherited from OdIfc4x1::IfcProduct | |
| OdDAIObjectId | m_ObjectPlacement |
| OdDAIObjectId | m_Representation |
Protected Attributes inherited from OdIfc4x1::IfcObject | |
| OdAnsiString | m_ObjectType |
Protected Attributes inherited from OdIfc4x1::IfcRoot | |
| OdDAI::CompressedGUID | m_GlobalId |
| OdDAIObjectId | m_OwnerHistory |
| OdAnsiString | m_Name |
| OdAnsiString | m_Description |
Protected Attributes inherited from OdIfc::OdIfcInstance | |
| void * | m_resPtr |
| IfcOpResult | m_resolved |
Friends | |
| class | IfcRelFillsElement |
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 opening element stands for opening, recess or chase, all reflecting voids. It represents a void within any element that has physical manifestation. Openings can be inserted into walls, slabs, beams, columns, or other elements. There are two different types of opening elements. The attribute PredefinedType should be used to capture the differences: an opening, where the thickness of the opening is greater or equal to the thickness of the element — the attribute PredefinedType is set to OPENING a recess or niche, where the thickness of the recess is smaller than the thickness of the element — the attribute PredefinedType is set to RECESS for a recess or niche.
If the value for PredefinedType is omitted, or the value is set to NOTDEFINED, no specific information of whether it is an opening or recess shall be assumed.
An IfcOpeningElement has to be inserted into an IfcElement by using the IfcRelVoidsElement relationship. It can be filled by an IfcDoor, IfcWindow, or another filling element by using the relationship IfcRelFillsElements. Depending on the type of the IfcShapeRepresentation of the IfcOpeningElement the voiding relationship implies: if the IfcShapeRepresentation.RepresentationIdentifier = 'Body', then the Body shape representation of the opening has to be subtracted from the body shape representation of the voided element - implicit Boolean difference operation. if the IfcShapeRepresentation.RepresentationIdentifier = 'Reference', then the Reference shape representation of the opening is not subtracted, it is provided in addition to the hole in the Body shape representation of the voided element.
The IfcOpeningElement does not participate in the containment relationship, i.e. it is not linked directly to the spatial structure of the project. It has a mandatory VoidsElements inverse relationship pointing to the IfcElement that is contained in the spatial structure. The inverse relationship ContainedInStructure should be NIL.
The following constraints are recommended: IfcShapeRepresentation.Items can include a single, or multiple, instances of IfcExtrudedAreaSolid. IfcExtrudedAreaSolid.SweptArea supports IfcRectangleProfileDef, IfcCircleProfileDef and IfcArbitraryClosedProfileDef. If multiple instances of IfcExtrudedAreaSolid are used, the extrusion direction of each extrusion should be equal.
If parametric profiles are used, the parameters can be interpreted to be the dimensions of the beam: IfcRectangleProfileDef.YDim interpreted as beam height IfcRectangleProfileDef.XDim interpreted as beam width There are two main extrusion directions: perpendicular and parallel.
For a perpendicular swept solid, IfcExtrudedAreaSolid.ExtrudedDirection extrudes the profile perpendicular to the element it is voiding. This can be horizontal for wall openings, or vertical for floor openings. The next image shows an opening with full extrusion:
<IMAGE ifcopeningelement_horizontal-layout1>
The next image shows an opening with recess extrusion:
<IMAGE ifcopeningelement_recess-layout1>
For a parallel swept solid,IfcExtrudedAreaSolid.ExtrudedDirection extrudes the profile parallel to the element it is voiding. This can be vertical in the case of walls. The image below shows a vertical extrusion with multiple extrusion bodies for the opening. Each extrusion body has a different extrusion length.
<IMAGE ifcopeningelement_vertical-layout1>
Definition at line 123 of file Ifc4x1/IfcOpeningElementAutoImpl.h.
| OdIfc4x1::IfcOpeningElement::IfcOpeningElement | ( | ) |
Default constructor for the IfcOpeningElement class.
|
overridevirtual |
Returns an attribute value for the specified attribute name.
| attrName | [in] Name of an attribute to query. |
Reimplemented from OdIfc4x1::IfcFeatureElementSubtraction.
|
overridevirtual |
Returns an attribute value for the specified attribute definition.
| attrDef | [in] Attribute definition to query. |
Reimplemented from OdIfc4x1::IfcFeatureElementSubtraction.
|
overridevirtual |
Returns a type of a class instance.
Reimplemented from OdIfc4x1::IfcFeatureElementSubtraction.
Reimplemented in OdIfc4x1::IfcOpeningStandardCase.
| void OdIfc4x1::IfcOpeningElement::getInvHasFillings | ( | OdDAIObjectIds & | HasFillings | ) | const |
Returns the value of HasFillings attribute. This attribute represents reference to the Filling Relationship that is used to assign Elements as Fillings for this Opening Element. The Opening Element can be filled with zero-to-many Elements.
| HasFillings | [out] Receives the value of HasFillings attribute. |
| IfcOpeningElementTypeEnum OdIfc4x1::IfcOpeningElement::getPredefinedType | ( | ) | const |
Returns the value of PredefinedType attribute. This attribute represents predefined generic type for an opening that is specified in an enumeration. There can be a property set specified specifically for the predefined types.
|
overridevirtual |
Reads object's data from the specified filer.
| rdFiler | [in] Pointer to a filer from which to read the data. |
Reimplemented from OdIfc4x1::IfcFeatureElementSubtraction.
|
overridevirtual |
Checks whether the specified instance is the object derived from or belongs to this class.
| entityType | [in] Entity to check. |
Reimplemented from OdIfc4x1::IfcFeatureElementSubtraction.
Reimplemented in OdIfc4x1::IfcOpeningStandardCase.
|
overridevirtual |
Writes object's data the the specified filer.
| wrFiler | [in] Pointer to a filer to which to write the data. |
Reimplemented from OdIfc4x1::IfcFeatureElementSubtraction.
|
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 OdIfc4x1::IfcFeatureElementSubtraction.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrDef | [in] Explicit attribute definition to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc4x1::IfcFeatureElementSubtraction.
| void OdIfc4x1::IfcOpeningElement::setPredefinedType | ( | IfcOpeningElementTypeEnum | PredefinedType | ) |
Sets the value of PredefinedType attribute. This attribute represents predefined generic type for an opening that is specified in an enumeration. There can be a property set specified specifically for the predefined types.
| PredefinedType | [in] Predefined type to set. |
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrName | [in] Explicit name of the attribute to test. |
Reimplemented from OdIfc4x1::IfcFeatureElementSubtraction.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrDef | [in] Attribute definition to test. |
Reimplemented from OdIfc4x1::IfcFeatureElementSubtraction.
|
overridevirtual |
Returns the type of this entity.
Reimplemented from OdIfc4x1::IfcFeatureElementSubtraction.
Reimplemented in OdIfc4x1::IfcOpeningStandardCase.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc4x1::IfcFeatureElementSubtraction.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc4x1::IfcFeatureElementSubtraction.
|
friend |
Definition at line 279 of file Ifc4x1/IfcOpeningElementAutoImpl.h.
|
protected |
Definition at line 276 of file Ifc4x1/IfcOpeningElementAutoImpl.h.