CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
Brep2IfcAdvancedBrepFiller.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#if !defined(BREP2IFCADVANCEDBREPFILLER_H_)
25#define BREP2IFCADVANCEDBREPFILLER_H_
26
27#include "IfcBuildOptions.h"
28#include "daiModel.h"
29#include "IfcHostAppServices.h"
30#include "Br/BrBrep.h"
31
32class Brep2IfcAdvancedBrep;
33
40{
41public:
48 Brep2IfcAdvancedBrepFiller(const OdBrBrep& brep, OdDAI::Model* pModel, OdDbBaseDatabase* pDb = nullptr);
49
54
60 void setBrepMaterialAndColor(OdDbStub* material, const OdCmEntityColor& color);
61
66 void setBrepMaterial(OdDbStub* material);
67
72 void setBrepColor(const OdCmEntityColor& color);
73
79 void setAsNurbs(bool asNurbs);
80
86 void setTransformation(const OdGeMatrix3d& transform, double dScale = 1.);
87
92 void setBrBrepTransformation(bool isTransform);
93
102
113 OdResult convertBrep2Model(OdDAIObjectId& shapeId);
114
120 OdResult convertBrep2IfcAdvancedBrep(OdDAIObjectId& advancedBrepId);
121
122private:
123 Brep2IfcAdvancedBrep* m_brep2IfcAdvancedBrep;
124
125 OdGeMatrix3d m_transform;
126 double m_dScale;
127};
128
129#endif // BREP2IFCADVANCEDBREPFILLER_H_
OdRxObject OdDbBaseDatabase
#define IFCCORETOOLS_EXPORT
OdResult
Definition OdResult.h:29
OdResult convertBrep2Model(OdDAIObjectId &shapeId)
void setBrepColor(const OdCmEntityColor &color)
void setBrepMaterial(OdDbStub *material)
void setTransformation(const OdGeMatrix3d &transform, double dScale=1.)
OdResult convertBrep2IfcAdvancedBrep(OdDAIObjectId &advancedBrepId)
void setBrepMaterialAndColor(OdDbStub *material, const OdCmEntityColor &color)
void setTexturesCreationType(OdIfcHostAppServices::TexturesType texturesType)
void setBrBrepTransformation(bool isTransform)
void setAsNurbs(bool asNurbs)
Brep2IfcAdvancedBrepFiller(const OdBrBrep &brep, OdDAI::Model *pModel, OdDbBaseDatabase *pDb=nullptr)