CFx SDK Documentation  2022 SP0
DbFace.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_FACE_
28 #define _OD_DB_FACE_
29 
30 #include "TD_PackPush.h"
31 
32 #include "DbEntity.h"
33 
50 {
51 public:
53 
62 
63 
80  void getVertexAt( OdUInt16 vertexIndex, OdGePoint3d& vertexValue ) const;
81 
82 
98  void setVertexAt( OdUInt16 vertexIndex, const OdGePoint3d& vertexValue );
99 
100 
115  bool isEdgeVisibleAt( OdUInt16 edgeIndex ) const;
116 
117 
131  void makeEdgeVisibleAt( OdUInt16 edgeIndex );
132 
133 
147  void makeEdgeInvisibleAt( OdUInt16 edgeIndex );
148 
150  OdGePlane& plane,
151  OdDb::Planarity& planarity) const;
152 
153 
155  OdDbDwgFiler* pFiler);
156 
157  virtual void dwgOutFields(
158  OdDbDwgFiler* pFiler) const;
159 
161  OdDbDxfFiler* pFiler);
162 
163  virtual void dxfOutFields(
164  OdDbDxfFiler* pFiler) const;
165 
167  OdDbDxfFiler* pFiler);
168 
169  virtual void dxfOutFields_R12(
170  OdDbDxfFiler* pFiler) const;
171 
173  OdGiWorldDraw* pWd) const;
174 
176  OdGiViewportDraw* pVd) const;
177 
179  void* pClsid) const;
180 
181  virtual OdResult subTransformBy(const OdGeMatrix3d& xfm);
182 
184  OdGsMarker gsMark,
185  const OdGePoint3d& ,
186  const OdGeMatrix3d& ,
187  OdDbFullSubentPathArray& subentPaths,
188  const OdDbObjectIdArray* pEntAndInsertStack ) const;
189 
190 
192  OdGsMarkerArray& gsMarkers) const;
193 };
194 
203 
204 #include "TD_PackPop.h"
205 
206 #endif
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdSmartPtr< OdDbFace > OdDbFacePtr
Definition: DbFace.h:202
ptrdiff_t OdGsMarker
unsigned short OdUInt16
OdResult
Definition: OdResult.h:29
OdResult subGetSubentPathsAtGsMarker(OdDb::SubentType type, OdGsMarker gsMark, const OdGePoint3d &, const OdGeMatrix3d &, OdDbFullSubentPathArray &subentPaths, const OdDbObjectIdArray *pEntAndInsertStack) const
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
virtual OdResult dxfInFields_R12(OdDbDxfFiler *pFiler)
void setVertexAt(OdUInt16 vertexIndex, const OdGePoint3d &vertexValue)
OdResult subGetGsMarkersAtSubentPath(const OdDbFullSubentPath &subPath, OdGsMarkerArray &gsMarkers) const
virtual OdResult subTransformBy(const OdGeMatrix3d &xfm)
bool isEdgeVisibleAt(OdUInt16 edgeIndex) const
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
void getVertexAt(OdUInt16 vertexIndex, OdGePoint3d &vertexValue) const
virtual void dxfOutFields_R12(OdDbDxfFiler *pFiler) const
void makeEdgeInvisibleAt(OdUInt16 edgeIndex)
virtual OdResult subGetClassID(void *pClsid) const
void makeEdgeVisibleAt(OdUInt16 edgeIndex)
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
void subViewportDraw(OdGiViewportDraw *pVd) const
bool subWorldDraw(OdGiWorldDraw *pWd) const
virtual OdResult getPlane(OdGePlane &plane, OdDb::Planarity &planarity) const
ODDB_DECLARE_MEMBERS(OdDbFace)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
GLuint GLsizei GLsizei GLint GLenum * type
Definition: gles2_ext.h:274
Planarity
Definition: DbEntity.h:74