CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
DbFcf.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, 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 Open Design Alliance software pursuant to a license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2022 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 DBFCF_H
28#define DBFCF_H
29
30#include "TD_PackPush.h"
31
32#include "DbEntity.h"
34#include "DwgDeclareMembers.h"
35
42{
43public:
45
47
49 {
50 kAll = -1
51 };
52
86 virtual void setText(
87 const OdString& fcfText);
88
125 virtual const OdString text(
126 int lineNo = kAll) const;
127
136 virtual void setLocation(
137 const OdGePoint3d& insPoint);
138
145 virtual OdGePoint3d location() const;
146
152 virtual void setOrientation(
153 const OdGeVector3d& normal,
154 const OdGeVector3d& direction);
155
159 virtual OdGeVector3d normal() const;
160
164 virtual OdGeVector3d direction() const;
165
171 virtual void setDimensionStyle(
172 OdDbHardPointerId dimStyleId);
173
178
190
201
217 double dimgap() const;
218
239 double dimscale() const;
240
252
263 double dimtxt() const;
264
272 const OdCmColor& val);
273
281 const OdCmColor& val);
282
295 double val);
296
314 double val);
315
323 OdDbObjectId val);
324
332 double val);
333
334 virtual OdResult subGetClassID(void* pClsid) const ODRX_OVERRIDE;
335
337
338 virtual void dwgOutFields(OdDbDwgFiler* pFiler) const ODRX_OVERRIDE;
339
341
342 virtual void dxfOutFields(OdDbDxfFiler* pFiler) const ODRX_OVERRIDE;
343
344 virtual bool subWorldDraw(OdGiWorldDraw* pWd) const ODRX_OVERRIDE;
345
347
349
354 virtual void subSetDatabaseDefaults(OdDbDatabase *pDb, bool doSubents) ODRX_OVERRIDE;
355
372 virtual void getBoundingPoints(
373 OdGePoint3dArray& boundingPoints) const ;
374
375 virtual void subClose() ODRX_OVERRIDE;
376
377 virtual void modified(const OdDbObject* pObject) ODRX_OVERRIDE;
378
388 void getDimstyleData(
389 OdDbDimStyleTableRecord *pRecord) const;
390
400 void setDimstyleData(
401 const OdDbDimStyleTableRecord* pDimstyle);
402
412 void setDimstyleData(
413 OdDbObjectId dimstyleID);
414
420 virtual void getBoundingPline(
422 ptArray) const;
423 /*
424 virtual void getGripPoints(OdGePoint3dArray&, OdDbIntArray&, OdDbIntArray&) const;
425 virtual void moveGripPointsAt(const OdDbIntArray&, const OdGeVector3d&);
426 */
427
428 virtual OdDbObjectPtr decomposeForSave(
429 OdDb::DwgVersion ver,
430 OdDbObjectId& replaceId,
431 bool& exchangeXData) ODRX_OVERRIDE;
432
433 virtual OdResult subGetGeomExtents(OdGeExtents3d& extents) const ODRX_OVERRIDE;
434 virtual OdDbObjectPtr subWblockClone(OdDbIdMapping& idMap, OdDbObject* owner, bool bPrimary) const ODRX_OVERRIDE;
435};
440
441#include "TD_PackPop.h"
442
443#endif
444
#define DBDIM_EXPORT
Definition: DbExport.h:72
#define ODRX_OVERRIDE
OdResult
Definition: OdResult.h:29
Definition: DbFcf.h:42
OdCmColor dimclrt() const
OdCmColor dimclrd() const
virtual OdGeVector3d normal() const
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler) ODRX_OVERRIDE
virtual void getBoundingPoints(OdGePoint3dArray &boundingPoints) const
virtual OdGeVector3d direction() const
DWGMAP_DECLARE_MEMBERS(OdDbFcf)
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler) ODRX_OVERRIDE
virtual void setText(const OdString &fcfText)
double dimscale() const
virtual bool subWorldDraw(OdGiWorldDraw *pWd) const ODRX_OVERRIDE
void setDimtxsty(OdDbObjectId val)
whichLine
Definition: DbFcf.h:49
virtual OdResult subTransformBy(const OdGeMatrix3d &xfm) ODRX_OVERRIDE
void setDimgap(double val)
virtual const OdString text(int lineNo=kAll) const
virtual OdDbHardPointerId dimensionStyle() const
virtual void setOrientation(const OdGeVector3d &normal, const OdGeVector3d &direction)
double dimgap() const
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const ODRX_OVERRIDE
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const ODRX_OVERRIDE
void setDimclrt(const OdCmColor &val)
virtual OdResult subGetClassID(void *pClsid) const ODRX_OVERRIDE
virtual void subSetDatabaseDefaults(OdDbDatabase *pDb, bool doSubents) ODRX_OVERRIDE
OdDbObjectId dimtxsty() const
virtual void setDimensionStyle(OdDbHardPointerId dimStyleId)
virtual void setLocation(const OdGePoint3d &insPoint)
void setDimscale(double val)
virtual void subClose() ODRX_OVERRIDE
double dimtxt() const
void setDimclrd(const OdCmColor &val)
virtual OdGePoint3d location() const
virtual void subViewportDraw(OdGiViewportDraw *pVd) const ODRX_OVERRIDE
void setDimtxt(double val)