CFx SDK Documentation  2022 SP0
DbPolyFaceMesh.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_POLYFACE_MESH_
28 #define _OD_DB_POLYFACE_MESH_
29 
30 #include "TD_PackPush.h"
31 
32 #include "DbEntity.h"
33 #include "DbObjectIterator.h"
34 
36 class OdDbSequenceEnd;
37 class OdDbFaceRecord;
46 
64 {
65 public:
67 
69 
74 
78  OdInt16 numFaces() const;
79 
89  OdDbPolyFaceMeshVertex* pVertex);
90 
100  OdDbFaceRecord* pFaceRecord);
101 
112  OdDbObjectId subObjId,
113  OdDb::OpenMode mode,
114  bool openErasedOne = false);
115 
129  OdDb::OpenMode mode);
130 
136 
137  virtual bool subWorldDraw(
138  OdGiWorldDraw* pWd) const;
139 
141  OdDbDwgFiler* pFiler);
142 
143  virtual void dwgOutFields(
144  OdDbDwgFiler* pFiler) const;
145 
147  OdDbDxfFiler* pFiler);
148 
149  virtual void dxfOutFields(
150  OdDbDxfFiler* pFiler) const;
151 
152  virtual void dxfOut(
153  OdDbDxfFiler* pFiler) const;
154 
155  virtual OdResult dxfIn(
156  OdDbDxfFiler* pFiler);
157 
159  void* pClsid) const;
160 
162  OdDbDxfFiler* pFiler);
163 
164  virtual void dxfOutFields_R12(
165  OdDbDxfFiler* pFiler) const;
166 
167  void subClose();
168 
169  virtual bool isPlanar() const;
170 
172  OdGePlane& plane,
173  OdDb::Planarity& planarity) const;
174 
176  const OdGeMatrix3d& xfm);
177 
179  OdGeExtents3d& extents) const;
180 
185  OdRxObjectPtrArray& entitySet) const;
186 
190  virtual OdResult explodeGeometry(OdRxObjectPtrArray& entitySet) const;
191 
193  OdGsMarker gsMark,
194  const OdGePoint3d& ,
195  const OdGeMatrix3d& ,
196  OdDbFullSubentPathArray& subentPaths,
197  const OdDbObjectIdArray* pEntAndInsertStack ) const;
198 
200  OdGsMarkerArray& gsMarkers) const;
201 
202 };
207 
208 #include "TD_PackPop.h"
209 
210 #endif
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdSmartPtr< OdDbSequenceEnd > OdDbSequenceEndPtr
OdSmartPtr< OdDbPolyFaceMeshVertex > OdDbPolyFaceMeshVertexPtr
OdSmartPtr< OdDbPolyFaceMesh > OdDbPolyFaceMeshPtr
ptrdiff_t OdGsMarker
short OdInt16
OdResult
Definition: OdResult.h:29
virtual bool isPlanar() const
virtual OdResult getPlane(OdGePlane &plane, OdDb::Planarity &planarity) const
OdDbPolyFaceMeshVertexPtr openVertex(OdDbObjectId subObjId, OdDb::OpenMode mode, bool openErasedOne=false)
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
virtual void dxfOut(OdDbDxfFiler *pFiler) const
virtual OdResult explodeGeometry(OdRxObjectPtrArray &entitySet) const
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
virtual OdResult subGetClassID(void *pClsid) const
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdInt16 numVertices() const
OdInt16 numFaces() const
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual OdResult dxfIn(OdDbDxfFiler *pFiler)
OdResult subGetGsMarkersAtSubentPath(const OdDbFullSubentPath &subPath, OdGsMarkerArray &gsMarkers) const
ODDB_DECLARE_MEMBERS(OdDbPolyFaceMesh)
virtual bool subWorldDraw(OdGiWorldDraw *pWd) const
virtual OdResult subExplode(OdRxObjectPtrArray &entitySet) const
virtual OdResult dxfInFields_R12(OdDbDxfFiler *pFiler)
OdDbSequenceEndPtr openSequenceEnd(OdDb::OpenMode mode)
OdResult subGetGeomExtents(OdGeExtents3d &extents) const
virtual OdResult subTransformBy(const OdGeMatrix3d &xfm)
virtual void dxfOutFields_R12(OdDbDxfFiler *pFiler) const
OdDbObjectId appendVertex(OdDbPolyFaceMeshVertex *pVertex)
OdDbObjectIteratorPtr vertexIterator() const
OdDbObjectId appendFaceRecord(OdDbFaceRecord *pFaceRecord)
OdResult subGetSubentPathsAtGsMarker(OdDb::SubentType type, OdGsMarker gsMark, const OdGePoint3d &, const OdGeMatrix3d &, OdDbFullSubentPathArray &subentPaths, const OdDbObjectIdArray *pEntAndInsertStack) const
GLuint GLsizei GLsizei GLint GLenum * type
Definition: gles2_ext.h:274
Planarity
Definition: DbEntity.h:74
OpenMode
Definition: DbObjectId.h:54