CFx SDK Documentation  2023 SP0
Public Member Functions | Protected Attributes | Friends | List of all members
OdIfc2x3::OdIfcRepresentationAuto Class Reference

#include <IfcRepresentationAutoImpl.h>

Inheritance diagram for OdIfc2x3::OdIfcRepresentationAuto:
OdIfc::OdIfcEntity OdDAI::EntityInstance OdGiDrawable OdRxObject OdIfc2x3::OdIfcShapeModelAuto OdIfc2x3::OdIfcStyleModelAuto OdIfc2x3::OdIfcShapeRepresentationAuto OdIfc2x3::OdIfcTopologyRepresentationAuto OdIfc2x3::OdIfcStyledRepresentationAuto

Public Member Functions

OdDAIObjectId getContextOfItems () const
 
void setContextOfItems (OdDAIObjectId ContextOfItems)
 
OdAnsiString getRepresentationIdentifier () const
 
void setRepresentationIdentifier (OdAnsiString RepresentationIdentifier)
 
OdAnsiString getRepresentationType () const
 
void setRepresentationType (OdAnsiString RepresentationType)
 
void getItemsAggr (OdDAIObjectIds &aggregate) const
 
void setItemsAggr (const OdDAIObjectIds &aggregate)
 
void getInvRepresentationMapAggr (OdDAIObjectIds &aggregate) const
 
void getInvLayerAssignmentsAggr (OdDAIObjectIds &aggregate) const
 
void getInvOfProductRepresentationAggr (OdDAIObjectIds &aggregate) const
 
 OdIfcRepresentationAuto ()
 
virtual OdResult inFields (OdDAI::OdSpfFilerBase *rdFiler)
 
virtual OdResult outFields (OdDAI::OdSpfFilerBase *wrFiler)
 
virtual void setInverseCounterParts ()
 
virtual void resetInverseCounterParts ()
 
virtual bool isKindOf (OdIfcEntityType entityType) const
 
virtual bool isInstanceOf (OdIfcEntityType entityType) const
 
virtual OdDAI::Entity * getInstanceType () const
 
virtual OdIfcEntityType type () const
 
virtual OdAnsiString typeName () const
 
virtual OdRxValue getAttr (const OdAnsiString &attrName) const
 
virtual void unsetAttr (const OdAnsiString &explicitAttrName)
 
virtual bool testAttr (const OdAnsiString &explicitAttrName) const
 
virtual bool putAttr (const OdAnsiString &explicitAttrName, const OdRxValue &val)
 
virtual OdRxValue getAttr (const OdIfcAttribute attrDef) const
 
virtual void unsetAttr (const OdIfcAttribute explicitAttrDef)
 
virtual bool testAttr (const OdIfcAttribute explicitAttrDef) const
 
virtual bool putAttr (const OdIfcAttribute explicitAttrDef, const OdRxValue &val)
 
- Public Member Functions inherited from OdIfc::OdIfcEntity
 ODRX_DECLARE_MEMBERS (OdIfcEntity)
 
 OdIfcEntity ()
 
 ~OdIfcEntity ()
 
virtual bool isKindOf (OdIfcEntityType entityType) const
 
virtual bool isInstanceOf (OdIfcEntityType entityType) const
 
IfcOpResult resolved ()
 
void resolve (IfcOpResult resolved, void *resPtr)
 
virtual void setGsNode (OdGsCache *pGsNode)
 
virtual OdGsCachegsNode () const
 
virtual OdUInt32 subSetAttributes (OdGiDrawableTraits *traits) const
 
virtual bool subWorldDraw (OdGiWorldDraw *wd) const
 
- Public Member Functions inherited from OdGiDrawable
 ODRX_DECLARE_MEMBERS (OdGiDrawable)
 
virtual DrawableType drawableType () const
 
ODRX_SEALED_VIRTUAL OdUInt32 setAttributes (OdGiDrawableTraits *pTraits) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL bool worldDraw (OdGiWorldDraw *pWd) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL void viewportDraw (OdGiViewportDraw *pVd) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdUInt32 viewportDrawLogicalFlags (OdGiViewportDraw *pVd) const ODRX_SEALED
 
