CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
DbMInsertBlock.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 _OD_DB_MINSERT_BLOCK_
28#define _OD_DB_MINSERT_BLOCK_
29
30#include "TD_PackPush.h"
31
32#include "DbBlockReference.h"
33#include "DwgDeclareMembers.h"
34
35class OdDbMInsertBlockImpl;
36
46{
47public:
49
51
56
61 void setColumns(OdUInt16 numColumns);
62
66 OdUInt16 rows() const;
67
72 void setRows(OdUInt16 numRows);
73
77 double columnSpacing() const;
78
83 void setColumnSpacing(double colSpacing);
84
88 double rowSpacing() const;
89
95 double rowSpacing);
96
114 OdDbDwgFiler* pFiler);
115
128 virtual void dwgOutFields(
129 OdDbDwgFiler* pFiler) const;
130
146 OdDbDxfFiler* pFiler);
147
160 virtual void dxfOutFields(
161 OdDbDxfFiler* pFiler) const;
162
167 void* pClsid) const;
168
178 const OdGeMatrix3d& xfm);
179
197 OdDbBlockTableRecord *pTargetBlkRec,
198 OdDbObjectIdArray *pResIdArray);
199
209 OdGeExtents3d& extents) const;
210
217 virtual bool subWorldDraw(
218 OdGiWorldDraw* pWd) const;
219
228 virtual OdResult subExplode(OdRxObjectPtrArray& entitySet) const;
229};
234
235#include "TD_PackPop.h"
236
237#endif
#define DBENT_EXPORT
Definition: DbExport.h:67
OdSmartPtr< OdDbMInsertBlock > OdDbMInsertBlockPtr
unsigned short OdUInt16
OdResult
Definition: OdResult.h:29
DWGMAP_DECLARE_MEMBERS(OdDbMInsertBlock)
OdUInt16 columns() const
virtual bool subWorldDraw(OdGiWorldDraw *pWd) const
virtual OdResult subGetClassID(void *pClsid) const
double rowSpacing() const
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
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)