CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
IfcModelOpsFiller Class Reference

#include <IfcModelOpsFiller.h>

Inheritance diagram for IfcModelOpsFiller:
OdIfcModelFiller

Public Member Functions

 IfcModelOpsFiller (OdIfcModel *pModel)
 
 ~IfcModelOpsFiller ()
 
void prepareModel (OdIfcFilePtr pDb)
 
void appendToSpatial (OdIfcFilePtr pDb, OdDAI::ApplicationInstancePtr pEnt, OdDAI::ApplicationInstancePtr pTargetEntity)
 
void appendToRelAggregates (OdIfcFilePtr pDb, OdDAI::ApplicationInstancePtr pEnt, OdDAI::ApplicationInstancePtr pTargetEntity)
 
OdIfc::OdIfcInstancePtr createBuilding (const OdString &name, const OdAnsiString &compositionType, const OdDAIObjectId localPlacementId)
 
OdIfc::OdIfcInstancePtr createBuildingStorey (const OdString &name, const OdAnsiString &compositionType, const OdDAIObjectId localPlacementId)
 
OdIfc::OdIfcInstancePtr createSpace (const OdAnsiString &compositionType, const OdDAIObjectId localPlacementId)
 
OdIfc::OdIfcInstancePtr createBuildingElementProxy (const OdString &name, const OdDAIObjectId &objectPlacement, const OdDAIObjectId &representation)
 
OdIfc::OdIfcInstancePtr createBuildingElementPart (const OdString &name, const OdDAIObjectId &objectPlacement, const OdDAIObjectId &representation)
 
OdIfc::OdIfcInstancePtr createBuildingElement (const OdAnsiString &entityType, const OdString &name, const OdDAIObjectId &objectPlacement, const OdDAIObjectId &representation)
 
OdIfc::OdIfcInstancePtr createEntityType (const OdAnsiString &type, const OdString &name, const OdDAIObjectIds &hasPropertySets, const OdAnsiString &predefinedType)
 
OdIfc::OdIfcInstancePtr createRelElement (const OdAnsiString &type, const OdString &name)
 
OdIfc::OdIfcInstancePtr createEntityStyle (const OdAnsiString &type, const OdString &name, const OdDAIObjectIds &hasPropertySets, const OdDAIObjectIds &representationMaps)
 
OdIfc::OdIfcInstancePtr createEntityLiningProperties (const OdAnsiString &propName)
 
OdIfc::OdIfcInstancePtr createEntityPanelProperties (const OdAnsiString &entName)
 
OdIfc::OdIfcInstancePtr createRoof (const OdString &name, const OdDAIObjectId &ifcObjectPlacementId, const OdAnsiString &shapeType)
 
OdIfc::OdIfcInstancePtr createCartesianTransformationOperator3DnonUniform (const double &logicalLength, const OdGePoint3d originPt)
 
OdIfc::OdIfcInstancePtr createCartesianTransformationOperator3D ()
 
OdIfc::OdIfcInstancePtr createCartesianTransformationOperator3DnonUniform (const OdGeVector3d *axis1, const OdGeVector3d *axis2, const OdGePoint3d *localOrigin, const double *scale, const OdGeVector3d *axis3, const double *scale2, const double *scale3)
 
OdDAIObjectId getBuilding ()
 
OdDAIObjectId getBuildingPlacement ()
 
std::shared_ptr< IfcModelMaterialFillergetMaterialFiller ()
 
std::shared_ptr< IfcModelGeometryFillergetGeometryFiller ()
 
std::shared_ptr< IfcModelStyleFillergetStyleFiller ()
 
- Public Member Functions inherited from OdIfcModelFiller
virtual ~OdIfcModelFiller ()
 
OdIfcModelPtr model ()
 
OdIfc::OdIfcInstancePtr createFromScratch (const OdString &organizationName, const OdString &applicationDeveloperName, const OdString &applicationDeveloperDescription, const OdString &applicationFullName, const OdString &applicationVersion, const OdString &applicationIdentifier)
 