virtual OdResult getGeomExtents (OdGeExtents3d &extents) const
 
ODRX_SEALED_VIRTUAL OdUInt32 regenSupportFlags () const ODRX_SEALED
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () const
 
virtual void addRef ()=0
 
virtual void release ()=0
 
virtual long numRefs () const
 
bool isKindOf (const OdRxClass *pClass) const
 
virtual OdRxObjectPtr clone () const
 
virtual void copyFrom (const OdRxObject *pSource)
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 

Protected Attributes

OdDAIObjectId m_ContextOfItems
 
OdAnsiString m_RepresentationIdentifier
 
OdAnsiString m_RepresentationType
 
OdDAIObjectIds m_Items
 
OdDAIObjectIds m_RepresentationMap_inv
 
OdDAIObjectIds m_LayerAssignments_inv
 
OdDAIObjectIds m_OfProductRepresentation_inv
 
- Protected Attributes inherited from OdIfc::OdIfcEntity
voidm_resPtr
 
IfcOpResult m_resolved
 
- Protected Attributes inherited from OdDAI::EntityInstance
OdDbStub * m_id
 

Friends

class OdIfcRepresentationMapAuto
 
class OdIfcPresentationLayerAssignmentAuto
 
class OdIfcProductRepresentationAuto
 

Additional Inherited Members

- Public Types inherited from OdGiDrawable
enum  SetAttributesFlags {
  kDrawableNone = 0 , kDrawableIsAnEntity = 1 , kDrawableUsesNesting = 2 , kDrawableIsCompoundObject = 4 ,
  kDrawableViewIndependentViewportDraw = 8 , kDrawableIsInvisible = 16 , kDrawableHasAttributes = 32 , kDrawableRegenTypeDependantGeometry = 64 ,
  kDrawableIsDimension = (kDrawableIsAnEntity + kDrawableIsCompoundObject + 128) , kDrawableRegenDraw = 256 , kDrawableStandardDisplaySingleLOD = 512 , kDrawableShadedDisplaySingleLOD = 1024 ,
  kDrawableViewDependentViewportDraw = 2048 , kDrawableBlockDependentViewportDraw = 4096 , kDrawableIsExternalReference = 8192 , kDrawableNotPlottable = 16384 ,
  kLastFlag = kDrawableNotPlottable
}
 
enum  DrawableType {
  kGeometry = 0 , kDistantLight = 1 , kPointLight = 2 , kSpotLight = 3 ,
  kAmbientLight , kSolidBackground , kGradientBackground , kImageBackground ,
  kGroundPlaneBackground , kViewport , kWebLight , kSkyBackground ,
  kImageBasedLightingBackground
}
 
- Static Public Member Functions inherited from OdIfc::OdIfcEntity
static OdGePoint3dasPoint3d (OdSmartPtr< OdIfcEntity > pEnt)
 
static OdGePoint2dasPoint2d (OdSmartPtr< OdIfcEntity > pEnt)
 
static OdGeVector3dasVector3d (OdSmartPtr< OdIfcEntity > pEnt)
 
static OdGeVector2dasVector2d (OdSmartPtr< OdIfcEntity > pEnt)
 
static OdGeMatrix2dasMatrix2d (OdSmartPtr< OdIfcEntity > pEnt)
 
static OdGeMatrix3dasMatrix3d (OdSmartPtr< OdIfcEntity > pEnt)
 
static OdIfcCompoundPtr asCompound (OdSmartPtr< OdIfcEntity > pEnt)
 
static OdCmEntityColorasRgbColor (OdSmartPtr< OdIfcEntity > pEnt)
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 
- Protected Member Functions inherited from OdDAI::EntityInstance
virtual void subViewportDraw (OdGiViewportDraw *vd) const
 
- Protected Member Functions inherited from OdGiDrawable
 OdGiDrawable ()
 
virtual OdUInt32 subViewportDrawLogicalFlags (OdGiViewportDraw *vd) const
 
virtual OdUInt32 subRegenSupportFlags () const
 

Detailed Description

