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

#include <IfcRepresentationItem.h>

Inheritance diagram for OdIfc::OdIfcRepresentationItem:
OdIfc::OdIfcCachedCompound OdIfc::OdIfcCompound OdIfc::OdIfcGeometricRepresentationItem OdIfc::OdIfcMappedItem OdIfc::OdIfcTopologicalRepresentationItem OdIfc::OdIfcCurve OdIfc::OdIfcSegment OdIfc::OdIfcShellBasedSurfaceModel OdIfc::OdIfcConnectedFaceSet OdIfc::OdIfcBoundedCurve OdIfc::OdIfcSpiral OdIfc::OdIfcCurveSegment OdIfc::OdIfcCompositeCurve OdIfc::OdIfcGradientCurve OdIfc::OdIfcSegmentedReferenceCurve

Public Member Functions

virtual ~OdIfcRepresentationItem ()
 
virtual void compose ()
 
virtual bool draw (OdGiWorldDraw *pWd) const
 
virtual OdUInt32 subSetAttributes (OdGiDrawableTraits *pTraits) const
 
virtual bool subWorldDraw (OdGiWorldDraw *wd) const
 
virtual OdResult transformBy (const OdGeMatrix3d &transform)
 
- 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 ()
 

Protected Member Functions

void updateTraitsAuxData (OdGiWorldDraw *wd) const
 
void resetTraitsAuxData (OdGiWorldDraw *wd) const
 
OdResult setAttributes (OdGiWorldDraw *pWd) const
 

Friends

class OdIfcShapeRepresentation
 

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

The class that implements work with a representation items for IFC SDK.

Definition at line 43 of file IfcRepresentationItem.h.

Constructor & Destructor Documentation

◆ ~OdIfcRepresentationItem()

virtual OdIfc::OdIfcRepresentationItem::~OdIfcRepresentationItem ( )
virtual

Destroys the representation item object.

Member Function Documentation

◆ compose()

◆ draw()

virtual bool OdIfc::OdIfcRepresentationItem::draw ( OdGiWorldDraw * pWd) const
virtual

Draws the representation item to the <exref target="https://docs.opendesign.com/tv_api_cpp/OdGiWorldDraw.html">OdGiWorldDraw interface</exref>.

Parameters
pWd[in] A raw pointer to the object for the entity-level vectorization.
Returns
true if the representation item was successfully drawn; otherwise, the method returns false.

Reimplemented in OdIfc::OdIfcCompositeCurve, OdIfc::OdIfcConnectedFaceSet, OdIfc::OdIfcCurveSegment, OdIfc::OdIfcMappedItem, OdIfc::OdIfcSegment, and OdIfc::OdIfcShellBasedSurfaceModel.

◆ resetTraitsAuxData()

void OdIfc::OdIfcRepresentationItem::resetTraitsAuxData ( OdGiWorldDraw * wd) const
protected

◆ setAttributes()

OdResult OdIfc::OdIfcRepresentationItem::setAttributes ( OdGiWorldDraw * pWd) const
protected

◆ subSetAttributes()

virtual OdUInt32 OdIfc::OdIfcRepresentationItem::subSetAttributes ( OdGiDrawableTraits * pTraits) const
virtual

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

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

◆ subWorldDraw()

virtual bool OdIfc::OdIfcRepresentationItem::subWorldDraw ( OdGiWorldDraw * wd) const
virtual

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

Parameters
wd[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.

◆ transformBy()

virtual OdResult OdIfc::OdIfcRepresentationItem::transformBy ( const OdGeMatrix3d & transform)
virtual

Transforms the representation item by a specified transformation matrix.

Parameters
transform[in] A transformation matrix object.
Returns
eOk if the transformation operation succeeds; otherwise, the method returns an appropriate error code.

Reimplemented in OdIfc::OdIfcConnectedFaceSet, OdIfc::OdIfcCurve, OdIfc::OdIfcMappedItem, and OdIfc::OdIfcShellBasedSurfaceModel.

◆ updateTraitsAuxData()

void OdIfc::OdIfcRepresentationItem::updateTraitsAuxData ( OdGiWorldDraw * wd) const
protected

Friends And Related Symbol Documentation

◆ OdIfcShapeRepresentation

friend class OdIfcShapeRepresentation
friend

Definition at line 94 of file IfcRepresentationItem.h.


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