const OdDAIObjectId & dirX () const
 
const OdDAIObjectId & dirY () const
 
const OdDAIObjectId & dirZ () const
 
const OdDAIObjectId & origin () const
 
const OdDAIObjectId & identity () const
 
const OdDAIObjectId & dirX2D () const
 
const OdDAIObjectId & dirY2D () const
 
const OdDAIObjectId & origin2D () const
 
const OdDAIObjectId & identity2D () const
 
OdIfc::OdIfcInstancePtr person ()
 
OdIfc::OdIfcInstancePtr ownerHistory ()
 
OdIfc::OdIfcInstancePtr unitAssignment ()
 
OdIfc::OdIfcInstancePtr project ()
 
OdIfc::OdIfcInstancePtr site ()
 
OdIfc::OdIfcInstancePtr getObjectDefinition ()
 
OdIfc::OdIfcInstancePtr getPropertySet ()
 
bool putAttrs (OdIfc::OdIfcInstancePtr &inst, std::map< OdAnsiString, OdRxValue > &attrs)
 
void setOwnerHistory (OdIfc::OdIfcInstancePtr history)
 
void setProject (OdIfc::OdIfcInstancePtr project)
 
bool appendId (OdIfc::OdIfcInstance *pInst, OdIfc::OdIfcAttribute attr, OdDAIObjectId id)
 
OdIfc::OdIfcInstancePtr appendGeometricRepresentationContext (const OdAnsiString &name, const OdAnsiString &type, int dim, double precision=OdDAI::Consts::OdNan, OdDAIObjectId idWCS=OdDAIObjectId(), OdDAIObjectId idTrueNorth=OdDAIObjectId())
 
OdIfc::OdIfcInstancePtr appendGeometricRepresentationSubContext (const OdAnsiString &contextIdentifier, const OdAnsiString &contextType, OdIfc::OdIfcInstancePtr pParent, OdAnsiString targetView)
 
OdIfc::OdIfcInstancePtr getGeometricRepresentationContext (const OdAnsiString &type)
 
OdIfc::OdIfcInstancePtr getGeometricRepresentationSubContext (const OdAnsiString &contextIdentifier, const OdAnsiString &contextType)
 
OdIfc::OdIfcInstancePtr createShapeRepresentation (const OdDAIObjectId &contextOfItems, const OdAnsiString &representationIdentifier, const OdAnsiString &representationType, const OdDAIObjectIds &items)
 
OdIfc::OdIfcInstancePtr createProductDefinitionShape (const OdDAIObjectIds &representations)
 
OdIfc::OdIfcInstancePtr createRepresentationMap (const OdDAIObjectId &MappingOrigin, const OdDAIObjectId &MappedRepresentation)
 
OdIfc::OdIfcInstancePtr createMappedItem (const OdDAIObjectId &MappingSource, const OdDAIObjectId &MappingTarget)
 
OdIfc::OdIfcInstancePtr createCompositeCurve (const OdDAIObjectIds &segments, bool selfIntersect)
 
OdIfc::OdIfcInstancePtr createCompositeCurveSegment (const OdAnsiString &transition, bool sameSense, const OdDAIObjectId &parentCurve)
 
OdIfc::OdIfcInstancePtr createCurveStyle (const OdDAIObjectId &curveColourId)
 
OdIfc::OdIfcInstancePtr createTrimmedCurve (const OdDAIObjectId &basisCurve, double param1, double param2, bool bSenseAgreement)
 
OdIfc::OdIfcInstancePtr createTrimmedCurve (const OdDAIObjectId &basisCurve, const OdDAIObjectId &trim1, const OdDAIObjectId &trim2, bool bSenseAgreement)
 
OdIfc::OdIfcInstancePtr createPolyline (const OdDAIObjectIds &points)
 
OdIfc::OdIfcInstancePtr createCircle (const OdGePoint2d &center, const OdGeVector2d &refDirection, double radius)
 
OdIfc::OdIfcInstancePtr createPlane (const OdDAIObjectId &position)
 