Definition at line 40 of file Ifc2x3/IfcRepresentationAutoImpl.h.

Constructor & Destructor Documentation

◆ OdIfcRepresentationAuto()

OdIfc2x3::OdIfcRepresentationAuto::OdIfcRepresentationAuto ( )

Member Function Documentation

◆ getAttr() [1/2]

virtual OdRxValue OdIfc2x3::OdIfcRepresentationAuto::getAttr ( const OdAnsiString &  attrName) const
virtual

Retrieves the current value of an attribute specified by its name.

Parameters
attrName[in] An ANSI string that contains the attribute name.
Returns
Returns the current value of the attribute.
Remarks
The method provides late binding access to the attribute value by its name. Attributes of select and aggregate data types are also supported.

Reimplemented from OdIfc::OdIfcEntity.

Reimplemented in OdIfc2x3::OdIfcShapeModelAuto.

◆ getAttr() [2/2]

virtual OdRxValue OdIfc2x3::OdIfcRepresentationAuto::getAttr ( const OdIfcAttribute  attrDef) const
virtual

Retrieves the current value of an attribute specified by its definition.

Parameters
attrDef[in] A value of the <link OdIfc::OdIfcAttribute, OdIfcAttribute> enumeration that represents the attribute definition.
Returns
Returns the current value of the attribute.
Remarks
The method provides late binding access to the attribute value by its name. Attributes of select and aggregate data types are also supported.

Reimplemented from OdIfc::OdIfcEntity.

Reimplemented in OdIfc2x3::OdIfcShapeModelAuto.

◆ getContextOfItems()

OdDAIObjectId OdIfc2x3::OdIfcRepresentationAuto::getContextOfItems ( ) const

◆ getInstanceType()

virtual OdDAI::Entity* OdIfc2x3::OdIfcRepresentationAuto::getInstanceType ( ) const
virtual

Retrieves the type of the entity instance.

Returns
Returns a raw pointer to the <link OdDAI::Entity, schema entity definition> of the entity instance.

Implements OdDAI::EntityInstance.

Reimplemented in OdIfc2x3::OdIfcTopologyRepresentationAuto, OdIfc2x3::OdIfcStyleModelAuto, OdIfc2x3::OdIfcStyledRepresentationAuto, OdIfc2x3::OdIfcShapeRepresentationAuto, and OdIfc2x3::OdIfcShapeModelAuto.

◆ getInvLayerAssignmentsAggr()

void OdIfc2x3::OdIfcRepresentationAuto::getInvLayerAssignmentsAggr ( OdDAIObjectIds aggregate) const

◆ getInvOfProductRepresentationAggr()

void OdIfc2x3::OdIfcRepresentationAuto::getInvOfProductRepresentationAggr ( OdDAIObjectIds aggregate) const

◆ getInvRepresentationMapAggr()

void OdIfc2x3::OdIfcRepresentationAuto::getInvRepresentationMapAggr ( OdDAIObjectIds aggregate) const

◆ getItemsAggr()

void OdIfc2x3::OdIfcRepresentationAuto::getItemsAggr ( OdDAIObjectIds aggregate) const

◆ getRepresentationIdentifier()

OdAnsiString OdIfc2x3::OdIfcRepresentationAuto::getRepresentationIdentifier ( ) const

◆ getRepresentationType()

OdAnsiString OdIfc2x3::OdIfcRepresentationAuto::getRepresentationType ( ) const

◆ inFields()

virtual OdResult OdIfc2x3::OdIfcRepresentationAuto::inFields ( OdDAI::OdSpfFilerBase *  rdFiler)
virtual

Reimplemented in OdIfc2x3::OdIfcShapeModelAuto.

◆ isInstanceOf()

virtual bool OdIfc2x3::OdIfcRepresentationAuto::isInstanceOf ( OdIfcEntityType  entityType) const
virtual

◆ isKindOf()

virtual bool OdIfc2x3::OdIfcRepresentationAuto::isKindOf ( OdIfcEntityType  entityType) const
virtual

◆ outFields()

virtual OdResult OdIfc2x3::OdIfcRepresentationAuto::outFields ( OdDAI::OdSpfFilerBase *  wrFiler)
virtual

