CFx SDK Documentation  2020SP3
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 
OdResult
OdResult
Definition: OdResult.h:29
OdGePlane
Definition: GePlane.h:45
OdDbTrace::getPointAt
void getPointAt(int pointIndex, OdGePoint3d &pointValue) const
OdGeVector3d
Definition: GeVector3d.h:54
OdDb::Planarity
Planarity
Definition: DbEntity.h:74
OdDbTrace::setThickness
void setThickness(double vThickness)
type
GLuint GLsizei GLsizei GLint GLenum * type
Definition: gles2_ext.h:274
OdDbTrace::thickness
double thickness() const
OdDbFullSubentPath
Definition: DbSubentId.h:49
OdDbTrace::getPlane
virtual OdResult getPlane(OdGePlane &gePlane, OdDb::Planarity &gePlanarity) const
OdArray
Definition: OdArray.h:591
TD_PackPop.h
OdDbTrace::subGetClassID
OdResult subGetClassID(void *pClsid) const
OdGsMarker
ptrdiff_t OdGsMarker
Definition: OdPlatformSettings.h:889
OdDbTrace::setNormal
void setNormal(const OdGeVector3d &geVector)
OdDbTrace::dxfOutFields_R12
virtual void dxfOutFields_R12(OdDbDxfFiler *pFiler) const
OdGeMatrix3d
Definition: GeMatrix3d.h:73
OdDbTrace::getEcs
OdGeMatrix3d getEcs() const
OdDbTrace::subGetSubentPathsAtGsMarker
OdResult subGetSubentPathsAtGsMarker(OdDb::SubentType type, OdGsMarker gsMark, const OdGePoint3d &, const OdGeMatrix3d &, OdDbFullSubentPathArray &subentPaths, const OdDbObjectIdArray *pEntAndInsertStack) const
OdSmartPtr
Definition: SmartPtr.h:58
OdGePoint3d
Definition: GePoint3d.h:55
DbEntity.h
OdDbTracePtr
OdSmartPtr< OdDbTrace > OdDbTracePtr
Definition: DbTrace.h:265
OdDb::SubentType
SubentType
Definition: DbBaseSubentId.h:38
OdDbTrace::subTransformBy
virtual OdResult subTransformBy(const OdGeMatrix3d &xfm)
OdDbTrace::subWorldDraw
bool subWorldDraw(OdGiWorldDraw *pWd) const
OdDbDxfFiler
Definition: DbFiler.h:194
TD_PackPush.h
OdDbTrace::OdDbTrace
OdDbTrace()
OdGiWorldDraw
Definition: GiWorldDraw.h:44
OdDbEntity
Definition: DbEntity.h:90
OdDbTrace::setPointAt
void setPointAt(int pointIndex, const OdGePoint3d &pointValue)
OdDbTrace::dwgOutFields
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdDbTrace::subGetGsMarkersAtSubentPath
OdResult subGetGsMarkersAtSubentPath(const OdDbFullSubentPath &subPath, OdGsMarkerArray &gsMarkers) const
OdDbTrace::dxfOutFields
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
OdDbTrace::normal
OdGeVector3d normal() const
TOOLKIT_EXPORT
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdDbTrace::dxfInFields
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdDbTrace::dxfInFields_R12
virtual OdResult dxfInFields_R12(OdDbDxfFiler *pFiler)
OdDbTrace::isPlanar
virtual bool isPlanar() const
OdDbDwgFiler
Definition: DbFiler.h:1031
OdGiViewportDraw
Definition: GiViewportDraw.h:50
OdDbTrace::subViewportDraw
void subViewportDraw(OdGiViewportDraw *pVd) const
OdDbTrace
Definition: DbTrace.h:52
OdDbTrace::ODDB_DECLARE_MEMBERS
ODDB_DECLARE_MEMBERS(OdDbTrace)
OdDbTrace::dwgInFields
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)