OdIfc::OdIfcInstancePtr createPlane (const OdGePlane &plane)
 
OdIfc::OdIfcInstancePtr createWallStandardCase (const OdString &name, const OdDAIObjectId &objectPlacement, const OdDAIObjectId &representation)
 
OdIfc::OdIfcInstancePtr createWall (const OdString &name, const OdDAIObjectId &objectPlacement, const OdDAIObjectId &representation)
 
OdIfc::OdIfcInstancePtr createSlab (const OdString &name, const OdDAIObjectId &objectPlacement, const OdDAIObjectId &representation, const OdAnsiString &predefinedType)
 
OdIfc::OdIfcInstancePtr createOpening (const OdString &name, const OdDAIObjectId &objectPlacement, const OdDAIObjectId &representation, const OdAnsiString &predefinedType=OdAnsiString())
 
OdIfc::OdIfcInstancePtr addRelVoidsElement (const OdDAIObjectId &relatingBuildingElement, const OdDAIObjectId &relatedOpeningElement)
 
OdIfc::OdIfcInstancePtr createRelFillsElement (const OdDAIObjectId &relatingOpeningElement, const OdDAIObjectId &relatedBuildingElement)
 
OdIfc::OdIfcInstancePtr createClassificationReference (const OdString &materialDefName, const OdString &location, const OdAnsiString &itemReference, const OdDAIObjectId &referencedSource)
 
OdIfc::OdIfcInstancePtr createClassification (const OdAnsiString &source, const OdAnsiString &edition, const OdString &name)
 
OdIfc::OdIfcInstancePtr createSiUnit (const char *unitType, const char *prefix, const char *name, bool append=false)
 
OdIfc::OdIfcInstancePtr createUnitAssignment (const OdArray< OdDAIObjectId > &unitsCollection)
 
OdIfc::OdIfcInstancePtr createConversionBasedUnit (const OdAnsiString &name, const OdDAIObjectId &conversionFactor, const OdDAIObjectId &dimensions, const OdAnsiString &unitType)
 
OdIfc::OdIfcInstancePtr createMeasureWithUnit (double measureValue, const OdDAIObjectId &unit, const OdAnsiString &typeName)
 
void setUnitAssignment (OdIfc::OdIfcInstancePtr unitsAssignment=OdIfc::OdIfcInstancePtr())
 
OdIfc::OdIfcInstancePtr addRelAggregates (OdIfc::OdIfcInstancePtr pRelating, OdIfc::OdIfcInstancePtr pRelated)
 
OdIfc::OdIfcInstancePtr appendRelAggregates (OdIfc::OdIfcInstancePtr pRelating, OdIfc::OdIfcInstancePtr pRelated)
 
OdIfc::OdIfcInstancePtr getRelAggregates (OdIfc::OdIfcInstancePtr pRelating)
 
OdIfc::OdIfcInstancePtr addRelContainedInSpatialStructure (OdIfc::OdIfcInstancePtr pRelating, OdIfc::OdIfcInstancePtr pRelated)
 
OdIfc::OdIfcInstancePtr addRelReferencedInSpatialStructure (OdIfc::OdIfcInstancePtr pRelating, OdIfc::OdIfcInstancePtr pRelated)
 
OdIfc::OdIfcInstancePtr createRelContainedInSpatialStructure (const OdDAIObjectIds &relatedElements, const OdDAIObjectId &relStructure)
 
OdIfc::OdIfcInstancePtr createRelReferencedInSpatialStructure (const OdDAIObjectIds &relatedElements, const OdDAIObjectId &relStructure)
 
OdIfc::OdIfcInstancePtr createRelAggregates (const OdString &name, const OdDAIObjectId &relatingObject, const OdDAIObjectIds &relatedObjects)
 
OdIfc::OdIfcInstancePtr createColourRgb (const OdUInt8 &red, const OdUInt8 &green, const OdUInt8 &blue)
 
OdIfc::OdIfcInstancePtr createColourRgb (const double &r, const double &g, const double &b)
 
