CFx SDK Documentation  2020SP3
ModelerGeometryCreator.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, 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 Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2017 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 
25 #ifndef _OD_MODELERGEOMETRYCREATOR_INCLUDED_
26 #define _OD_MODELERGEOMETRYCREATOR_INCLUDED_
27 
28 #include "RxObject.h"
29 #include "ModelerGeometry.h"
30 #include "OdArray.h"
31 #include "Ge/GeNurbSurface.h"
33 
34 class OdStreamBuf;
35 
36 #include "TD_PackPush.h"
37 
52 {
53 protected:
55 public:
57 
74  OdStreamBuf* pStreamBuf,
75  bool standardSaveFlag = true) = 0;
76 
86  OdStreamBuf* pStreamBuf,
87  AfTypeVer typeVer,
88  bool standardSaveFlag = true) = 0;
89 
105  virtual OdResult createSat(const OdDbEntityPtrArray &entities,
106  OdStreamBuf* pStreamBuf,
107  AfTypeVer typeVer,
108  bool standardSaveFlag = true) = 0;
109 
140  virtual OdResult createRegionFromCurves(const OdRxObjectPtrArray& curveSegments,
141  OdArray<OdModelerGeometryPtr> &pRegions) = 0;
142 
143  virtual OdResult initBrepBuilder(OdBrepBuilder& brepBuilder, BrepType brepType) = 0;
144 };
145 
150 
151 #include "TD_PackPop.h"
152 
153 #endif // _OD_MODELERGEOMETRYCREATOR_INCLUDED_
OdResult
OdResult
Definition: OdResult.h:29
AfTypeVer
int AfTypeVer
Definition: ModelerDefs.h:29
BrepBuilder.h
OdModelerGeometryCreator
Definition: ModelerGeometryCreator.h:52
GeNurbSurface.h
OdRxObject
Definition: RxObject.h:564
OdModelerGeometryCreator::createRegionFromCurves
virtual OdResult createRegionFromCurves(const OdRxObjectPtrArray &curveSegments, OdArray< OdModelerGeometryPtr > &pRegions)=0
OdModelerGeometryCreator::OdModelerGeometryCreator
OdModelerGeometryCreator()
Definition: ModelerGeometryCreator.h:54
OdArray
Definition: OdArray.h:591
OdModelerGeometryCreator::createModeler
virtual OdResult createModeler(OdArray< OdModelerGeometryPtr > &models, OdStreamBuf *pStreamBuf, bool standardSaveFlag=true)=0
TD_PackPop.h
OdModelerGeometryCreatorPtr
OdSmartPtr< OdModelerGeometryCreator > OdModelerGeometryCreatorPtr
Definition: ModelerGeometryCreator.h:149
RxObject.h
OdArray.h
OdModelerGeometryCreator::initBrepBuilder
virtual OdResult initBrepBuilder(OdBrepBuilder &brepBuilder, BrepType brepType)=0
OdSmartPtr
Definition: SmartPtr.h:58
OdModelerGeometryCreator::createSat
virtual OdResult createSat(const OdDbEntityPtrArray &entities, OdStreamBuf *pStreamBuf, AfTypeVer typeVer, bool standardSaveFlag=true)=0
OdModelerGeometryCreator::createSat
virtual OdResult createSat(const OdArray< OdModelerGeometryPtr > &models, OdStreamBuf *pStreamBuf, AfTypeVer typeVer, bool standardSaveFlag=true)=0
TD_PackPush.h
OdBrepBuilder
Definition: BrepBuilder.h:47
BrepType
BrepType
Definition: BrepBuilder.h:35
OdStreamBuf
Definition: OdStreamBuf.h:67
ModelerGeometry.h
TOOLKIT_EXPORT
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdModelerGeometryCreator::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdModelerGeometryCreator)