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

#include <IfcMappedItem.h>

Inheritance diagram for OdIfc::OdIfcMappedItem:
OdIfc::OdIfcRepresentationItem OdIfc::OdIfcCachedCompound OdIfc::OdIfcCompound

Public Member Functions

OdDAIObjectId mappingSource ()
 
const OdGeMatrix3dmappingTarget () const
 
virtual bool draw (OdGiWorldDraw *pWd) const
 
virtual void compose ()
 
- Public Member Functions inherited from OdIfc::OdIfcRepresentationItem
virtual ~OdIfcRepresentationItem ()
 
virtual OdUInt32 subSetAttributes (OdGiDrawableTraits *pTraits) const
 
virtual bool subWorldDraw (OdGiWorldDraw *wd) const
 
- 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

OdResult transformBy (const OdGeMatrix3d &transform) ODRX_OVERRIDE
 
OdResult getMappedItems (OdArray< OdIfcModelerGeometryPtr > &openings, bool needCopy=false, bool needTransform=false)
 
- Protected Member Functions inherited from OdIfc::OdIfcRepresentationItem
void updateTraitsAuxData (OdGiWorldDraw *wd) const
 
void resetTraitsAuxData (OdGiWorldDraw *wd) const
 
OdResult setAttributes (OdGiWorldDraw *pWd) const
 

Protected Attributes

OdGeMatrix3d m_transf
 
- Protected Attributes inherited from OdIfc::OdIfcCachedCompound
OdGsCachem_pGsNode
 
- Protected Attributes inherited from OdIfc::OdIfcCompound
OdIfcInstancem_pEntInst
 

Friends

class OdIfcElement
 

Additional Inherited Members

- Static Public Member Functions inherited from OdIfc::OdIfcCompound
static const OdIfcInstanceearlyAccess (const OdIfcCompound *compound)
 

Detailed Description

A base class that implements storing and handling data about an IfcMappedItem. An IfcMappedItem is a sub-type of an IfcRepresentationItem that represents a representation item nested in other representation item.

Definition at line 39 of file IfcMappedItem.h.

Member Function Documentation

◆ compose()

virtual void OdIfc::OdIfcMappedItem::compose ( )
virtual

Composes the mapped item.

Reimplemented from OdIfc::OdIfcRepresentationItem.

◆ draw()

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

Draws the mapped 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 mapped item was successfully drawn; otherwise, the method returns false.

Reimplemented from OdIfc::OdIfcRepresentationItem.

◆ getMappedItems()

OdResult OdIfc::OdIfcMappedItem::getMappedItems ( OdArray< OdIfcModelerGeometryPtr > & openings,
bool needCopy = false,
bool needTransform = false )
protected

◆ mappingSource()

OdDAIObjectId OdIfc::OdIfcMappedItem::mappingSource ( )

Retrieves an <exref target="https://docs.opendesign.com/tifc_api_cpp/OdDAIObjectId.html>object identifier</exref> of the underlying <exref target="https://docs.opendesign.com/tifc_api_cpp/OdIfc__OdIfcRepresentationMap.html>OdIfcRepresentationMap</exref> instance.

Returns
An <exref target="https://docs.opendesign.com/tifc_api_cpp/OdDAIObjectId.html>object identifier</exref> of the underlying <exref target="https://docs.opendesign.com/tifc_api_cpp/OdIfc__OdIfcRepresentationMap.html>OdIfcRepresentationMap</exref> instance.

◆ mappingTarget()

const OdGeMatrix3d & OdIfc::OdIfcMappedItem::mappingTarget ( ) const

Retrieves the Mapping Target translation for the mapped item.

Returns
An <exref target="https://docs.opendesign.com/tkernel_api_cpp/OdGeMatrix3d.html">OdGeMatrix3d</exref> object that contains the Mapping Target translation.

◆ transformBy()

OdResult OdIfc::OdIfcMappedItem::transformBy ( const OdGeMatrix3d & transform)
protectedvirtual

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 from OdIfc::OdIfcRepresentationItem.

Friends And Related Symbol Documentation

◆ OdIfcElement

friend class OdIfcElement
friend

Definition at line 77 of file IfcMappedItem.h.

Member Data Documentation

◆ m_transf

OdGeMatrix3d OdIfc::OdIfcMappedItem::m_transf
protected

Definition at line 71 of file IfcMappedItem.h.


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