CFx SDK Documentation  2022 SP0
DbTrace.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_TRACE_
28 #define _OD_DB_TRACE_
29 
30 #include "TD_PackPush.h"
31 
32 #include "DbEntity.h"
33 
52 {
53 public:
55 
64 
65  /* OdDbTrace(const OdGePoint3d& pt0,
66  const OdGePoint3d& pt1,
67  const OdGePoint3d& pt2,
68  const OdGePoint3d& pt3);
69  */
70 
87  void getPointAt( int pointIndex, OdGePoint3d& pointValue ) const;
88 
89 
105  void setPointAt( int pointIndex, const OdGePoint3d& pointValue );
106 
107 
122  double thickness() const;
123 
124 
141  void setThickness( double vThickness );
142 
143 
157 
158 
176  void setNormal( const OdGeVector3d& geVector );
177 
178 
192  virtual bool isPlanar() const;
193 
194 
211  virtual OdResult getPlane( OdGePlane& gePlane, OdDb::Planarity& gePlanarity ) const;
212 
213 
215  OdDbDwgFiler* pFiler);
216 
217  virtual void dwgOutFields(
218  OdDbDwgFiler* pFiler) const;
219 
221  OdDbDxfFiler* pFiler);
222 
223  virtual void dxfOutFields(
224  OdDbDxfFiler* pFiler) const;
225 
227  OdGiWorldDraw* pWd) const;
228 
230  OdGiViewportDraw* pVd) const;
231 
233  OdDbDxfFiler* pFiler);
234 
235  virtual void dxfOutFields_R12(
236  OdDbDxfFiler* pFiler) const;
237 
239  void* pClsid) const;
240 
242  const OdGeMatrix3d& xfm);
243 
245  OdGsMarker gsMark,
246  const OdGePoint3d& ,
247  const OdGeMatrix3d& ,
248  OdDbFullSubentPathArray& subentPaths,
249  const OdDbObjectIdArray* pEntAndInsertStack ) const;
250 
251 
253  OdGsMarkerArray& gsMarkers) const;
254 
256 };
257 
266 
267 #include "TD_PackPop.h"
268 
269 #endif
270 
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdSmartPtr< OdDbTrace > OdDbTracePtr
Definition: DbTrace.h:265
ptrdiff_t OdGsMarker
OdResult
Definition: OdResult.h:29
void setNormal(const OdGeVector3d &geVector)
void subViewportDraw(OdGiViewportDraw *pVd) const
virtual OdResult subTransformBy(const OdGeMatrix3d &xfm)
OdGeVector3d normal() const
void getPointAt(int pointIndex, OdGePoint3d &pointValue) const
virtual OdResult getPlane(OdGePlane &gePlane, OdDb::Planarity &gePlanarity) const
virtual OdResult dxfInFields_R12(OdDbDxfFiler *pFiler)
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
void setPointAt(int pointIndex, const OdGePoint3d &pointValue)
virtual void dxfOutFields_R12(OdDbDxfFiler *pFiler) const
bool subWorldDraw(OdGiWorldDraw *pWd) const
double thickness() const
virtual bool isPlanar() const
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
OdGeMatrix3d getEcs() const
OdResult subGetGsMarkersAtSubentPath(const OdDbFullSubentPath &subPath, OdGsMarkerArray &gsMarkers) const
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
ODDB_DECLARE_MEMBERS(OdDbTrace)
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdResult subGetSubentPathsAtGsMarker(OdDb::SubentType type, OdGsMarker gsMark, const OdGePoint3d &, const OdGeMatrix3d &, OdDbFullSubentPathArray &subentPaths, const OdDbObjectIdArray *pEntAndInsertStack) const
void setThickness(double vThickness)
OdResult subGetClassID(void *pClsid) const
GLuint GLsizei GLsizei GLint GLenum * type
Definition: gles2_ext.h:274
Planarity
Definition: DbEntity.h:74