OdIfc::OdIfcInstancePtr createLocalPlacement (OdIfc::OdIfcInstancePtr placementRelTo, OdIfc::OdIfcInstancePtr relativePlacement)
 
OdIfc::OdIfcInstancePtr createLocalPlacement3d (const OdDAIObjectId &placementRelTo, const OdDAIObjectId &relativePlacement)
 
OdIfc::OdIfcInstancePtr createLocalPlacement3d (const OdDAIObjectId &placementRelTo, const OdGePoint3d &ptLocation, const OdGeVector3d &axis, const OdGeVector3d &refDirection)
 
OdIfc::OdIfcInstancePtr createCartesianPoint (const OdGePoint3d &p)
 
OdIfc::OdIfcInstancePtr createCartesianPoint (const OdGePoint2d &p)
 
OdIfc::OdIfcInstancePtr createPointByDistanceExpression (double distanceAlong, const OdDAIObjectId &basisCurve, double offsetLateral=0., double offsetVertical=0., double offsetLongitudinal=0., const OdAnsiString &distanceAlongType="ifclengthmeasure")
 
OdIfc::OdIfcInstancePtr createDirection (const OdGeVector3d &v)
 
OdIfc::OdIfcInstancePtr createDirection (const OdGeVector2d &v)
 
OdIfc::OdIfcInstancePtr createAxis2Placement3D (const OdGeMatrix3d &m)
 
OdIfc::OdIfcInstancePtr createAxis2Placement3D (const OdDAIObjectId &location, const OdDAIObjectId &axis, const OdDAIObjectId &refDirection)
 
OdIfc::OdIfcInstancePtr createAxis2Placement3D (const OdGePoint3d &ptLocation, const OdGeVector3d *axis, const OdGeVector3d *refDirection)
 
OdIfc::OdIfcInstancePtr createAxis2Placement2D (const OdGeMatrix2d &m)
 
OdIfc::OdIfcInstancePtr createAxis2Placement2D (const OdDAIObjectId &location, const OdDAIObjectId &refDirection)
 
OdIfc::OdIfcInstancePtr createSite (const OdAnsiString &name="Default site")
 
double getConversionFactor (UnitsConversion unit)
 
IfcPropertySetFillerPtr initPropertySet (OdIfc::OdIfcInstancePtr objectDefinition)
 
IfcPropertySetFillerPtr initDetachedPropertySet ()
 
OdIfc::OdIfcInstancePtr createIfcPropertySet (const OdString &name, const OdDAIObjectIds &props)
 
IfcQuantitySetFillerPtr createQuantitySet (OdIfc::OdIfcInstancePtr objectDefinition)
 
OdIfc::OdIfcInstancePtr createRelDefinesByProperties (const OdDAIObjectIds &relatedObjects, OdDAIObjectId &relatingPropDef)
 
OdIfc::OdIfcInstancePtr appendRelDefinesByProperties (OdIfc::OdIfcInstancePtr pRelatingPropertyDefinition, OdIfc::OdIfcInstancePtr relatedObjectDefinition)
 
OdIfc::OdIfcInstancePtr getRelDefinesByProperties (OdIfc::OdIfcInstancePtr pRelatingPropertyDefinition)
 
OdIfc::OdIfcInstancePtr createRelDefinesByType (const OdDAIObjectIds &relatedOjects, const OdDAIObjectId &relTypeId)
 
OdIfc::OdIfcInstancePtr createSurfaceStyle (const OdAnsiString &name, const OdCmEntityColor &color)
 
OdIfc::OdIfcInstancePtr findSurfaceStyle (const OdAnsiString &name)
 
OdIfc::OdIfcInstancePtr createStyledItem (OdIfc::OdIfcInstancePtr item, OdIfc::OdIfcInstancePtr style)
 
OdIfc::OdIfcInstancePtr createVector (OdIfc::OdIfcInstancePtr pDirection, double magnitude)
 

Protected Attributes

std::shared_ptr< IfcModelMaterialFillerm_materialFiller
 
