CFx SDK Documentation  2020SP3
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_
OdResult
OdResult
Definition: OdResult.h:29
OdDbSurface
Definition: DbSurface.h:76
OdDbLoftedSurface::subTransformBy
virtual OdResult subTransformBy(const OdGeMatrix3d &xfm)
OdArray< OdDbEntityPtr >
TD_PackPop.h
OdDbLoftedSurface::setLoftOptions
OdResult setLoftOptions(const OdDbLoftOptions &loftOptions)
OdDbLoftedSurface::subGetClassID
virtual OdResult subGetClassID(void *pClsid) const
OdGeMatrix3d
Definition: GeMatrix3d.h:73
OdDbLoftedSurface::dwgInFields
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdSmartPtr< OdDbEntity >
OdDbLoftedSurface::dxfOutFields
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
OdDbLoftedSurfacePtr
OdSmartPtr< OdDbLoftedSurface > OdDbLoftedSurfacePtr
Definition: DbLoftedSurface.h:158
OdDbLoftedSurface::getCrossSection
OdDbEntityPtr getCrossSection(int idx) const
DbLoftOptions.h
OdDbLoftedSurface::getLoftOptions
void getLoftOptions(OdDbLoftOptions &loftOptions) const
OdDbDxfFiler
Definition: DbFiler.h:194
TD_PackPush.h
OdDbLoftOptions
Definition: DbLoftOptions.h:41
OdDbLoftedSurface::createLoftedSurface
virtual OdResult createLoftedSurface(OdDbEntityPtrArray &crossSectionCurves, OdDbEntityPtrArray &guideCurves, OdDbEntity *pPathCurve, OdDbLoftOptions &loftOptions, const OdStreamBuf *pSat=0)
OdDbLoftedSurface::OdDbLoftedSurface
OdDbLoftedSurface()
OdDbLoftedSurface::getPathEntity
OdDbEntityPtr getPathEntity() const
OdDbEntity
Definition: DbEntity.h:90
OdDbLoftedSurface::numGuideCurves
int numGuideCurves() const
OdDbLoftedSurface::dwgOutFields
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdDbLoftedSurface::numCrossSections
int numCrossSections() const
OdStreamBuf
Definition: OdStreamBuf.h:67
OdDbLoftedSurface::ODDB_DECLARE_MEMBERS
ODDB_DECLARE_MEMBERS(OdDbLoftedSurface)
OdDbLoftedSurface::dxfInFields
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdDbLoftedSurface
Definition: DbLoftedSurface.h:42
OdDbLoftedSurface::isDependent
virtual bool isDependent() const
Definition: DbLoftedSurface.h:152
TOOLKIT_EXPORT
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdDbLoftedSurface::getGuideCurve
OdDbEntityPtr getGuideCurve(int idx) const
DbSurface.h
OdDbDwgFiler
Definition: DbFiler.h:1031