CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdIfc4x1::IfcShapeModel Class Reference

#include <IfcShapeModelAutoImpl.h>

Inheritance diagram for OdIfc4x1::IfcShapeModel:
OdIfc4x1::IfcRepresentation OdIfc4x1::OdIfc4x1Instance OdIfc::OdIfcInstance OdIfc4x1::IfcShapeRepresentation OdIfc4x1::IfcTopologyRepresentation

Public Member Functions

void getInvOfShapeAspect (OdDAIObjectIds &OfShapeAspect) const
 
virtual OdResult inFields (OdDAI::OdSpfFilerBase *rdFiler) override
 
virtual OdResult outFields (OdDAI::OdSpfFilerBase *wrFiler) override
 
virtual OdDAI::Entity * getInstanceType () const override
 
virtual void unsetAttr (const char *explicitAttrName) override
 
virtual bool testAttr (const char *explicitAttrName) const 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::IfcRepresentation
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 void setInverseCounterParts () 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 OdGsCachegsNode () const
 
virtual OdUInt32 subSetAttributes (OdGiDrawableTraits *traits) const
 
virtual bool subWorldDraw (OdGiWorldDraw *wd) const
 
virtual OdDbStub * ownerId () const
 

Protected Member Functions

virtual OdRxValue getAttr (const char *attrName) const override
 
virtual bool putAttr (const char *explicitAttrName, const OdRxValue &val) override
 

Friends

class IfcShapeAspect
 

Additional Inherited Members

- Static Public Member Functions inherited from OdIfc::OdIfcInstance
static const OdGePoint3dasPoint3d (const OdIfcInstance *inst)
 
static const OdGePoint2dasPoint2d (const OdIfcInstance *inst)
 
static const OdGeVector3dasVector3d (const OdIfcInstance *inst)
 
static const OdGeVector2dasVector2d (const OdIfcInstance *inst)
 
static const OdGeMatrix2dasMatrix2d (const OdIfcInstance *inst)
 
static const OdGeMatrix3dasMatrix3d (const OdIfcInstance *inst)
 
static OdIfcCompoundPtr asCompound (OdSmartPtr< OdIfcInstance > inst)
 
static const OdCmEntityColorasRgbColor (const OdIfcInstance *inst)
 
- Protected Attributes inherited from OdIfc4x1::IfcRepresentation
OdDAIObjectId m_ContextOfItems
 
OdAnsiString m_RepresentationIdentifier
 
OdAnsiString m_RepresentationType
 
OdDAI::SetOfOdDAIObjectId m_Items
 
- Protected Attributes inherited from OdIfc::OdIfcInstance
voidm_resPtr
 
IfcOpResult m_resolved
 

Detailed Description

IfcShapeModel represents the concept of a particular geometric and/or topological representation of a product's shape or a product component's shape within a representation context. This representation context has to be a geometric representation context (with the exception of topology representations without associated geometry). The two subtypes are IfcShapeRepresentation to cover geometric models that represent a shape, and IfcTopologyRepresentation to cover the connectivity of a product or product component. The topology can have some geometry associated.

The IfcShapeModel can be a shape representation (geometric and/or topological) of a product (via IfcProductDefinitionShape), or a shape representation (geometric and/or topological) of a component of a product shape (via IfcShapeAspect).

Remarks
This definition may not be instantiated.

Definition at line 51 of file Ifc4x1/IfcShapeModelAutoImpl.h.

Member Function Documentation

◆ getAttr() [1/2]

virtual OdRxValue OdIfc4x1::IfcRepresentation::getAttr ( const char * attrName) const
overrideprotectedvirtual

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 from OdIfc4x1::IfcRepresentation.

◆ getAttr() [2/2]

virtual OdRxValue OdIfc4x1::IfcShapeModel::getAttr ( const OdIfc::OdIfcAttribute attrDef) const
overridevirtual

Returns an attribute value for the specified attribute definition.

Parameters
attrDef[in] Attribute definition to query.
Returns
OdRxValue object that represents a generic variant type value.

Reimplemented from OdIfc4x1::IfcRepresentation.

◆ getInstanceType()

virtual OdDAI::Entity * OdIfc4x1::IfcShapeModel::getInstanceType ( ) const
overridevirtual

Returns a type of a class instance.

Returns
Pointer to the <exref target=https://docs.opendesign.com/tkernel_api_cpp/OdDAI__Entity.html>>OdDAI::Entity</exref> type that determines an entity definition within a schema.

Reimplemented from OdIfc4x1::IfcRepresentation.

Reimplemented in OdIfc4x1::IfcShapeRepresentation, and OdIfc4x1::IfcTopologyRepresentation.

◆ getInvOfShapeAspect()

void OdIfc4x1::IfcShapeModel::getInvOfShapeAspect ( OdDAIObjectIds & OfShapeAspect) const

Returns the value of OfShapeAspect attribute. This attribute represents reference to the shape aspect, for which it is the shape representation.

Parameters
OfShapeAspect[out] Receives the value of OfShapeAspect attribute.

◆ inFields()

virtual OdResult OdIfc4x1::IfcShapeModel::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 from OdIfc4x1::IfcRepresentation.

◆ isKindOf()

virtual bool OdIfc4x1::IfcShapeModel::isKindOf ( OdIfc::OdIfcEntityType entityType) const
overridevirtual

Checks whether the specified instance is the object derived from or belongs to this class.

Parameters
entityType[in] Entity to check.
Returns
true if the specified instance is the object derived from or belongs to this class, false otherwise.

Reimplemented from OdIfc4x1::IfcRepresentation.

Reimplemented in OdIfc4x1::IfcShapeRepresentation, and OdIfc4x1::IfcTopologyRepresentation.

◆ outFields()

virtual OdResult OdIfc4x1::IfcShapeModel::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 from OdIfc4x1::IfcRepresentation.

◆ putAttr() [1/2]

virtual bool OdIfc4x1::IfcRepresentation::putAttr ( const char * explicitAttrName,
const OdRxValue & val )
overrideprotectedvirtual

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 OdIfc4x1::IfcRepresentation.

◆ putAttr() [2/2]

virtual bool OdIfc4x1::IfcShapeModel::putAttr ( const OdIfc::OdIfcAttribute explicitAttrDef,
const OdRxValue & val )
overridevirtual

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 OdIfc4x1::IfcRepresentation.

◆ testAttr() [1/2]

virtual bool OdIfc4x1::IfcShapeModel::testAttr ( const char * explicitAttrName) const
overridevirtual

Checks whether the specified attribute is set.

Parameters
explicitAttrName[in] Explicit name of the attribute to test.
Returns
true if the specified attribute is set, false otherwise.

Reimplemented from OdIfc4x1::IfcRepresentation.

◆ testAttr() [2/2]

virtual bool OdIfc4x1::IfcShapeModel::testAttr ( const OdIfc::OdIfcAttribute explicitAttrDef) const
overridevirtual

Checks whether the specified attribute is set.

Parameters
explicitAttrDef[in] Attribute definition to test.
Returns
true if the specified attribute is set, false otherwise.

Reimplemented from OdIfc4x1::IfcRepresentation.

◆ type()

virtual OdIfc::OdIfcEntityType OdIfc4x1::IfcShapeModel::type ( ) const
overridevirtual

Returns the type of this entity.

Returns
A value of the <exref target=https://docs.opendesign.com/tkernel_api_cpp/OdIfc__OdIfcEntityType.html>>OdIfc::OdIfcEntityType</exref> type that represents type of this entity.

Reimplemented from OdIfc4x1::IfcRepresentation.

Reimplemented in OdIfc4x1::IfcShapeRepresentation, and OdIfc4x1::IfcTopologyRepresentation.

◆ unsetAttr() [1/2]

virtual void OdIfc4x1::IfcShapeModel::unsetAttr ( const char * explicitAttrName)
overridevirtual

Resets a value for the specified attribute.

Parameters
explicitAttrName[in] Explicit name of the attribute to reset.

Reimplemented from OdIfc4x1::IfcRepresentation.

◆ unsetAttr() [2/2]

virtual void OdIfc4x1::IfcShapeModel::unsetAttr ( const OdIfc::OdIfcAttribute explicitAttrDef)
overridevirtual

Resets a value for the specified attribute.

Parameters
explicitAttrDef[in] Explicit definition that represents an attribute to reset.

Reimplemented from OdIfc4x1::IfcRepresentation.

Friends And Related Symbol Documentation

◆ IfcShapeAspect

friend class IfcShapeAspect
friend

Definition at line 166 of file Ifc4x1/IfcShapeModelAutoImpl.h.


The documentation for this class was generated from the following file: