|
CFx SDK Documentation 2026 SP0
|
#include <IfcRepresentationAutoImpl.h>
Public Member Functions | |
| const OdDAIObjectId & | getContextOfItems () const |
| void | setContextOfItems (const OdDAIObjectId &ContextOfItems) |
| const OdAnsiString & | getRepresentationIdentifier () const |
| void | setRepresentationIdentifier (const OdAnsiString &RepresentationIdentifier) |
| const OdAnsiString & | getRepresentationType () const |
| void | setRepresentationType (const OdAnsiString &RepresentationType) |
| void | getItems (OdDAIObjectIds &Items) const |
| OdDAI::SetOfOdDAIObjectId & | items () |
| void | getInvRepresentationMap (OdDAIObjectIds &RepresentationMap) const |
| void | getInvLayerAssignments (OdDAIObjectIds &LayerAssignments) const |
| void | getInvOfProductRepresentation (OdDAIObjectIds &OfProductRepresentation) const |
| IfcRepresentation () | |
| virtual OdResult | inFields (OdDAI::OdSpfFilerBase *rdFiler) override |
| virtual OdResult | outFields (OdDAI::OdSpfFilerBase *wrFiler) override |
| virtual void | setInverseCounterParts () 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::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 | |
| OdDAIObjectId | m_ContextOfItems |
| OdAnsiString | m_RepresentationIdentifier |
| OdAnsiString | m_RepresentationType |
| OdDAI::SetOfOdDAIObjectId | m_Items |
Protected Attributes inherited from OdIfc::OdIfcInstance | |
| void * | m_resPtr |
| IfcOpResult | m_resolved |
Friends | |
| class | IfcRepresentationMap |
| class | IfcPresentationLayerAssignment |
| class | IfcProductRepresentation |
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 IfcRepresentation defines the general concept of representing product properties and in particular the product shape.
\changes
IFC4 changes: Type of the inverse attribute OfProductRepresentation changed from "SET OF [0:1] IfcProductRepresentation FOR Representations" to "SET OF [0:?] IfcProductRepresentation FOR Representations".
Definition at line 59 of file Ifc4x1/IfcRepresentationAutoImpl.h.
| OdIfc4x1::IfcRepresentation::IfcRepresentation | ( | ) |
Default constructor for the IfcRepresentation class.
|
overridevirtual |
Returns an attribute value for the specified attribute name.
| attrName | [in] Name of an attribute to query. |
Reimplemented in OdIfc4x1::IfcShapeModel.
|
overridevirtual |
Returns an attribute value for the specified attribute definition.
| attrDef | [in] Attribute definition to query. |
Reimplemented from OdIfc::OdIfcInstance.
Reimplemented in OdIfc4x1::IfcShapeModel.
| const OdDAIObjectId & OdIfc4x1::IfcRepresentation::getContextOfItems | ( | ) | const |
Returns the value of ContextOfItems attribute. This attribute represents definition of the representation context for which the different subtypes of representation are valid.
|
overridevirtual |
Returns a type of a class instance.
Reimplemented in OdIfc4x1::IfcShapeModel, OdIfc4x1::IfcShapeRepresentation, OdIfc4x1::IfcStyledRepresentation, OdIfc4x1::IfcStyleModel, and OdIfc4x1::IfcTopologyRepresentation.
| void OdIfc4x1::IfcRepresentation::getInvLayerAssignments | ( | OdDAIObjectIds & | LayerAssignments | ) | const |
Returns the value of LayerAssignments attribute. This attribute represents assignment of the whole representation to a single or multiple layer(s). The LayerAssigments can be overridden by LayerAssigments of the IfcRepresentationItem's within the list of Items.
| LayerAssignments | [out] Receives the value of LayerAssignments attribute. |
| void OdIfc4x1::IfcRepresentation::getInvOfProductRepresentation | ( | OdDAIObjectIds & | OfProductRepresentation | ) | const |
Returns the value of OfProductRepresentation attribute. This attribute represents reference to the product representations to which this individual representation applies. In most cases it is the reference to one or many product shapes, to which this shape representation is applicable.
| OfProductRepresentation | [out] Receives the value of OfProductRepresentation attribute. |
| void OdIfc4x1::IfcRepresentation::getInvRepresentationMap | ( | OdDAIObjectIds & | RepresentationMap | ) | const |
Returns the value of RepresentationMap attribute. This attribute represents use of the representation within an IfcRepresentationMap. If used, this IfcRepresentation can be assigned to many representations as one of its Items using an IfcMappedItem. Using IfcRepresentationMap is the way to share one representation (often of type IfcShapeRepresentation) by many products.
| RepresentationMap | [out] Receives the value of RepresentationMap attribute. |
| void OdIfc4x1::IfcRepresentation::getItems | ( | OdDAIObjectIds & | Items | ) | const |
Gets the value of Items attribute. This attribute represents set of geometric representation items that are defined for this representation.
| Items | [out] Receives the Items attribute. |
| const OdAnsiString & OdIfc4x1::IfcRepresentation::getRepresentationIdentifier | ( | ) | const |
Returns the value of RepresentationIdentifier attribute. This attribute represents the optional identifier of the representation as used within a project.
| const OdAnsiString & OdIfc4x1::IfcRepresentation::getRepresentationType | ( | ) | const |
Returns the value of RepresentationType attribute. This attribute represents the description of the type of a representation context. The representation type defines the type of geometry or topology used for representing the product representation. More information is given at the subtypes IfcShapeRepresentation and IfcTopologyRepresentation. The supported values for context type are to be specified by implementers agreements.
|
overridevirtual |
Reads object's data from the specified filer.
| rdFiler | [in] Pointer to a filer from which to read the data. |
Reimplemented in OdIfc4x1::IfcShapeModel.
|
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.
Reimplemented in OdIfc4x1::IfcShapeModel, OdIfc4x1::IfcShapeRepresentation, OdIfc4x1::IfcStyledRepresentation, OdIfc4x1::IfcStyleModel, and OdIfc4x1::IfcTopologyRepresentation.
| OdDAI::SetOfOdDAIObjectId & OdIfc4x1::IfcRepresentation::items | ( | ) |
Returns the value of Items attribute. This attribute represents set of geometric representation items that are defined for this representation.
|
overridevirtual |
Writes object's data the the specified filer.
| wrFiler | [in] Pointer to a filer to which to write the data. |
Reimplemented in OdIfc4x1::IfcShapeModel.
|
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.
Reimplemented in OdIfc4x1::IfcShapeModel.
|
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.
Reimplemented in OdIfc4x1::IfcShapeModel.
| void OdIfc4x1::IfcRepresentation::setContextOfItems | ( | const OdDAIObjectId & | ContextOfItems | ) |
Sets the value of ContextOfItems attribute. This attribute represents definition of the representation context for which the different subtypes of representation are valid.
| ContextOfItems | [in] ContextOfItems attribute to set. |
|
overridevirtual |
Sets the object ID of this instance to inverse attributes of related instances according to schema specification of inverse attributes.
| void OdIfc4x1::IfcRepresentation::setRepresentationIdentifier | ( | const OdAnsiString & | RepresentationIdentifier | ) |
Sets the value of RepresentationIdentifier attribute. This attribute represents the optional identifier of the representation as used within a project.
| RepresentationIdentifier | [in] Representation identifier to set. |
| void OdIfc4x1::IfcRepresentation::setRepresentationType | ( | const OdAnsiString & | RepresentationType | ) |
Sets the value of RepresentationType attribute. This attribute represents the description of the type of a representation context. The representation type defines the type of geometry or topology used for representing the product representation. More information is given at the subtypes IfcShapeRepresentation and IfcTopologyRepresentation. The supported values for context type are to be specified by implementers agreements.
| RepresentationType | [in] Representation type to set. |
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrName | [in] Explicit name of the attribute to test. |
Reimplemented from OdIfc::OdIfcInstance.
Reimplemented in OdIfc4x1::IfcShapeModel.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrDef | [in] Attribute definition to test. |
Reimplemented from OdIfc::OdIfcInstance.
Reimplemented in OdIfc4x1::IfcShapeModel.
|
overridevirtual |
Returns the type of this entity.
Reimplemented from OdIfc::OdIfcInstance.
Reimplemented in OdIfc4x1::IfcShapeModel, OdIfc4x1::IfcShapeRepresentation, OdIfc4x1::IfcStyledRepresentation, OdIfc4x1::IfcStyleModel, and OdIfc4x1::IfcTopologyRepresentation.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc::OdIfcInstance.
Reimplemented in OdIfc4x1::IfcShapeModel.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc::OdIfcInstance.
Reimplemented in OdIfc4x1::IfcShapeModel.
|
friend |
Definition at line 288 of file Ifc4x1/IfcRepresentationAutoImpl.h.
|
friend |
Definition at line 289 of file Ifc4x1/IfcRepresentationAutoImpl.h.
|
friend |
Definition at line 287 of file Ifc4x1/IfcRepresentationAutoImpl.h.
|
protected |
Definition at line 281 of file Ifc4x1/IfcRepresentationAutoImpl.h.
|
protected |
Definition at line 284 of file Ifc4x1/IfcRepresentationAutoImpl.h.
|
protected |
Definition at line 282 of file Ifc4x1/IfcRepresentationAutoImpl.h.
|
protected |
Definition at line 283 of file Ifc4x1/IfcRepresentationAutoImpl.h.