|
CFx SDK Documentation 2026 SP0
|
#include <IfcVirtualElementAutoImpl.h>
Public Member Functions | |
| IfcVirtualElementTypeEnum | getPredefinedType () const |
| void | setPredefinedType (IfcVirtualElementTypeEnum PredefinedType) |
| IfcVirtualElement () | |
| 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::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 | 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 |
| void | getInvHasSurfaceFeatures (OdDAIObjectIds &HasSurfaceFeatures) const |
| IfcElement () | |
Public Member Functions inherited from OdIfc4x4::IfcProduct | |
| const OdDAIObjectId & | getObjectPlacement () const |
| void | setObjectPlacement (const OdDAIObjectId &ObjectPlacement) |
| const OdDAIObjectId & | getRepresentation () const |
| void | setRepresentation (const OdDAIObjectId &Representation) |
| void | getInvReferencedBy (OdDAIObjectIds &ReferencedBy) const |
| void | getInvPositionedRelativeTo (OdDAIObjectIds &PositionedRelativeTo) const |
| void | getInvReferencedInStructures (OdDAIObjectIds &ReferencedInStructures) const |
| virtual void | setInverseCounterParts () override |
Public Member Functions inherited from OdIfc4x4::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 OdIfc4x4::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 OdIfc4x4::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 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 | |
| OdDAI::Enum | m_PredefinedType |
Protected Attributes inherited from OdIfc4x4::IfcElement | |
| OdAnsiString | m_Tag |
Protected Attributes inherited from OdIfc4x4::IfcProduct | |
| OdDAIObjectId | m_ObjectPlacement |
| OdDAIObjectId | m_Representation |
Protected Attributes inherited from OdIfc4x4::IfcObject | |
| OdAnsiString | m_ObjectType |
Protected Attributes inherited from OdIfc4x4::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 |
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) |
A virtual element is a special element used to provide imaginary boundaries, such as between two adjacent, but not separated, spaces.
Uses of IfcVirtualElement include: An imaginary boundary such as between two adjacent, but not separated, spaces. The IfcVirtualElement can provide the 2D curve or 3D surface representation of the virtual space connection and is referenced by two instances of IfcRelSpaceBoundary, each pointing to one of the two adjacent IfcSpaces. The boundary is exchanged using PredefinedType = BOUNDARY. A provision for voids. Such as where a particular volume of space is requested by an engineering function that might later be accepted or rejected. If accepted it is transformed into a void within a building element, like a wall opening, or a slab opening. The provision for voids is exchanged using the PredefinedType = PROVISIONFORVOID. Typically, it uses a swept solid geometry, where the profile of the swept solid lies on/near the surface of the referred building element and the extrusion depths is equal to or bigger than (in case of round or otherwise irregular element shape) the thickness of the building element. The appropriate Pset_ProvisionForVoid property set should be attached. A clearance space. Typically, a placeholder for the necessary space allocation for future designed elements, such as mechanical equipment that will be determined in a later design phase. The clearance is exchanged using the PredefinedType = CLEARANCE.
The image below describes how to use IfcRelSpaceBoundary in conjunction with IfcVirtualElement to define space boundaries.
<IMAGE ifcvirtualelement_spaceboundaries>
\changes
IFC4X3 changes: Virtual elements can now be used for void provisions and clearance to replace existing functionality on IfcBuildingElementProxy.
Definition at line 69 of file IFC4X4/IfcVirtualElementAutoImpl.h.
| OdIfc4x4::IfcVirtualElement::IfcVirtualElement | ( | ) |
Default constructor for the IfcVirtualElement class.
|
overridevirtual |
Early-bound version of instances comparison.
| pOther | [in] Other application instance. |
| ordering | [out] Receives the ordering (comparison) status. |
Reimplemented from OdIfc4x4::IfcElement.
|
overridevirtual |
Returns an attribute value for the specified attribute name.
| attrName | [in] Name of an attribute to query. |
Reimplemented from OdIfc4x4::IfcElement.
|
overridevirtual |
Returns an attribute value for the specified attribute definition.
| attrDef | [in] Attribute definition to query. |
Reimplemented from OdIfc4x4::IfcElement.
|
overridevirtual |
Returns a type of a class instance.
Reimplemented from OdIfc4x4::IfcElement.
| IfcVirtualElementTypeEnum OdIfc4x4::IfcVirtualElement::getPredefinedType | ( | ) | const |
Returns the value of PredefinedType attribute. This attribute represents a list of types to further identify the object. Some property sets can be specifically applicable to one of these types.
|
overridevirtual |
Reads object's data from the specified filer.
| rdFiler | [in] Pointer to a filer from which to read the data. |
Reimplemented from OdIfc4x4::IfcElement.
|
overridevirtual |
Checks whether the specified instance is the object derived from or belongs to this class.
| entityType | [in] Entity to check. |
Reimplemented from OdIfc4x4::IfcElement.
|
overridevirtual |
Writes object's data the the specified filer.
| wrFiler | [in] Pointer to a filer to which to write the data. |
Reimplemented from OdIfc4x4::IfcElement.
|
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::IfcElement.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrDef | [in] Explicit attribute definition to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc4x4::IfcElement.
| void OdIfc4x4::IfcVirtualElement::setPredefinedType | ( | IfcVirtualElementTypeEnum | PredefinedType | ) |
Sets the value of PredefinedType attribute. This attribute represents a list of types to further identify the object. Some property sets can be specifically applicable to one of these 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 OdIfc4x4::IfcElement.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrDef | [in] Attribute definition to test. |
Reimplemented from OdIfc4x4::IfcElement.
|
overridevirtual |
Returns the type of this entity.
Reimplemented from OdIfc4x4::IfcElement.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc4x4::IfcElement.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc4x4::IfcElement.
|
protected |
Definition at line 233 of file IFC4X4/IfcVirtualElementAutoImpl.h.