std::shared_ptr< IfcModelGeometryFillerm_geometryFiller
 
std::shared_ptr< IfcModelStyleFillerm_styleFiller
 
std::map< OdAnsiString, OdIfc::OdIfcInstance * > m_geometricRepresentationContext
 
OdDAIObjectId m_building
 
OdDAIObjectId m_buildingPlacement
 
- Protected Attributes inherited from OdIfcModelFiller
EntityDefinitions Entity
 
OdIfcModelPtr m_model
 
OdIfc::OdIfcInstancePtr m_person
 
OdIfc::OdIfcInstancePtr m_ownerHistory
 
OdIfc::OdIfcInstancePtr m_unitAssignment
 
OdIfc::OdIfcInstancePtr m_project
 
OdIfc::OdIfcInstancePtr m_site
 
OdDAIObjectId m_dirX
 
OdDAIObjectId m_dirY
 
OdDAIObjectId m_dirZ
 
OdDAIObjectId m_posOrigin
 
OdDAIObjectId m_identity
 
OdDAIObjectId m_dirX2D
 
OdDAIObjectId m_dirY2D
 
OdDAIObjectId m_posOrigin2D
 
OdDAIObjectId m_identity2D
 
OdDAIObjectIds unitsCollection
 
std::map< OdIfc::OdIfcInstance *, OdIfc::OdIfcInstance * > m_relAggregates
 
std::map< OdIfc::OdIfcInstance *, OdIfc::OdIfcInstance * > m_relContainedInSpatialStructure
 
std::map< OdIfc::OdIfcInstance *, OdIfc::OdIfcInstance * > m_relReferencedInSpatialStructure
 
std::map< OdAnsiString, OdIfc::OdIfcInstance * > m_geometricRepresentationContext
 
std::map< OdAnsiString, std::map< OdAnsiString, OdIfc::OdIfcInstance * > > m_geometricRepresentationSubContext
 
std::map< OdIfc::OdIfcInstance *, OdIfc::OdIfcInstance * > m_relDefinesByProperties
 
std::map< OdAnsiString, OdIfc::OdIfcInstance * > m_surfaceStyles
 
OdIfc::OdIfcInstancePtr m_objectDefinition
 
OdIfc::OdIfcInstancePtr m_propertySet
 
OdDAIObjectIds m_idProperties
 
std::map< UnitsConversion, double > m_conversionFactors
 

Additional Inherited Members

- Public Types inherited from OdIfcModelFiller
enum  UnitsConversion {
  IfcLengthUnit_Inch_To_Meters = 0 , IfcLengthUnit_Foot_To_Meters = 1 , IfcAreaUnit_SquareInch_To_SquareMeters = 7 , IfcAreaUnit_SquareFoot_To_SquareMeters = 8 ,
  IfcVolumeUnit_CubicInch_To_CubicMeters = 15 , IfcVolumeUnit_CubicFoot_To_CubicMeters = 16 , IfcPlaneAngleUnit_Angle_To_Radians = 23
}
 
- Protected Member Functions inherited from OdIfcModelFiller
void initEntities ()
 
 OdIfcModelFiller (OdDAI::Model *model)
 
void appendSharedInstances ()
 

Detailed Description

Subclass of OdIfcModelFiller that provides extended set of model entities creation operations (building elements, relationships, material and style processing).

Definition at line 38 of file IfcModelOpsFiller.h.

Constructor & Destructor Documentation

◆ IfcModelOpsFiller()

IfcModelOpsFiller::IfcModelOpsFiller ( OdIfcModel * pModel)

Default constructor for the IfcModelOpsFiller class.

◆ ~IfcModelOpsFiller()

IfcModelOpsFiller::~IfcModelOpsFiller ( )

Destructor of the IfcModelOpsFiller class.

Member Function Documentation

◆ appendToRelAggregates()

void IfcModelOpsFiller::appendToRelAggregates ( OdIfcFilePtr pDb,
OdDAI::ApplicationInstancePtr pEnt,
OdDAI::ApplicationInstancePtr pTargetEntity )

