CFx SDK Documentation  2023 SP0
DbExtrudedSurface.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 _DbExtrudedSurface_h_Included_
26 #define _DbExtrudedSurface_h_Included_
27 
28 #include "TD_PackPush.h"
29 #include "DbSurface.h"
30 #include "DbSweepOptions.h"
31 
41 {
42 public:
45 
64  const OdGeVector3d& directionVec, OdDbSweepOptions& sweepOptions, const OdStreamBuf *pSat = 0);
65 
70 
75 
81  void setSweepVec(const OdGeVector3d& sweepVec);
82 
86  double getHeight() const;
87 
97  void setHeight(double height);
98 
104  void getSweepOptions (OdDbSweepOptions& sweepOptions) const;
105 
115  void setSweepOptions (const OdDbSweepOptions& sweepOptions);
116 
131  const OdDbSweepOptions& sweepOptions);
132 
134  const OdGeMatrix3d& xfm );
135 
136  // OdDbObject methods
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 //_DbExtrudedSurface_h_Included_
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdSmartPtr< OdDbExtrudedSurface > OdDbExtrudedSurfacePtr
OdResult
Definition: OdResult.h:29
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
virtual bool isDependent() const
virtual OdResult subGetClassID(void *pClsid) const
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
ODDB_DECLARE_MEMBERS(OdDbExtrudedSurface)
virtual OdResult subTransformBy(const OdGeMatrix3d &xfm)
OdDbEntityPtr getSweepEntity() const
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
void setHeight(double height)
void setSweepVec(const OdGeVector3d &sweepVec)
OdGeVector3d getSweepVec() const
void setSweepOptions(const OdDbSweepOptions &sweepOptions)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
OdResult setExtrude(const OdGeVector3d &sweepVec, const OdDbSweepOptions &sweepOptions)
double getHeight() const
void getSweepOptions(OdDbSweepOptions &sweepOptions) const
virtual OdResult createExtrudedSurface(OdDbEntity *pSweepEnt, const OdGeVector3d &directionVec, OdDbSweepOptions &sweepOptions, const OdStreamBuf *pSat=0)
GLint GLenum GLsizei GLsizei height
Definition: gles2_ext.h:110