CFx SDK Documentation  2023 SP0
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
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdSmartPtr< OdDbMInsertBlock > OdDbMInsertBlockPtr
unsigned short OdUInt16
OdResult
Definition: OdResult.h:29
OdUInt16 columns() const
virtual bool subWorldDraw(OdGiWorldDraw *pWd) const
virtual OdResult subGetClassID(void *pClsid) const
double rowSpacing() const
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
ODDB_DECLARE_MEMBERS(OdDbMInsertBlock)
OdResult explodeToBlock(OdDbBlockTableRecord *pTargetBlkRec, OdDbObjectIdArray *pResIdArray)
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
OdResult subGetGeomExtents(OdGeExtents3d &extents) const
virtual OdResult subTransformBy(const OdGeMatrix3d &xfm)
double columnSpacing() const
void setColumns(OdUInt16 numColumns)
virtual OdResult subExplode(OdRxObjectPtrArray &entitySet) const
void setRows(OdUInt16 numRows)
OdUInt16 rows() const
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
void setColumnSpacing(double colSpacing)
void setRowSpacing(double rowSpacing)