Reimplemented in OdIfc2x3::OdIfcShapeModelAuto.

◆ putAttr() [1/2]

virtual bool OdIfc2x3::OdIfcRepresentationAuto::putAttr ( const OdAnsiString &  explicitAttrName,
const OdRxValue val 
)
virtual

Sets a new value of an attribute that is specified by its name.

Parameters
explicitAttrName[in] An ANSI string that contains the attribute name.
val[in] A new attribute value to be set.
Returns
Returns true if the attribute value was successfully set; otherwise, the method returns false.

Reimplemented from OdIfc::OdIfcEntity.

Reimplemented in OdIfc2x3::OdIfcShapeModelAuto.

◆ putAttr() [2/2]

virtual bool OdIfc2x3::OdIfcRepresentationAuto::putAttr ( const OdIfcAttribute  explicitAttrDef,
const OdRxValue val 
)
virtual

Sets a new value of a specified attribute.

Parameters
explicitAttrDef[in] An <link OdIfc::OdIfcAttribute, OdIfcAttribute> enumeration that represents the attribute definition.
val[in] A new attribute value to be set.
Returns
Returns true if the attribute value was successfully set; otherwise, the method returns false.

Reimplemented from OdIfc::OdIfcEntity.

Reimplemented in OdIfc2x3::OdIfcShapeModelAuto.

◆ resetInverseCounterParts()

virtual void OdIfc2x3::OdIfcRepresentationAuto::resetInverseCounterParts ( )
virtual

Removes inverse attributes to the entity from related entities.

Reimplemented from OdDAI::EntityInstance.

◆ setContextOfItems()

void OdIfc2x3::OdIfcRepresentationAuto::setContextOfItems ( OdDAIObjectId  ContextOfItems)

◆ setInverseCounterParts()

virtual void OdIfc2x3::OdIfcRepresentationAuto::setInverseCounterParts ( )
virtual

Sets inverse attributes to related entity instances.

Reimplemented from OdDAI::EntityInstance.

◆ setItemsAggr()

void OdIfc2x3::OdIfcRepresentationAuto::setItemsAggr ( const OdDAIObjectIds aggregate)

◆ setRepresentationIdentifier()

void OdIfc2x3::OdIfcRepresentationAuto::setRepresentationIdentifier ( OdAnsiString  RepresentationIdentifier)

◆ setRepresentationType()

void OdIfc2x3::OdIfcRepresentationAuto::setRepresentationType ( OdAnsiString  RepresentationType)

◆ testAttr() [1/2]

virtual bool OdIfc2x3::OdIfcRepresentationAuto::testAttr ( const OdAnsiString &  explicitAttrName) const
virtual

Retrieves whether the attribute value is set or is unset.

Parameters
explicitAttrName[in] An ANSI string that contains the attribute name.
Returns
Returns true if the attribute has a value; otherwise, the method returns false (the attribute value is not set).

Reimplemented from OdIfc::OdIfcEntity.

Reimplemented in OdIfc2x3::OdIfcShapeModelAuto.

◆ testAttr() [2/2]

virtual bool OdIfc2x3::OdIfcRepresentationAuto::testAttr ( const OdIfcAttribute  explicitAttrDef) const
virtual

Retrieves whether the attribute value is set or is unset.

Parameters
explicitAttrDef[in] An <link OdIfc::OdIfcAttribute, OdIfcAttribute> enumeration that represents the attribute definition.
Returns
Returns true if the attribute has a value; otherwise, the method returns false (the attribute value is not set).

Reimplemented from OdIfc::OdIfcEntity.

Reimplemented in OdIfc2x3::OdIfcShapeModelAuto.

◆ type()

virtual OdIfcEntityType OdIfc2x3::OdIfcRepresentationAuto::type ( ) const
virtual

Retrieves the current type of the entity.

Returns
Returns a value of the <link OdIfc::OdIfcEntityType, OdIfcEntityType> enumeration that represents the current entity's type.

Implements OdIfc::OdIfcEntity.

