CFx SDK Documentation  2023 SP0
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
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdSmartPtr< OdDbSolid > OdDbSolidPtr
Definition: DbSolid.h:249
ptrdiff_t OdGsMarker
OdResult
Definition: OdResult.h:29
virtual OdResult subTransformBy(const OdGeMatrix3d &xfm)
virtual OdResult getPlane(OdGePlane &gePlane, OdDb::Planarity &gePlanarity) const
OdResult subGetSubentPathsAtGsMarker(OdDb::SubentType type, OdGsMarker gsMark, const OdGePoint3d &, const OdGeMatrix3d &, OdDbFullSubentPathArray &subentPaths, const OdDbObjectIdArray *pEntAndInsertStack) const
virtual OdResult dxfInFields_R12(OdDbDxfFiler *pFiler)
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdGeMatrix3d getEcs() const
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
virtual void dxfOutFields_R12(OdDbDxfFiler *pFiler) const
virtual void subViewportDraw(OdGiViewportDraw *pVd) const
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
void getPointAt(int pointIndex, OdGePoint3d &pointValue) const
double thickness() const
void setNormal(const OdGeVector3d &geVector)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
OdGeVector3d normal() const
OdResult subGetGsMarkersAtSubentPath(const OdDbFullSubentPath &subPath, OdGsMarkerArray &gsMarkers) const
virtual OdResult subGetClassID(void *pClsid) const
void setThickness(double vThickness)
virtual bool subWorldDraw(OdGiWorldDraw *pWd) const
void setPointAt(int pointIndex, const OdGePoint3d &pointValue)
ODDB_DECLARE_MEMBERS(OdDbSolid)
GLuint GLsizei GLsizei GLint GLenum * type
Definition: gles2_ext.h:274
Planarity
Definition: DbEntity.h:74