Appends new IfcRelAggregates relationship for selected entities within a model in OdIfcFile.

Parameters
pDb[in] OdSmartPtr pointer to previously created OdIfcFile.
pEnt[in] OdSmartPtr<ApplicationInstance> to related entity.
pTargetEntity[in] OdSmartPtr<ApplicationInstance> of relating entity to provide type of previously created target entity in the OdIfcFile model.

◆ appendToSpatial()

void IfcModelOpsFiller::appendToSpatial ( OdIfcFilePtr pDb,
OdDAI::ApplicationInstancePtr pEnt,
OdDAI::ApplicationInstancePtr pTargetEntity )

Appends new IfcRelContainedInSpatialstructure relationship for selected entities within a model in OdIfcFile.

Parameters
pDb[in] OdSmartPtr pointer to previously created OdIfcFile.
pEnt[in] OdSmartPtr<ApplicationInstance> to related entity.
pTargetEntity[in] OdSmartPtr<ApplicationInstance> of relating entity to provide type of previously created target entity in the OdIfcFile model.

◆ createBuilding()

OdIfc::OdIfcInstancePtr IfcModelOpsFiller::createBuilding ( const OdString & name,
const OdAnsiString & compositionType,
const OdDAIObjectId localPlacementId )

Appends new IfcBuilding entity to the model.

Parameters
name[in] OdString to determine building element proxy name.
compositionType[in] OdAnsiString to determine building composition type.
localPlacementId[in] OdDAIObjectId of entity placement.
Returns
A pointer to the created and appended to the model entity.

◆ createBuildingElement()

OdIfc::OdIfcInstancePtr IfcModelOpsFiller::createBuildingElement ( const OdAnsiString & entityType,
const OdString & name,
const OdDAIObjectId & objectPlacement,
const OdDAIObjectId & representation )

Appends new IfcBuildingElement subclass entity to the model.

Parameters
entityType[in] OdAnsiString to determine building element IFC type name.
name[in] OdAnsiString to determine building element name.
objectPlacement[in] OdDAIObjectId of entity placement.
representation[in] OdDAIObjectId of entity representation.
Returns
A pointer to the created and appended to the model entity.

◆ createBuildingElementPart()

OdIfc::OdIfcInstancePtr IfcModelOpsFiller::createBuildingElementPart ( const OdString & name,
const OdDAIObjectId & objectPlacement,
const OdDAIObjectId & representation )

Appends new IfcBuildingElementPart entity to the model.

Parameters
name[in] OdAnsiString to determine building element part name.
objectPlacement[in] OdDAIObjectId of entity placement.
representation[in] OdDAIObjectId of entity representation.
Returns
A pointer to the created and appended to the model entity.

◆ createBuildingElementProxy()

OdIfc::OdIfcInstancePtr IfcModelOpsFiller::createBuildingElementProxy ( const OdString & name,
const OdDAIObjectId & objectPlacement,
const OdDAIObjectId & representation )

Appends new IfcBuildingElementProxy entity to the model.

Parameters
name[in] OdString to determine building element proxy name.
objectPlacement[in] OdDAIObjectId of entity placement.
representation[in] OdDAIObjectId of entity representation.
Returns
A pointer to the created and appended to the model entity.

◆ createBuildingStorey()

OdIfc::OdIfcInstancePtr IfcModelOpsFiller::createBuildingStorey ( const OdString & name,
const OdAnsiString & compositionType,
const OdDAIObjectId localPlacementId )

Appends new IfcBuildingStorey entity to the model.

Parameters
name[in] OdString to determine building element proxy name.
compositionType[in] OdAnsiString to determine building storey composition type.
localPlacementId[in] OdDAIObjectId of entity placement.
Returns
A pointer to the created and appended to the model entity.

◆ createCartesianTransformationOperator3D()

OdIfc::OdIfcInstancePtr IfcModelOpsFiller::createCartesianTransformationOperator3D ( )

