CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
IfcCore.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, 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-2022 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
40{
49};
50
55{
64};
65
78IFCCORE_EXPORT OdResult odIfcInitialize(bool initCDA = true, bool initIfcGeomResource = true, ModelerType modelerType = kDefaultModeler);
79
85
95
102
108
114
118class IFCCORE_EXPORT OdIfcCoreModule : public OdDAIHostModule
119{
120public:
121
125 virtual void initApp();
126
130 virtual void uninitApp();
131
137 OdResult registerSchemaModule(OdExpSchemaModule *expSchemaModule);
138
144};
145
150
163 const OdDAIObjectId& subContextId,
164 OdDAI::Model *pModel,
165 OdDAIObjectId& shapeId,
166 int shapeType);
167
180 const OdDAIObjectId& subContextId,
181 OdDAI::Model* pModel,
182 OdDAIObjectId& shapeId,
183 int shapeType);
184
185//DOM-IGNORE-BEGIN
190//DOM-IGNORE-END
191
192#endif // _IFC_CORE_H
#define IFCCORE_EXPORT
OdSmartPtr< OdIfcCoreModule > OdIfcCoreModulePtr
Definition: IfcCore.h:149
IfcSchema
Definition: IfcCore.h:40
@ kScmIfc4x3_RC4
Definition: IfcCore.h:48
@ kScmUndefined
Definition: IfcCore.h:42
@ kScmIfc2x3
Definition: IfcCore.h:44
@ kScmIfc4
Definition: IfcCore.h:46
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:55
@ kDefaultModeler
Definition: IfcCore.h:63
@ kSpaModeler
Definition: IfcCore.h:59
@ kFacetModeler
Definition: IfcCore.h:57
@ kBrepModeler
Definition: IfcCore.h:61
IFCCORE_EXPORT bool odIfcIsInitialized()
OdResult
Definition: OdResult.h:29
virtual void uninitApp()
virtual void initApp()
OdResult registerSchemaModule(OdExpSchemaModule *expSchemaModule)