CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdIfc4x2::IfcShapeRepresentation Class Reference

#include <IfcShapeRepresentationAutoImpl.h>

Inheritance diagram for OdIfc4x2::IfcShapeRepresentation:
OdIfc4x2::IfcShapeModel OdIfc4x2::IfcRepresentation OdIfc4x2::OdIfc4x2Instance OdIfc::OdIfcInstance

Public Member Functions

virtual OdDAI::Entity * getInstanceType () const override
 
virtual bool isKindOf (OdIfc::OdIfcEntityType entityType) const override
 
virtual OdIfc::OdIfcEntityType type () const override
 
- Public Member Functions inherited from OdIfc4x2::IfcShapeModel
void getInvOfShapeAspect (OdDAIObjectIds &OfShapeAspect) const
 
virtual OdResult inFields (OdDAI::OdSpfFilerBase *rdFiler) override
 
virtual OdResult outFields (OdDAI::OdSpfFilerBase *wrFiler) override
 
virtual void unsetAttr (const char *explicitAttrName) override
 
virtual bool testAttr (const char *explicitAttrName) 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 OdIfc4x2::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 OdIfc4x2::OdIfc4x2Instance
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
 

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 Member Functions inherited from OdIfc4x2::IfcShapeModel
virtual OdRxValue getAttr (const char *attrName) const override
 
virtual bool putAttr (const char *explicitAttrName, const OdRxValue &val) override
 
- Protected Attributes inherited from OdIfc4x2::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

The IfcShapeRepresentation represents the concept of a particular geometric representation of a product or a product component within a specific geometric representation context. The inherited attribute RepresentationType is used to define the geometric model used for the shape representation (e.g. 'SweptSolid', or 'Brep'), the inherited attribute RepresentationIdentifier is used to denote the kind of the representation captured by the IfcShapeRepresentation (e.g. 'Axis', 'Body', etc.).

Several representation identifiers for shape representation are included as predefined values for RepresentationIdentifier. Table below indicates the defined list of values for RepresentationIdentifier.

Identifier Description CoG Point to identify the center of gravity of an element. This value can be used for validation purposes Box Bounding box as simplified 3D box geometry of an element Annotation 3D annotations not representing elements Axis 2D or 3D Axis, or single line, representation of an element FootPrint 2D Foot print, or double line, representation of an element, projected to ground view Profile 3D line representation of a profile being planar, e.g. used for door and window outlines Surface 3D Surface representation, e.g. of an analytical surface, of an element plane) Reference 3D representation that is not part of the Body representation. This is used, e.g., for opening geometries, if there are to be excluded from an implicit Boolean operation Body 3D Body representation, e.g. as wireframe, surface, or solid model, of an element Body-FallBack 3D Body representation, e.g. as tessellation, or other surface, or boundary representation, added in addition to the solid model (potentially involving Boolean operations) of an element Clearance 3D clearance volume of the element. Such clearance region indicates space that should not intersect with the 'Body' representation of other elements, though can intersect with the 'Clearance' representation of other elements Lighting Representation of emitting light as a light source within a shape representation

Several representation types for shape representation are included as predefined values for RepresentationType. Table below indicates the defined list of values for RepresentationType.

Type Description Point 2 or 3 dimensional point(s) PointCloud 3 dimensional points represented by a point list Curve 2 or 3 dimensional curve(s) Curve2D 2 dimensional curve(s) Curve3D 3 dimensional curve(s) Surface 2 or 3 dimensional surface(s) Surface2D 2 dimensional surface(s) (a region on ground view) Surface3D 3 dimensional surface(s) SectionedSurface Swept surface(s) created by sweeping open profiles along a directrix FillArea 2D region(s) represented as a filled area (hatching) Text Text defined as text literals AdvancedSurface 3 dimensional b-spline surface(s) GeometricSet Points, curves, surfaces (2 or 3 dimensional) GeometricCurveSet Points, curves (2 or 3 dimensional) Annotation2D Points, curves (2 or 3 dimensional), hatches and text (2 dimensional) SurfaceModel Face based and shell based surface model(s), or tessellated surface model(s) Tessellation Tessellated surface representation(s) only Segment Partial geometry of curves that is not rendered separately from the main curve SolidModel Including swept solid, Boolean results and Brep bodies; SweptSolid Swept area solids, by extrusion and revolution, excluding tapered sweeps AdvancedSweptSolid Swept area solids created by sweeping a profile along a directrix, and tapered sweeps Brep Faceted Brep's with and without voids AdvancedBrep Brep's based on advanced faces, with b-spline surface geometry, with and without voids CSG Boolean results of operations between solid models, half spaces and Boolean results Clipping Boolean differences between swept area solids, half spaces and Boolean results BoundingBox Simplistic 3D representation by a bounding box SectionedSpine Cross-section-based representation of a spine curve and planar cross sections. It can represent a surface or a solid and the interpolations of the between the cross sections is not defined LightSource Light source with (depending on type) position, orientation, light colour, intensity and attenuation MappedRepresentation Representation based on mapped item(s), referring to a representation map

Definition at line 99 of file Ifc4x2/IfcShapeRepresentationAutoImpl.h.

Member Function Documentation

◆ getInstanceType()

virtual OdDAI::Entity * OdIfc4x2::IfcShapeRepresentation::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 OdIfc4x2::IfcShapeModel.

◆ isKindOf()

virtual bool OdIfc4x2::IfcShapeRepresentation::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 OdIfc4x2::IfcShapeModel.

◆ type()

virtual OdIfc::OdIfcEntityType OdIfc4x2::IfcShapeRepresentation::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 OdIfc4x2::IfcShapeModel.


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