CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
IfcHostAppServices.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_HOST_APP_SERVICES_H_
25#define _IFC_HOST_APP_SERVICES_H_
26
27#include "IfcFile.h"
28
29#include "daiHostAppServicesBase.h"
30
31#include "TD_PackPush.h"
32
33class OdIfcFile;
35
39class /*ODRX_ABSTRACT*/ IFCCORE_EXPORT OdIfcHostAppServices : public OdDAIHostAppServicesBase
40{
41public:
42 //DOM-IGNORE-BEGIN
44 //DOM-IGNORE-END
45
50
55 virtual OdRxClass* databaseClass() const override;
56
62 virtual OdRxClass* databaseClass(const OdAnsiString& schemaName) const override;
63
74 IfcSchema initialSchema = kScmUndefined) const;
75
86 const OdAnsiString &schemaName) const;
87
121 const OdString& filename,
122 OdDbBaseDatabase* pDb = 0,
123 FindFileHint hint = kDefault);
124
132 virtual const OdString program();
133
141 virtual const OdString product();
142
150 virtual const OdString companyName();
151
158 unsigned int errorCode,...);
159
169
180
203 const OdString& fontName,
204 OdFontType fontType);
205
227 const OdString& fontName,
228 OdFontType fontType);
229
242 const OdFont& pFont,
243 OdChar unicodeChar, OdDbBaseDatabase *pDb);
244
255 OdRxObject* pViewObj = NULL,
256 OdDbBaseDatabase* pDb = NULL,
257 OdUInt32 flags = 0);
258
264 virtual OdIfcFilePtr readFile(OdStreamBuf* pFileBuff);
265
271 virtual OdIfcFilePtr readFile(const OdString &file);
272
273//DOM-IGNORE-BEGIN
277 //virtual OdResult setTriangulationParams(const wrTriangulationParams &params);
278
282 //virtual OdResult getTriangulationParams(wrTriangulationParams &params);
283//DOM-IGNORE-END
284
293 virtual OdResult brepBuilder(OdBrepBuilder& bbuilder, BrepType bbType);
294
295 /* \details
296 Retrieves whether an OdGiAuxDataForIfc object should be used while vectorizing.
297 \returns true if the OdGiAuxDataForIfc object should be created inside the OdGiContextForIfcDatabase object to use during the vectorization process; otherwise, the method returns false.
298 */
299 virtual bool getUseVectAuxData() const;
300
307 virtual void setTexturesVisibility(bool isTexturesVisible);
308
315 virtual bool getTexturesVisibility();
316
331
338 virtual void setTexturesCreationType(TexturesType texturesType);
339
347
348 protected:
351};
352
353#include "TD_PackPop.h"
354
355#endif // _IFC_HOST_APP_SERVICES_H_
OdRxObject OdDbBaseDatabase
@ kDefault
Definition BrEnums.h:130
BrepType
Definition BrepBuilder.h:43
OdSmartPtr< OdGsDevice > OdGsDevicePtr
OdSmartPtr< OdIfcFile > OdIfcFilePtr
#define IFCCORE_EXPORT
IfcSchema
Definition IfcCore.h:40
@ kScmUndefined
Definition IfcCore.h:42
OdSmartPtr< OdIfcFile > OdIfcFilePtr
enum OdTagFontType OdFontType
unsigned int OdUInt32
wchar_t OdChar
OdResult
Definition OdResult.h:29
virtual const OdString product()
virtual OdIfcFilePtr readFile(const OdString &file)
virtual OdString findFile(const OdString &filename, OdDbBaseDatabase *pDb=0, FindFileHint hint=kDefault)
virtual OdString getPreferableFont(const OdString &fontName, OdFontType fontType)
virtual OdIfcFilePtr createDatabase(const OdAnsiString &schemaName) const
virtual OdRxClass * databaseClass() const override
TexturesType m_texturesCreationType
virtual OdIfcFilePtr readFile(OdStreamBuf *pFileBuff)
virtual OdIfcFilePtr createDatabase(IfcSchema initialSchema=kScmUndefined) const
virtual OdString formatMessage(unsigned int errorCode,...)
virtual const OdString program()
ODRX_DECLARE_MEMBERS(OdIfcHostAppServices)
virtual OdResult brepBuilder(OdBrepBuilder &bbuilder, BrepType bbType)
virtual OdGsDevicePtr gsBitmapDevice(OdRxObject *pViewObj=NULL, OdDbBaseDatabase *pDb=NULL, OdUInt32 flags=0)
virtual const OdString companyName()
virtual OdString getAlternateFontName() const
virtual OdString getSubstituteFontByChar(const OdFont &pFont, OdChar unicodeChar, OdDbBaseDatabase *pDb)
virtual TexturesType getTexturesCreationType()
virtual void setTexturesVisibility(bool isTexturesVisible)
virtual void setTexturesCreationType(TexturesType texturesType)
virtual OdString getSubstituteFont(const OdString &fontName, OdFontType fontType)
virtual OdRxClass * databaseClass(const OdAnsiString &schemaName) const override
virtual OdString getFontMapFileName() const
virtual bool getTexturesVisibility()
virtual bool getUseVectAuxData() const