CFx SDK Documentation  2020SP3
DbMInsertBlock.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_MINSERT_BLOCK_
28 #define _OD_DB_MINSERT_BLOCK_
29 
30 #include "TD_PackPush.h"
31 
32 #include "DbBlockReference.h"
33 
34 class OdDbMInsertBlockImpl;
35 
47 {
48 public:
50 
52 
56  OdUInt16 columns() const;
57 
62  void setColumns(OdUInt16 numColumns);
63 
67  OdUInt16 rows() const;
68 
73  void setRows(OdUInt16 numRows);
74 
78  double columnSpacing() const;
79 
84  void setColumnSpacing(double colSpacing);
85 
89  double rowSpacing() const;
90 
96  double rowSpacing);
97 
115  OdDbDwgFiler* pFiler);
116 
129  virtual void dwgOutFields(
130  OdDbDwgFiler* pFiler) const;
131 
147  OdDbDxfFiler* pFiler);
148 
161  virtual void dxfOutFields(
162  OdDbDxfFiler* pFiler) const;
163 
168  void* pClsid) const;
169 
179  const OdGeMatrix3d& xfm);
180 
198  OdDbBlockTableRecord *pTargetBlkRec,
199  OdDbObjectIdArray *pResIdArray);
200 
210  OdGeExtents3d& extents) const;
211 
218  virtual bool subWorldDraw(
219  OdGiWorldDraw* pWd) const;
220 
229  virtual OdResult subExplode(OdRxObjectPtrArray& entitySet) const;
230 };
235 
236 #include "TD_PackPop.h"
237 
238 #endif
OdResult
OdResult
Definition: OdResult.h:29
OdDbBlockReference
Definition: DbBlockReference.h:57
OdDbMInsertBlock::setColumnSpacing
void setColumnSpacing(double colSpacing)
OdDbMInsertBlock::ODDB_DECLARE_MEMBERS
ODDB_DECLARE_MEMBERS(OdDbMInsertBlock)
OdDbMInsertBlock::OdDbMInsertBlock
OdDbMInsertBlock()
OdDbMInsertBlock::setRows
void setRows(OdUInt16 numRows)
OdDbMInsertBlock
Definition: DbMInsertBlock.h:47
OdDbMInsertBlock::explodeToBlock
OdResult explodeToBlock(OdDbBlockTableRecord *pTargetBlkRec, OdDbObjectIdArray *pResIdArray)
OdDbMInsertBlock::columnSpacing
double columnSpacing() const
OdDbMInsertBlock::dwgOutFields
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdArray< OdDbObjectId, OdMemoryAllocator< OdDbObjectId > >
TD_PackPop.h
OdUInt16
unsigned short OdUInt16
Definition: OdPlatformSettings.h:760
DbBlockReference.h
OdGeMatrix3d
Definition: GeMatrix3d.h:73
OdDbMInsertBlock::rows
OdUInt16 rows() const
OdDbMInsertBlock::subWorldDraw
virtual bool subWorldDraw(OdGiWorldDraw *pWd) const
OdDbMInsertBlock::rowSpacing
double rowSpacing() const
OdDbMInsertBlock::subTransformBy
virtual OdResult subTransformBy(const OdGeMatrix3d &xfm)
OdDbMInsertBlock::subExplode
virtual OdResult subExplode(OdRxObjectPtrArray &entitySet) const
OdSmartPtr
Definition: SmartPtr.h:58
OdDbMInsertBlock::subGetClassID
virtual OdResult subGetClassID(void *pClsid) const
OdDbMInsertBlock::columns
OdUInt16 columns() const
OdDbMInsertBlock::dxfOutFields
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
OdDbMInsertBlock::setRowSpacing
void setRowSpacing(double rowSpacing)
OdDbDxfFiler
Definition: DbFiler.h:194
TD_PackPush.h
OdGiWorldDraw
Definition: GiWorldDraw.h:44
OdDbMInsertBlock::subGetGeomExtents
OdResult subGetGeomExtents(OdGeExtents3d &extents) const
OdDbMInsertBlock::setColumns
void setColumns(OdUInt16 numColumns)
OdDbBlockTableRecord
Definition: DbBlockTableRecord.h:57
OdDbMInsertBlock::dxfInFields
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdGeExtents3d
Definition: GeExtents3d.h:45
TOOLKIT_EXPORT
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdDbMInsertBlock::dwgInFields
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdDbDwgFiler
Definition: DbFiler.h:1031
OdDbMInsertBlockPtr
OdSmartPtr< OdDbMInsertBlock > OdDbMInsertBlockPtr
Definition: DbMInsertBlock.h:234