CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
IfcCore.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2024, Open Design Alliance (the "Alliance").
3// All rights reserved.
4//
5// This software and its documentation and related materials are owned by
6// the Alliance. The software may only be incorporated into application
7// programs owned by members of the Alliance, subject to a signed
8// Membership Agreement and Supplemental Software License Agreement with the
9// Alliance. The structure and organization of this software are the valuable
10// trade secrets of the Alliance and its suppliers. The software is also
11// protected by copyright law and international treaty provisions. Application
12// programs incorporating this software must include the following statement
13// with their copyright notices:
14//
15// This application incorporates Open Design Alliance software pursuant to a license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2024 by Open Design Alliance.
18// All rights reserved.
19//
20// By use of this software, its documentation or related materials, you
21// acknowledge and accept the above terms.
23
24#ifndef _IFC_CORE_H
25#define _IFC_CORE_H
26
27#include <daiModule.h>
28#include "daiHostModule.h"
29
30#include "IfcBuildOptions.h"
31#include "IfcValueTypes.h"
32#include "IfcUtils.h"
33
35
52
67
80IFCCORE_EXPORT OdResult odIfcInitialize(bool initCDA = true, bool initIfcGeomResource = true, ModelerType modelerType = kDefaultModeler);
81
87
97
104
110
116
120class IFCCORE_EXPORT OdIfcCoreModule : public OdDAIHostModule
121{
122public:
123
127 virtual void initApp();
128
132 virtual void uninitApp();
133
139 OdResult registerSchemaModule(OdExpSchemaModule *expSchemaModule);
140
146};
147
152
166 const OdDAIObjectId& subContextId,
167 OdDAI::Model *pModel,
168 OdDAIObjectId& shapeId,
169 int shapeType);
170
184 const OdDAIObjectId& subContextId,
185 OdDAI::Model* pModel,
186 OdDAIObjectId& shapeId,
187 int shapeType);
188
189//DOM-IGNORE-BEGIN
194//DOM-IGNORE-END
195
196#endif // _IFC_CORE_H
OdSmartPtr< OdGiDrawable > OdGiDrawablePtr
#define IFCCORE_EXPORT
OdSmartPtr< OdIfcCoreModule > OdIfcCoreModulePtr
Definition IfcCore.h:151
IfcSchema
Definition IfcCore.h:40
@ kScmUndefined
Definition IfcCore.h:42
@ kScmIfc2x3
Definition IfcCore.h:44
@ kScmIfc4
Definition IfcCore.h:46
@ kScmIfc4x4
Definition IfcCore.h:50
@ kScmIfc4x3
Definition IfcCore.h:48
IFCCORE_EXPORT OdResult getDrawableShapeRepresentation(OdGiDrawablePtr pEnt, const OdDAIObjectId &subContextId, OdDAI::Model *pModel, OdDAIObjectId &shapeId, int shapeType)
IFCCORE_EXPORT OdUnitsFormatter * getIfcFormatter()
IFCCORE_EXPORT OdResult odIfcInitModelerGeometry(ModelerType modelerType=kDefaultModeler)
IFCCORE_EXPORT OdResult odIfcUninitialize()
IFCCORE_EXPORT OdResult odIfcInitialize(bool initCDA=true, bool initIfcGeomResource=true, ModelerType modelerType=kDefaultModeler)
IFCCORE_EXPORT void setIfcFormatter(class OdUnitsFormatter *pFormatter)
IFCCORE_EXPORT bool odIfcIsGeomResourceInitialized()
IFCCORE_EXPORT bool odIfcIsCDAInitialized()
ModelerType
Definition IfcCore.h:57
@ kDefaultModeler
Definition IfcCore.h:65
@ kSpaModeler
Definition IfcCore.h:61
@ kFacetModeler
Definition IfcCore.h:59
@ kBrepModeler
Definition IfcCore.h:63
IFCCORE_EXPORT bool odIfcIsInitialized()
OdResult
Definition OdResult.h:29
virtual void uninitApp()
virtual void initApp()
OdResult registerSchemaModule(OdExpSchemaModule *expSchemaModule)