CFx SDK Documentation  2023 SP0
DbLoftedSurface.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 _DbLoftedSurface_h_Included_
26 #define _DbLoftedSurface_h_Included_
27 
28 #include "TD_PackPush.h"
29 #include "DbSurface.h"
30 #include "DbLoftOptions.h"
31 
32 
42 {
43 public:
46 
69  OdDbEntityPtrArray& crossSectionCurves,
70  OdDbEntityPtrArray& guideCurves,
71  OdDbEntity* pPathCurve,
72  OdDbLoftOptions& loftOptions, const OdStreamBuf *pSat = 0);// , const bool byCoedges = false );
73 
77  int numCrossSections () const;
78 
87  OdDbEntityPtr getCrossSection ( int idx ) const;
88 
92  int numGuideCurves () const;
93 
102  OdDbEntityPtr getGuideCurve ( int idx ) const;
103 
108 
109 
110 
116  void getLoftOptions ( OdDbLoftOptions& loftOptions ) const;
117 
118 
130  OdResult setLoftOptions ( const OdDbLoftOptions& loftOptions );
131 
133  const OdGeMatrix3d& xfm );
134 
135  // OdDbObject methods
136 
138  OdDbDwgFiler* pFiler);
139 
140  virtual void dwgOutFields(
141  OdDbDwgFiler* pFiler) const;
142 
144  OdDbDxfFiler* pFiler);
145 
146  virtual void dxfOutFields(
147  OdDbDxfFiler* pFiler) const;
148 
150  void* pClsid) const;
151 
152  virtual bool isDependent() const { return false; }
153 };
154 
159 
160 #include "TD_PackPop.h"
161 #endif //_DbLoftedSurface_h_Included_
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdSmartPtr< OdDbLoftedSurface > OdDbLoftedSurfacePtr
OdResult
Definition: OdResult.h:29
OdDbEntityPtr getGuideCurve(int idx) const
virtual OdResult subTransformBy(const OdGeMatrix3d &xfm)
ODDB_DECLARE_MEMBERS(OdDbLoftedSurface)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual OdResult subGetClassID(void *pClsid) const
int numCrossSections() const
virtual bool isDependent() const
OdDbEntityPtr getCrossSection(int idx) const
OdDbEntityPtr getPathEntity() const
OdResult setLoftOptions(const OdDbLoftOptions &loftOptions)
virtual OdResult createLoftedSurface(OdDbEntityPtrArray &crossSectionCurves, OdDbEntityPtrArray &guideCurves, OdDbEntity *pPathCurve, OdDbLoftOptions &loftOptions, const OdStreamBuf *pSat=0)
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
int numGuideCurves() const
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
void getLoftOptions(OdDbLoftOptions &loftOptions) const