Reimplemented in OdIfc2x3::OdIfcTopologyRepresentationAuto, OdIfc2x3::OdIfcStyleModelAuto, OdIfc2x3::OdIfcStyledRepresentationAuto, OdIfc2x3::OdIfcShapeRepresentationAuto, and OdIfc2x3::OdIfcShapeModelAuto.

◆ typeName()

virtual OdAnsiString OdIfc2x3::OdIfcRepresentationAuto::typeName ( ) const
virtual

Retrieves the type name of the entity instance.

Returns
Returns an ANSI string that contains the type name.

Implements OdDAI::EntityInstance.

Reimplemented in OdIfc2x3::OdIfcTopologyRepresentationAuto, OdIfc2x3::OdIfcStyleModelAuto, OdIfc2x3::OdIfcStyledRepresentationAuto, OdIfc2x3::OdIfcShapeRepresentationAuto, and OdIfc2x3::OdIfcShapeModelAuto.

◆ unsetAttr() [1/2]

virtual void OdIfc2x3::OdIfcRepresentationAuto::unsetAttr ( const OdAnsiString &  explicitAttrName)
virtual

Clears the attribute value.

Parameters
explicitAttrName[in] An ANSI string that contains the attribute name.

Reimplemented from OdIfc::OdIfcEntity.

Reimplemented in OdIfc2x3::OdIfcShapeModelAuto.

◆ unsetAttr() [2/2]

virtual void OdIfc2x3::OdIfcRepresentationAuto::unsetAttr ( const OdIfcAttribute  explicitAttrDef)
virtual

Clears the attribute value.

Parameters
explicitAttrDef[in] An <link OdIfc::OdIfcAttribute, OdIfcAttribute> enumeration that represents the attribute definition.

Reimplemented from OdIfc::OdIfcEntity.

Reimplemented in OdIfc2x3::OdIfcShapeModelAuto.

Friends And Related Function Documentation

◆ OdIfcPresentationLayerAssignmentAuto

Definition at line 95 of file Ifc2x3/IfcRepresentationAutoImpl.h.

◆ OdIfcProductRepresentationAuto

friend class OdIfcProductRepresentationAuto
friend

Definition at line 96 of file Ifc2x3/IfcRepresentationAutoImpl.h.

◆ OdIfcRepresentationMapAuto

friend class OdIfcRepresentationMapAuto
friend

Definition at line 94 of file Ifc2x3/IfcRepresentationAutoImpl.h.

Member Data Documentation

◆ m_ContextOfItems

OdDAIObjectId OdIfc2x3::OdIfcRepresentationAuto::m_ContextOfItems
protected

Definition at line 85 of file Ifc2x3/IfcRepresentationAutoImpl.h.

◆ m_Items

OdDAIObjectIds OdIfc2x3::OdIfcRepresentationAuto::m_Items
protected

Definition at line 88 of file Ifc2x3/IfcRepresentationAutoImpl.h.

◆ m_LayerAssignments_inv

OdDAIObjectIds OdIfc2x3::OdIfcRepresentationAuto::m_LayerAssignments_inv
protected

Definition at line 90 of file Ifc2x3/IfcRepresentationAutoImpl.h.

◆ m_OfProductRepresentation_inv

OdDAIObjectIds OdIfc2x3::OdIfcRepresentationAuto::m_OfProductRepresentation_inv
protected

Definition at line 91 of file Ifc2x3/IfcRepresentationAutoImpl.h.

◆ m_RepresentationIdentifier

OdAnsiString OdIfc2x3::OdIfcRepresentationAuto::m_RepresentationIdentifier
protected

Definition at line 86 of file Ifc2x3/IfcRepresentationAutoImpl.h.

◆ m_RepresentationMap_inv

OdDAIObjectIds OdIfc2x3::OdIfcRepresentationAuto::m_RepresentationMap_inv
protected

Definition at line 89 of file Ifc2x3/IfcRepresentationAutoImpl.h.

◆ m_RepresentationType

OdAnsiString OdIfc2x3::OdIfcRepresentationAuto::m_RepresentationType
protected

Definition at line 87 of file Ifc2x3/IfcRepresentationAutoImpl.h.


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