CFx SDK Documentation
2023 SP0
|
#include <IfcModel.h>
Protected Member Functions | |
OdResult | setGeomResource () |
virtual void | subInitialize () |
Protected Member Functions inherited from OdDAI::Model | |
OdResult | in (OdDAI::OdSpfFilerBasePtr &rdFiler) |
void | out (OdDAI::OdSpfFilerBasePtr &wrFiler) |
void | name (const OdAnsiString &name) |
void | repository (Repository *repo) |
ModelContentsPtr | createModelContents (const OdAnsiString &schemaName) |
OdDAI::SchemaPtr | getSchemaDef (const OdAnsiString &schemaName) |
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Protected Attributes inherited from OdDAI::Model | |
OdAnsiString | m_name |
SchemaPtr | m_underlyingSchema |
SchemaModulePtr | m_schemaModule |
ModelContentsPtr | m_contents |
Repository * | m_repository |
A class that implements working with IFC model functionality.
Definition at line 50 of file IfcModel.h.
OdIfc::OdIfcModel::OdIfcModel | ( | ) |
Creates a new IFC model object.
OdIfc::OdIfcModel::~OdIfcModel | ( | ) |
Destructs an IFC model object.
void OdIfc::OdIfcModel::composeEntities | ( | ) |
Composes entities in the model using the assigned resolver object.
OdIfcEntityPtr OdIfc::OdIfcModel::createEntityInstanceBT | ( | OdIfcEntityType | entityType | ) |
Creates a new instance of a specified entity type.
entityType | [in] A type of a new entity to be created. |
OdResult OdIfc::OdIfcModel::get | ( | const OdArray< OdDAIObjectId > & | ids | ) | const |
Performs an attempt to compose an entities using the specified resolver object.
ids | [in] An array of <link OdDAIObjectId, identifiers> of objects to compose. |
OdIfcEntityPtr OdIfc::OdIfcModel::get | ( | const OdDAIObjectId | id | ) | const |
Performs an attempt to compose an entity using the specified resolver object.
id | [in] An <link OdDAIObjectId, identifier> of an object to compose. |
OdIfcModelContext OdIfc::OdIfcModel::getContext | ( | ) | const |
Retrieves the current model's context.
bool OdIfc::OdIfcModel::getContextSelected | ( | const OdDAIObjectId & | h | ) | const |
OdResult OdIfc::OdIfcModel::getGeomExtents | ( | OdGeExtents3d & | ext | ) | const |
Retrieves the current geometrical extents of the model.
ext | [out] A placeholder for the current geometry extents object to be returned to a calling subroutine. |
OdDAIObjectId OdIfc::OdIfcModel::getProjectId | ( | ) |
Retrieves the current SDAI project of the model object.
OdIfc::OdIfcModel::ODRX_DECLARE_MEMBERS | ( | OdIfcModel | ) |
void OdIfc::OdIfcModel::setContext | ( | const OdIfcModelContext & | context | ) |
Sets a new context for the model.
context | [in] An <link OdIfc::OdIfcModelContext, OdIfcModelContext> object that represents the new context to be set. |
OdResult OdIfc::OdIfcModel::setContextSelection | ( | const OdDAIObjectIds & | contexts | ) |
Sets geometrical context selection to build a geometrical representation for selected geometrical contexts. Only selected contexts will be composed and drawn.
contexts | [in] A set of <link OdDAIObjectId, identifiers of SDAI objects>, which represent the context selection. |
|
protected |
void OdIfc::OdIfcModel::setProjectId | ( | OdDAIObjectId | projectId | ) |
Sets an <link OdIfc::OdIfcProject IfcProject> entity that is the root entity for the IFC model.
projectId | [in] An <link OdDAIObjectId, object identifier> of the root entity. |
void OdIfc::OdIfcModel::setResolver | ( | OdIfcEntResolver * | pEntResolver | ) |
Sets a new entity resolver object for the model.
pEntResolver | [in] A raw pointer to an entity resolver object to be set. |
|
protectedvirtual |
Implements OdDAI::Model.