Appends new IfcCartesianTransformationOperator3D entity to the model.

Returns
A pointer to the created and appended to the model entity.

◆ createCartesianTransformationOperator3DnonUniform() [1/2]

OdIfc::OdIfcInstancePtr IfcModelOpsFiller::createCartesianTransformationOperator3DnonUniform ( const double & logicalLength,
const OdGePoint3d originPt )

Appends new IfcCartesianTransformationOperator3DnonUniform entity to the model.

Parameters
logicalLength[in] double to determime transformation value.
originPt[in] OdGePoint3d of transformation.
Returns
A pointer to the created and appended to the model entity.

◆ createCartesianTransformationOperator3DnonUniform() [2/2]

OdIfc::OdIfcInstancePtr IfcModelOpsFiller::createCartesianTransformationOperator3DnonUniform ( const OdGeVector3d * axis1,
const OdGeVector3d * axis2,
const OdGePoint3d * localOrigin,
const double * scale,
const OdGeVector3d * axis3,
const double * scale2,
const double * scale3 )

Appends new IfcCartesianTransformationOperator3DnonUniform entity to the model.

Parameters
axis1[in] pointer to OdGeVector3d to determime x axis direction.
axis2[in] pointer to OdGeVector3d to determime y axis direction.
axis3[in] pointer to OdGeVector3d to determime z axis direction.
scale[in] pointer to double to determime the x axis scale factor.
scale2[in] pointer to double to determine y axis scale factor.
scale3[in] pointer to double to determine z axis scale factor.
localOrigin[in] OdGePoint3d local origin of transformation.
Returns
A pointer to the created and appended to the model entity.

◆ createEntityLiningProperties()

OdIfc::OdIfcInstancePtr IfcModelOpsFiller::createEntityLiningProperties ( const OdAnsiString & propName)

Appends new IfcPropertySetDefinition subclass entity to the model.

Parameters
propName[in] OdAnsiString to determine IfcPropertySetDefinition subclass type name.
Returns
A pointer to the created and appended to the model entity.

◆ createEntityPanelProperties()

OdIfc::OdIfcInstancePtr IfcModelOpsFiller::createEntityPanelProperties ( const OdAnsiString & entName)

Appends new IfcPropertySetDefinition subclass entity to the model.

Parameters
propName[in] OdAnsiString to determine IfcPropertySetDefinition subclass type name.
Returns
A pointer to the created and appended to the model entity.

◆ createEntityStyle()

OdIfc::OdIfcInstancePtr IfcModelOpsFiller::createEntityStyle ( const OdAnsiString & type,
const OdString & name,
const OdDAIObjectIds & hasPropertySets,
const OdDAIObjectIds & representationMaps )

Appends new IfcTypeProduct subclass entity to the model to define specific product information, that is common to all occurrences of that product type.

Parameters
type[in] OdAnsiString to determine IfcTypeProduct subclass type name.
name[in] OdAnsiString to determine IfcTypeProduct subclass entity type name.
hasPropertySets[in] OdDAIObjectId collection of entity building element type commonly shared property sets.
representationMaps[in] OdDAIObjectId collection of representation maps.
Returns
A pointer to the created and appended to the model entity.

◆ createEntityType()

OdIfc::OdIfcInstancePtr IfcModelOpsFiller::createEntityType ( const OdAnsiString & type,
const OdString & name,
const OdDAIObjectIds & hasPropertySets,
const OdAnsiString & predefinedType )

Appends new IfcBuildingElementType subclass entity to the model to define specific product information, that is common to all occurrences of that product type.

Parameters
type[in] OdAnsiString to determine building element type IFC name.
name[in] OdAnsiString to determine building element type name.
hasPropertySets[in] OdDAIObjectId collection of entity building element type commonly shared property sets.
predefinedType[in] OdAnsiString name of predefined type.
Returns
A pointer to the created and appended to the model entity.

◆ createRelElement()

OdIfc::OdIfcInstancePtr IfcModelOpsFiller::createRelElement ( const OdAnsiString & type,
const OdString & name )

Appends new IfcRelationship subclass entity to the model.

Parameters
type[in] OdAnsiString to determine IfcRelationship subclass type IFC name.
name[in] OdAnsiString to determine IfcRelationship subclass entity name.
Returns
A pointer to the created and appended to the model entity.

◆ createRoof()

OdIfc::OdIfcInstancePtr IfcModelOpsFiller::createRoof ( const OdString & name,
const OdDAIObjectId & ifcObjectPlacementId,
const OdAnsiString & shapeType )

Appends new IfcRoof entity to the model.

Parameters
name[in] OdAnsiString to determime entity name.
ifcObjectPlacementId[in] OdDAIObjectId of entity placement.
shapeType[in] OdAnsiString to determine shape type.
Returns
A pointer to the created and appended to the model entity.

◆ createSpace()

OdIfc::OdIfcInstancePtr IfcModelOpsFiller::createSpace ( const OdAnsiString & compositionType,
const OdDAIObjectId localPlacementId )

Appends new IfcSpace entity to the model.

Parameters
compositionType[in] OdAnsiString to determine building storey composition type.
localPlacementId[in] OdDAIObjectId of entity placement.
Returns
A pointer to the created and appended to the model entity.

◆ getBuilding()

OdDAIObjectId IfcModelOpsFiller::getBuilding ( )

Returns existing building OdDAIObjectId.

Returns
Building OdDAIObjectId previously appended to the model.

◆ getBuildingPlacement()

OdDAIObjectId IfcModelOpsFiller::getBuildingPlacement ( )

Returns existing building placement OdDAIObjectId.

Returns
Building placement OdDAIObjectId from the model storage.

◆ getGeometryFiller()

std::shared_ptr< IfcModelGeometryFiller > IfcModelOpsFiller::getGeometryFiller ( )

Retrieves IfcModelOpsFiller subclass to process geometry.

Returns
pointer to IfcModelGeometryFiller instance.

◆ getMaterialFiller()

std::shared_ptr< IfcModelMaterialFiller > IfcModelOpsFiller::getMaterialFiller ( )

Returns IfcModelOpsFiller subclass to process materials.

Returns
pointer to IfcModelMaterialFiller instance.

◆ getStyleFiller()

std::shared_ptr< IfcModelStyleFiller > IfcModelOpsFiller::getStyleFiller ( )

Returns IfcModelOpsFiller subclass to process styles.

Returns
pointer to IfcModelStyleFiller instance.

◆ prepareModel()

void IfcModelOpsFiller::prepareModel ( OdIfcFilePtr pDb)

details Fills an empty model with predefined set of entities, including geometrical contexts and subcontexts, project, site and building.

Parameters
pDb[in] OdSmartPtr pointer to previously created OdIfcFile.

Member Data Documentation

◆ m_building

OdDAIObjectId IfcModelOpsFiller::m_building
protected

Definition at line 244 of file IfcModelOpsFiller.h.

◆ m_buildingPlacement

OdDAIObjectId IfcModelOpsFiller::m_buildingPlacement
protected

Definition at line 245 of file IfcModelOpsFiller.h.

◆ m_geometricRepresentationContext

std::map<OdAnsiString, OdIfc::OdIfcInstance*> IfcModelOpsFiller::m_geometricRepresentationContext
protected

Definition at line 243 of file IfcModelOpsFiller.h.

◆ m_geometryFiller

std::shared_ptr<IfcModelGeometryFiller> IfcModelOpsFiller::m_geometryFiller
protected

Definition at line 240 of file IfcModelOpsFiller.h.

◆ m_materialFiller

std::shared_ptr<IfcModelMaterialFiller> IfcModelOpsFiller::m_materialFiller
protected

Definition at line 239 of file IfcModelOpsFiller.h.

◆ m_styleFiller

std::shared_ptr<IfcModelStyleFiller> IfcModelOpsFiller::m_styleFiller
protected

Definition at line 241 of file IfcModelOpsFiller.h.


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