#include <IfcRepresentationAutoImpl.h>
The IfcRepresentation defines the general concept of representing product properties and in particular the product shape.
- Representation Use Definition - Each representation, either IfcShapeRepresentation, or IfcTopologyRepresentation have a well defined attributes: ContextOfItems: Reference to an IfcGeometricRepresentationContext as agreed for this representation. RepresentationIdentifier: Name of the representation, for example, 'Body' for 3D shape, 'FootPrint' for 2D ground view, 'Axis' for reference axis. RepresentationType: Name for the geometric, or topological representation type, for example, 'SweptSolid' for 3D swept solids, 'Brep' for boundary representation.
Definition at line 54 of file Ifc2x2_Final/IfcRepresentationAutoImpl.h.
◆ IfcRepresentation()
| OdIfc2x2_final::IfcRepresentation::IfcRepresentation |
( |
| ) |
|
◆ getAttr() [1/2]
| virtual OdRxValue OdIfc2x2_final::IfcRepresentation::getAttr |
( |
const char * | attrName | ) |
const |
|
overridevirtual |
Returns an attribute value for the specified attribute name.
- Parameters
-
| attrName | [in] Name of an attribute to query. |
- Returns
- OdRxValue object that represents a generic variant type value.
Reimplemented in OdIfc2x2_final::IfcShapeRepresentation.
◆ getAttr() [2/2]
◆ getContextOfItems()
| const OdDAIObjectId & OdIfc2x2_final::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.
- Returns
- Returns the value of ContextOfItems attribute.
◆ getInstanceType()
| virtual OdDAI::Entity * OdIfc2x2_final::IfcRepresentation::getInstanceType |
( |
| ) |
const |
|
overridevirtual |
◆ getInvOfProductRepresentation()
| void OdIfc2x2_final::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.
- Parameters
-
| OfProductRepresentation | [out] Receives the value of OfProductRepresentation attribute. |
◆ getItems()
| void OdIfc2x2_final::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.
- Parameters
-
| Items | [out] Receives the Items attribute. |
◆ getRepresentationIdentifier()
| const OdAnsiString & OdIfc2x2_final::IfcRepresentation::getRepresentationIdentifier |
( |
| ) |
const |
Returns the value of RepresentationIdentifier attribute. This attribute represents the optional identifier of the representation as used within a project.
- Returns
- Returns the value of RepresentationIdentifier attribute.
◆ getRepresentationType()
| const OdAnsiString & OdIfc2x2_final::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.
- Returns
- Returns the value of RepresentationType attribute.
◆ inFields()
| virtual OdResult OdIfc2x2_final::IfcRepresentation::inFields |
( |
OdDAI::OdSpfFilerBase * | rdFiler | ) |
|
|
overridevirtual |
Reads object's data from the specified filer.
- Parameters
-
| rdFiler | [in] Pointer to a filer from which to read the data. |
- Returns
- A value of OdResult type that contains the result of the method execution.
Reimplemented in OdIfc2x2_final::IfcShapeRepresentation.
◆ isKindOf()
◆ items()
| OdDAI::SetOfOdDAIObjectId & OdIfc2x2_final::IfcRepresentation::items |
( |
| ) |
|
Returns the value of Items attribute. This attribute represents set of geometric representation items that are defined for this representation.
- Returns
- Returns the value of Items attribute.
◆ outFields()
| virtual OdResult OdIfc2x2_final::IfcRepresentation::outFields |
( |
OdDAI::OdSpfFilerBase * | wrFiler | ) |
|
|
overridevirtual |
Writes object's data the the specified filer.
- Parameters
-
| wrFiler | [in] Pointer to a filer to which to write the data. |
- Returns
- A value of OdResult type that contains the result of the method execution.
Reimplemented in OdIfc2x2_final::IfcShapeRepresentation.
◆ putAttr() [1/2]
| virtual bool OdIfc2x2_final::IfcRepresentation::putAttr |
( |
const char * | explicitAttrName, |
|
|
const OdRxValue & | val ) |
|
overridevirtual |
Sets the specified attribute with a given value.
- Parameters
-
| explicitAttrName | [in] Explicit name of the attribute to set. |
| val | [in] Value to set. |
- Returns
- true if the value is successfully set for the specified attribute, false otherwise.
Reimplemented from OdIfc::OdIfcInstance.
Reimplemented in OdIfc2x2_final::IfcShapeRepresentation.
◆ putAttr() [2/2]
Sets the specified attribute with a given value.
- Parameters
-
| explicitAttrDef | [in] Explicit attribute definition to set. |
| val | [in] Value to set. |
- Returns
- true if the value is successfully set for the specified attribute, false otherwise.
Reimplemented from OdIfc::OdIfcInstance.
Reimplemented in OdIfc2x2_final::IfcShapeRepresentation.
◆ setContextOfItems()
| void OdIfc2x2_final::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.
- Parameters
-
| ContextOfItems | [in] ContextOfItems attribute to set. |
◆ setRepresentationIdentifier()
| void OdIfc2x2_final::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.
- Parameters
-
| RepresentationIdentifier | [in] Representation identifier to set. |
◆ setRepresentationType()
| void OdIfc2x2_final::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.
- Parameters
-
| RepresentationType | [in] Representation type to set. |
◆ testAttr() [1/2]
| virtual bool OdIfc2x2_final::IfcRepresentation::testAttr |
( |
const char * | explicitAttrName | ) |
const |
|
overridevirtual |
◆ testAttr() [2/2]
| virtual bool OdIfc2x2_final::IfcRepresentation::testAttr |
( |
const OdIfc::OdIfcAttribute | explicitAttrDef | ) |
const |
|
overridevirtual |
◆ type()
◆ unsetAttr() [1/2]
| virtual void OdIfc2x2_final::IfcRepresentation::unsetAttr |
( |
const char * | explicitAttrName | ) |
|
|
overridevirtual |
◆ unsetAttr() [2/2]
◆ IfcProductRepresentation
◆ m_ContextOfItems
| OdDAIObjectId OdIfc2x2_final::IfcRepresentation::m_ContextOfItems |
|
protected |
◆ m_Items
| OdDAI::SetOfOdDAIObjectId OdIfc2x2_final::IfcRepresentation::m_Items |
|
protected |
◆ m_RepresentationIdentifier
| OdAnsiString OdIfc2x2_final::IfcRepresentation::m_RepresentationIdentifier |
|
protected |
◆ m_RepresentationType
| OdAnsiString OdIfc2x2_final::IfcRepresentation::m_RepresentationType |
|
protected |
The documentation for this class was generated from the following file: