CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdIfc::OdIfcShapeRepresentation Class Reference

#include <IfcShapeRepresentation.h>

Inheritance diagram for OdIfc::OdIfcShapeRepresentation:
OdIfc::OdIfcRepresentation OdIfc::OdIfcCachedCompound OdIfc::OdIfcCompound

Public Member Functions

virtual void compose ()
 
OdUInt32 subSetAttributes (OdGiDrawableTraits *traits) const
 
bool subWorldDraw (OdGiWorldDraw *pWd) const
 
OdResult getGeomExtents (OdGeExtents3d &ext) const
 
- Public Member Functions inherited from OdIfc::OdIfcRepresentation
OdString getRepresentationIdentifier ()
 
OdString getRepresentationType ()
 
OdDAIObjectId getOfProductRepresentation () const
 
OdDAIObjectId getContextOfItems ()
 
const OdDAIObjectIds & getItems ()
 
- Public Member Functions inherited from OdIfc::OdIfcCachedCompound
 OdIfcCachedCompound ()
 
virtual void setGsNode (OdGsCache *pGsNode)
 
virtual OdGsCachegsNode () const
 
- Public Member Functions inherited from OdIfc::OdIfcCompound
void compose () override
 
OdIfcEntityType type ()
 
OdRxValue getAttr (const OdIfcAttribute attrDef) const
 
virtual OdRxValue getAttr (const OdAnsiString &attrName) const
 
OdIfcModelowningModel () const
 
bool isKindOf (OdIfcEntityType type) const
 
bool isInstanceOf (OdIfcEntityType entityType) const
 
const OdAnsiString & typeName ()
 
OdIfcFileowningIfcFile () const
 
OdStepFile * owningStepFile () const override
 
virtual bool isPersistent () const
 
virtual OdDbStub * id () const
 
virtual OdDbStub * ownerId () const
 
virtual void xmitPropagateModify ()
 

Additional Inherited Members

- Static Public Member Functions inherited from OdIfc::OdIfcCompound
static const OdIfcInstanceearlyAccess (const OdIfcCompound *compound)
 
- Protected Attributes inherited from OdIfc::OdIfcCachedCompound
OdGsCachem_pGsNode
 
- Protected Attributes inherited from OdIfc::OdIfcCompound
OdIfcInstancem_pEntInst
 

Detailed Description

A class that implements storing and handling of a shape geometric representation of a product or its component.

Definition at line 41 of file IfcShapeRepresentation.h.

Member Function Documentation

◆ compose()

virtual void OdIfc::OdIfcShapeRepresentation::compose ( )
virtual

Composes the representation item object.

Reimplemented from OdIfc::OdIfcRepresentation.

◆ getGeomExtents()

OdResult OdIfc::OdIfcShapeRepresentation::getGeomExtents ( OdGeExtents3d & ext) const

Retrieves the current geometrical extents of the production object.

Parameters
ext[out] A placeholder for the current geometry extents object to be returned to a calling subroutine.
Returns
eOk if the current extents were successfully returned; otherwise, the method returns an appropriate error code.
Remarks
The method accepts an instance of the <exref target="https://docs.opendesign.com/tkernel_api_cpp/OdGeExtents3d.html">OdGeExtents3d</exref> class, fills it with the data about the model's extents, and returns it to a calling subroutine.

◆ subSetAttributes()

OdUInt32 OdIfc::OdIfcShapeRepresentation::subSetAttributes ( OdGiDrawableTraits * traits) const

Sets the values of the representation item's sub-entity traits.

Parameters
traits[out] A raw pointer to the traits to be filled and returned to a calling subroutine.
Returns
The result of the value setting.

◆ subWorldDraw()

bool OdIfc::OdIfcShapeRepresentation::subWorldDraw ( OdGiWorldDraw * pWd) const

Draws graphical representation of the item that is independent on any view port contexts.

Parameters
pWd[in] A raw pointer to the object that encapsulates parameters of view port independent vectorization.
Returns
true if the drawing was successful; otherwise, the method returns false.

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