CFx SDK Documentation  2020SP3
DbSolid.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 
26 
27 #ifndef _OD_DB_SOLID_
28 #define _OD_DB_SOLID_
29 
30 #include "TD_PackPush.h"
31 
32 #include "DbEntity.h"
33 
52 {
53 public:
55 
64 
65  /* OdDbSolid(const OdGePoint3d& pt0,
66  const OdGePoint3d& pt1,
67  const OdGePoint3d& pt2,
68  const OdGePoint3d& pt3);
69  OdDbSolid(const OdGePoint3d& pt0,
70  const OdGePoint3d& pt1,
71  const OdGePoint3d& pt2);
72  */
73 
90  void getPointAt( int pointIndex, OdGePoint3d& pointValue ) const;
91 
92 
108  void setPointAt( int pointIndex, const OdGePoint3d& pointValue );
109 
110 
126  double thickness() const;
127 
128 
145  void setThickness( double vThickness );
146 
147 
161 
162 
180  void setNormal( const OdGeVector3d& geVector );
181 
182 
197  virtual OdResult getPlane( OdGePlane& gePlane, OdDb::Planarity& gePlanarity ) const;
198 
199 
201  OdDbDwgFiler* pFiler);
202 
203  virtual void dwgOutFields(
204  OdDbDwgFiler* pFiler) const;
205 
207  OdDbDxfFiler* pFiler);
208 
209  virtual void dxfOutFields(
210  OdDbDxfFiler* pFiler) const;
211 
213  OdDbDxfFiler* pFiler);
214 
215  virtual void dxfOutFields_R12(
216  OdDbDxfFiler* pFiler) const;
217 
219  void* pClsid) const;
220 
221  virtual bool subWorldDraw(
222  OdGiWorldDraw* pWd) const;
223 
224  virtual void subViewportDraw(
225  OdGiViewportDraw* pVd) const;
226 
227  virtual OdResult subTransformBy(const OdGeMatrix3d& xfm);
228 
230  OdGsMarker gsMark,
231  const OdGePoint3d& ,
232  const OdGeMatrix3d& ,
233  OdDbFullSubentPathArray& subentPaths,
234  const OdDbObjectIdArray* pEntAndInsertStack ) const;
235 
237  OdGsMarkerArray& gsMarkers) const;
238 
240 };
241 
250 
251 #include "TD_PackPop.h"
252 
253 #endif
OdResult
OdResult
Definition: OdResult.h:29
OdGePlane
Definition: GePlane.h:45
OdGeVector3d
Definition: GeVector3d.h:54
OdDb::Planarity
Planarity
Definition: DbEntity.h:74
OdDbSolid::OdDbSolid
OdDbSolid()
type
GLuint GLsizei GLsizei GLint GLenum * type
Definition: gles2_ext.h:274
OdDbSolidPtr
OdSmartPtr< OdDbSolid > OdDbSolidPtr
Definition: DbSolid.h:249
OdDbSolid::dxfOutFields
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
OdDbFullSubentPath
Definition: DbSubentId.h:49
OdArray
Definition: OdArray.h:591
TD_PackPop.h
OdGsMarker
ptrdiff_t OdGsMarker
Definition: OdPlatformSettings.h:889
OdDbSolid::getPlane
virtual OdResult getPlane(OdGePlane &gePlane, OdDb::Planarity &gePlanarity) const
OdGeMatrix3d
Definition: GeMatrix3d.h:73
OdDbSolid::setPointAt
void setPointAt(int pointIndex, const OdGePoint3d &pointValue)
OdDbSolid
Definition: DbSolid.h:52
OdDbSolid::ODDB_DECLARE_MEMBERS
ODDB_DECLARE_MEMBERS(OdDbSolid)
OdSmartPtr
Definition: SmartPtr.h:58
OdGePoint3d
Definition: GePoint3d.h:55
OdDbSolid::getEcs
OdGeMatrix3d getEcs() const
DbEntity.h
OdDbSolid::subGetSubentPathsAtGsMarker
OdResult subGetSubentPathsAtGsMarker(OdDb::SubentType type, OdGsMarker gsMark, const OdGePoint3d &, const OdGeMatrix3d &, OdDbFullSubentPathArray &subentPaths, const OdDbObjectIdArray *pEntAndInsertStack) const
OdDb::SubentType
SubentType
Definition: DbBaseSubentId.h:38
OdDbSolid::setThickness
void setThickness(double vThickness)
OdDbSolid::dwgInFields
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdDbSolid::subViewportDraw
virtual void subViewportDraw(OdGiViewportDraw *pVd) const
OdDbDxfFiler
Definition: DbFiler.h:194
OdDbSolid::subGetClassID
virtual OdResult subGetClassID(void *pClsid) const
TD_PackPush.h
OdDbSolid::dxfInFields_R12
virtual OdResult dxfInFields_R12(OdDbDxfFiler *pFiler)
OdDbSolid::getPointAt
void getPointAt(int pointIndex, OdGePoint3d &pointValue) const
OdDbSolid::dxfOutFields_R12
virtual void dxfOutFields_R12(OdDbDxfFiler *pFiler) const
OdDbSolid::dwgOutFields
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdGiWorldDraw
Definition: GiWorldDraw.h:44
OdDbSolid::setNormal
void setNormal(const OdGeVector3d &geVector)
OdDbEntity
Definition: DbEntity.h:90
OdDbSolid::subWorldDraw
virtual bool subWorldDraw(OdGiWorldDraw *pWd) const
OdDbSolid::subGetGsMarkersAtSubentPath
OdResult subGetGsMarkersAtSubentPath(const OdDbFullSubentPath &subPath, OdGsMarkerArray &gsMarkers) const
TOOLKIT_EXPORT
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdDbSolid::dxfInFields
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdDbSolid::subTransformBy
virtual OdResult subTransformBy(const OdGeMatrix3d &xfm)
OdDbSolid::normal
OdGeVector3d normal() const
OdDbSolid::thickness
double thickness() const
OdDbDwgFiler
Definition: DbFiler.h:1031
OdGiViewportDraw
Definition: GiViewportDraw.h:50