CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
DbBaseDatabase.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2021, 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-2021 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#ifndef _ODDB_BASEDATABASE_INCLUDED_
25#define _ODDB_BASEDATABASE_INCLUDED_
26
27#include "RxObject.h"
28#include "DbRootExport.h"
29#include "OdFont.h"
30#include "GiDefaultContext.h"
31#include "Gs/Gs.h"
32#include "Gi/GiLinetype.h"
33#include "Ge/GeCurve2d.h"
34#include "Ge/GeDoubleArray.h"
35#include "Ge/GePoint2dArray.h"
36#include "Ge/GeBoundBlock3d.h"
37#include "OdTimeStamp.h" // dgn dwf export
38#include "OdUnitsFormatter.h"
39#include "StringArray.h"
40#include "DbHandle.h"
41
45
47
52
61{
62public:
63 //DOM-IGNORE-BEGIN
65 //DOM-IGNORE-END
66
71 {
73 kZeroFlags = 0,
75 kExactExtents = 1,
77 kUseViewExtents = 2,
79 kUseGivenExtents = 4,
81 kUseGivenView = 8
82 ,kClipDisabled = 0x10000000 //FELIX_CHANGE //Support of unclipped PDF export
83 };
84
89
93 virtual OdString getFilename(OdDbBaseDatabase* pDb) const = 0;
94
100 virtual void startTransaction(OdDbBaseDatabase* pDb) = 0;
101
107 virtual void abortTransaction(OdDbBaseDatabase* pDb) = 0;
108
113
119 virtual OdResult evaluateFields(OdDbBaseDatabase* pDb, int nContext) = 0;
120
128 virtual OdResult undo(OdDbBaseDatabase* pDb) = 0;
129
136
145 virtual void putNamedViewInfo(OdDbBaseDatabase* pDb, OdDbStub* layoutId, OdStringArray& names, OdGePoint3dArray& points) = 0;
146
159 virtual OdBaseTextIteratorPtr createTextIterator(OdDbBaseDatabase* db, const OdChar* textString, int length, bool raw, const OdGiTextStyle* pTextStyle) const = 0;
160
170
180 virtual OdGsDevicePtr setupLayoutView(OdGsDevice* pDevice, OdGiDefaultContext* pGiCtx, OdDbStub* layoutId) = 0;
181
193 virtual void setupPalette(OdGsDevice* device, OdGiDefaultContext* giContext, OdDbStub* layoutId = 0, ODCOLORREF palBg = ODRGBA(0,0,0,0)) = 0;
194
202 virtual OdDbStub* getNextViewForActiveLayout(OdGiDefaultContext* pGiCtx, OdDbStub* /*objectId*/) = 0;
203
213 virtual void applyLayoutSettings(OdGsDCRect& clipBox, OdGsDevice* pDevice, OdDbBaseDatabase* db, OdUInt32 extentsFlags = kZeroFlags, OdUInt32 dpi = 72) = 0;
214
228 virtual void zoomToExtents(const OdGsDCRect& outputRect, OdGsDevice* pDevice, OdDbBaseDatabase* db, OdGeBoundBlock3d& plotExtents,
229 OdUInt32 extentsFlags = kZeroFlags, OdDbStub* objectId = NULL) = 0;
230
238
245
252
260 virtual OdDbStub* getVisualStyleId(OdDbBaseDatabase* db, const OdString& name) const = 0;
261
270 {
271 return openObject(currentLayoutId(pDb));
272 }
273
280 virtual void setCurrentLayout(OdDbBaseDatabase* db, const OdString& name) = 0;
281
290
299 {
300 return openObject(findLayoutNamed(pDb, name));
301 }
302
310 inline OdRxObjectPtr findLayoutByViewport(OdDbBaseDatabase* db, OdDbStub* pViewportId)
311 {
312 return openObject(findLayoutIdByViewport(db, pViewportId));
313 }
314
322 virtual OdDbStub* findLayoutIdByViewport(OdDbBaseDatabase* db, OdDbStub* pViewportId) = 0;
323
331 virtual OdDbStub* findLayoutNamed(OdDbBaseDatabase* db, const OdString& name) = 0; //DOM-IGNORE-BEGIN// dgn dwf export//DOM-IGNORE-END
332
338 {
339 return openObject(getFirstLayoutId(db));
340 }
341
346 virtual OdDbStub* getFirstLayoutId(OdDbBaseDatabase* db) = 0; //DOM-IGNORE-BEGIN// dgn dwf export//DOM-IGNORE-END
347
352 virtual OdTimeStamp getCreationTime(OdDbBaseDatabase* db) = 0; //DOM-IGNORE-BEGIN// dgn dwf export//DOM-IGNORE-END
353
358 virtual OdTimeStamp getUpdateTime(OdDbBaseDatabase* db) = 0; //DOM-IGNORE-BEGIN// dgn dwf export//DOM-IGNORE-END
359
365 virtual OdString getFingerPrintGuid(OdDbBaseDatabase* db) = 0; //DOM-IGNORE-BEGIN// dgn dwf export//DOM-IGNORE-END
366
372 virtual OdString getVersionGuid(OdDbBaseDatabase* db) = 0; //DOM-IGNORE-BEGIN// dgn dwf export//DOM-IGNORE-END
373
380 virtual int getUnits(OdDbBaseDatabase* db) = 0; //DOM-IGNORE-BEGIN// dgn dwf export//DOM-IGNORE-END
381
386 virtual OdUnitsFormatter* baseFormatter(OdDbBaseDatabase* db) = 0; //DOM-IGNORE-BEGIN// dgn dwg common formatter base class//DOM-IGNORE-END
387
394 virtual int getMeasurement(OdDbBaseDatabase* db) = 0;
395
404 virtual bool getLineTypeById( OdDbBaseDatabase* db, OdDbStub* pLTypeId, OdGiLinetype& LType ) = 0;
405
414 virtual bool getTextStyleById( OdDbBaseDatabase* db, OdDbStub* idStyle, OdGiTextStyle& shapeInfo ) = 0;
415
420 virtual OdDbStub* getId(const OdRxObject* obj) const = 0;
421
427 virtual OdDbStub* getObject(OdDbBaseDatabase* db, OdUInt64 handle) = 0;
428
433 virtual OdDbHandle getHandle(OdDbStub* id);
434
439 virtual OdDbBaseDatabase* getDatabase(OdDbStub *id);
440
445 virtual OdDbStub* getOwner(OdDbStub *id);
446
452
457 virtual OdDbStub* getModelBlockId(OdDbBaseDatabase* pDb) = 0;
458
463 virtual OdDbStub* getPaperBlockId(OdDbBaseDatabase* pDb) = 0;
464
469 virtual OdDbStub* currentLayoutId(OdDbBaseDatabase* pDb) = 0;
470
475 virtual OdDbStub* xrefBlockId(OdDbBaseDatabase* pDb) = 0;
476
482 virtual void setMultiThreadedRender(OdDbBaseDatabase* pDb, bool bOn) = 0;
483
484 virtual bool isExclusiveReadingEnabled(const OdDbBaseDatabase* pDb) = 0;
485
490 virtual bool isAProxy(OdRxObject* pDrw) = 0;
491
496 virtual OdRxObjectPtr openObject(OdDbStub* pId) = 0;
497 virtual OdRxObjectPtr openObject(OdDbStub* pId, bool bForWrite) = 0;
498 virtual bool upgradeOpen(OdRxObject* pObj) = 0;
499 virtual void downgradeOpen(OdRxObject* pObj) = 0;
500
501 virtual bool getAnnoScaleSet(OdDbStub* drawableId, OdGiAnnoScaleSet& res) = 0;
502
507 virtual OdDbStub *getCurrentLongTransation(const OdDbBaseDatabase *pDb) = 0;
508
513 {
514 public:
519
525 virtual void goodbye(const OdDbBaseDatabase* pDb) = 0;
526 };
527
537
544 virtual void removeDatabaseUnloadReactor(OdDbBaseDatabase* pDb, OdRxObject *pReactor) = 0;
545
549 virtual OdResult faceConversionHelper(OdDbStub*& material, OdDbBaseDatabase* pSourceDb, OdDbBaseDatabase* pDestinationDb,
550 const OdGiMaterialTraits* pMaterialTraits, const OdGiMapper* pMaterialMapper = 0, const OdCmEntityColor* pMaterialColor = 0) = 0;
551
555 virtual bool getDatabasePartialViewingMode( OdDbBaseDatabase* pDb ) const { return false; }
556
593 {
594 color = 257;
595 return 0;
596 }
597
598};
599
604
605
615{
616public:
617 //DOM-IGNORE-BEGIN
619 //DOM-IGNORE-END
620
626 virtual OdString name(const OdRxObject* obj) const = 0;
627
635 virtual bool isOff(const OdRxObject* obj) const = 0;
636
644 virtual bool isFrozen(const OdRxObject* obj) const = 0;
645
652 virtual void setIsOff(OdRxObject* obj, bool off) const = 0;
653
660 virtual void setIsFrozen(OdRxObject* obj, bool frozen) const = 0;
661
670 virtual bool getLineType(OdRxObject* obj, OdGiLinetype& LType) const = 0;
671};
672
677
678
688{
689public:
690 //DOM-IGNORE-BEGIN
692 //DOM-IGNORE-BEGIN
693
699 virtual OdString name(const OdRxObject* obj) const = 0;
700
708 virtual bool isInternal(const OdRxObject* obj) const = 0;
709};
710
715
726{
727public:
729
736 virtual bool scaleRatio(const OdRxObject* obj, double* scale) const = 0;
737};
738
740
741
751{
752public:
753
754 //DOM-IGNORE-BEGIN
756 //DOM-IGNORE-END
757
762 {
764 kInches = 0,
766 kMillimeters = 1,
768 kPixels = 2
769 };
770
775 {
777 k0degrees = 0,
779 k90degrees = 1,
781 k180degrees = 2,
783 k270degrees = 3
784 };
785
790 {
792 kDisplay = 0,
796 kLimits = 2,
798 kView = 3,
802 kLayout = 5
803 };
804
809 {
811 kScaleToFit = 0,
813 k1_128in_1ft = 1,
815 k1_64in_1ft = 2,
817 k1_32in_1ft = 3,
819 k1_16in_1ft = 4,
821 k3_32in_1ft = 5,
823 k1_8in_1ft = 6,
825 k3_16in_1ft = 7,
827 k1_4in_1ft = 8,
829 k3_8in_1ft = 9,
831 k1_2in_1ft = 10,
833 k3_4in_1ft = 11,
835 k1in_1ft = 12,
837 k3in_1ft = 13,
839 k6in_1ft = 14,
841 k1ft_1ft = 15,
843 k1_1 = 16,
845 k1_2 = 17,
847 k1_4 = 18,
849 k1_5 = 19,
851 k1_8 = 20,
853 k1_10 = 21,
855 k1_16 = 22,
857 k1_20 = 23,
859 k1_30 = 24,
861 k1_40 = 25,
863 k1_50 = 26,
865 k1_100 = 27,
867 k2_1 = 28,
869 k4_1 = 29,
871 k8_1 = 30,
873 k10_1 = 31,
875 k100_1 = 32,
877 k1000_1 = 33,
879 k1and1_2in_1ft = 34
880 };
881
887 virtual OdString name(const OdRxObject*) = 0;
888
896 virtual bool isModelLayout(const OdRxObject*) = 0;
897
905 virtual bool printLineweights(const OdRxObject*) = 0;
906
914 virtual bool showPlotStyles(const OdRxObject*) = 0;
915
921 virtual OdString paperName(const OdRxObject*) = 0;
922
930 virtual void getPaperSize(const OdRxObject*, double& paperWidth, double& paperHeight) const = 0;
931
938
944 virtual double getTopMargin(const OdRxObject*) = 0;
945
951 virtual double getRightMargin(const OdRxObject*) = 0;
952
958 virtual double getBottomMargin(const OdRxObject*) = 0;
959
965 virtual double getLeftMargin(const OdRxObject*) = 0;
966
974 virtual bool isOverallVPortErased(const OdRxObject*) = 0;
975
983
984
985 //DOM-IGNORE-BEGIN
986 // methods inherited by OdDbLayoutImpl class // dgn dwf export
987 //DOM-IGNORE-END
988
996 virtual bool useStandardScale(const OdRxObject*) = 0;
997
1004 virtual void getStdScale(const OdRxObject*, double& scale) = 0;
1005
1013 virtual void getCustomPrintScale(const OdRxObject*, double& numerator, double& denominator) = 0;
1014
1020 virtual int plotType(const OdRxObject*) = 0;
1021 virtual OdResult getPlotType(const OdRxObject*, PlotType&) const = 0;
1022
1029
1039 virtual void getPlotWindowArea(const OdRxObject*, double& xmin, double& ymin, double& xmax, double& ymax) = 0;
1040
1048 virtual void getPlotOrigin(const OdRxObject*, double& x, double& y) = 0;
1049
1057 virtual void getPlotPaperSize(const OdRxObject*, double& paperWidth, double& paperHeight) = 0;
1058
1064 virtual int plotPaperUnits(const OdRxObject*) = 0;
1066
1067 //DOM-IGNORE-BEGIN
1068 // for Gs
1069 //DOM-IGNORE-END
1070
1076 virtual OdDbStub* getBlockId(const OdRxObject*) const = 0;
1077
1083 virtual bool scalePSLinetypes(const OdRxObject*) const = 0;
1084
1092 virtual bool getApproxExtents(const OdRxObject*, OdGePoint3d& extMin, OdGePoint3d& extMax) const = 0;
1093
1140};
1141
1146
1153{
1154public:
1155 //DOM-IGNORE-BEGIN
1157 //DOM-IGNORE-END
1158
1167 virtual OdResult setPlotCfgName(OdRxObject* pPlotSetObj, const OdString &plotCfgName) = 0;
1168
1177 virtual OdResult setPlotLayoutFlags(OdRxObject* pPlotSetObj, OdInt16 flags) = 0;
1178
1194 virtual OdResult setMargins(OdRxObject* pPlotSetObj, double left, double Bottom, double right, double top) = 0;
1195
1209 virtual OdResult setPlotPaperSize(OdRxObject* pPlotSetObj, double paperWidth, double paperHeight) = 0;
1210
1221 virtual OdResult setMediaName(OdRxObject* pPlotSetObj, OdString mediaName) = 0;
1222
1234 virtual OdResult setOrigin(OdRxObject* pPlotSetObj, const OdGePoint2d &origin) = 0;
1235
1257
1278
1300 virtual OdResult setPlotType(OdRxObject* pPlotSetObj, OdDbBaseLayoutPE::PlotType plotType) = 0;
1301
1316 virtual OdResult setPlotWindowArea(OdRxObject* pPlotSetObj, double xmin, double ymin, double xmax, double ymax) = 0;
1317
1326 virtual OdResult setPlotView(OdRxObject* pPlotSetObj, OdDbStub* plotViewId) = 0;
1327
1340 virtual OdResult setPrintScale(OdRxObject* pPlotSetObj, double numerator, double denominator) = 0;
1341
1350 virtual OdResult setStyleSheet(OdRxObject* pPlotSetObj, OdString styleSheet) = 0;
1351
1361
1368 virtual OdResult setScaleFactor(OdRxObject* pPlotSetObj, double dScaleFactor) = 0;
1369};
1370
1375
1376
1386{
1387public:
1388 //DOM-IGNORE-BEGIN
1390 //DOM-IGNORE-END
1391
1399 virtual bool isBlockReferenceAdded(OdRxObject *pBlock) const = 0;
1400
1408 virtual bool isFromExternalReference(const OdRxObject *pBlock) const = 0;
1409
1415 virtual OdDbBaseDatabase *xrefDatabase(const OdRxObject *pBlock) const = 0;
1416
1422 virtual OdDbStub *getLayoutId(const OdRxObject *pBlock) const = 0;
1423
1429 virtual bool isAnonymous( const OdRxObject *pBlock ) const = 0;
1430
1436 virtual OdString getName( const OdRxObject *pBlock ) const = 0;
1437};
1438
1443
1444
1454{
1455public:
1456 //DOM-IGNORE-BEGIN
1458 //DOM-IGNORE-END
1459
1465 virtual OdDbStub *blockId(const OdRxObject *pBlockRef) const = 0;
1466
1472 virtual OdGeMatrix3d blockTransform(const OdRxObject *pBlockRef) const = 0;
1473
1480 virtual OdRxIteratorPtr newAttribIterator(const OdRxObject *pBlockRef, bool bSkipErased = true) const = 0;
1481
1487 virtual bool isAttribute(const OdRxObject *pAttrib) const = 0;
1488
1500 virtual bool isGeneric(const OdRxObject *pBlockRef) const = 0;
1501
1509 virtual bool isMInsert(const OdRxObject *pBlockRef) const = 0;
1510
1518 virtual bool isBasic(const OdRxObject *pBlockRef) const = 0;
1519
1528 virtual bool isSelfReferential(const OdRxObject *pEntity) const = 0;
1529};
1530
1535
1536
1546{
1547public:
1548 //DOM-IGNORE-BEGIN
1550 //DOM-IGNORE-END
1551
1557 virtual OdDbStub *blockId(const OdRxObject *pSortents) const = 0;
1558};
1559
1564
1565
1575{
1576public:
1577 //DOM-IGNORE-BEGIN
1579 //DOM-IGNORE-END
1580
1586 virtual OdDbStub *destinationBlock(const OdRxObject *pLT) const = 0;
1587
1593 virtual OdDbBaseDatabase *getDatabase(const OdRxObject *pLT) const = 0;
1594
1603 virtual bool workSetHas(const OdRxObject *pLT, OdDbStub *pId) const = 0;
1604
1612 virtual OdRxIteratorPtr newWorkSetIterator(const OdRxObject *pLT, bool incRemoved = false, bool incSecondary = false) const = 0;
1613};
1614
1619
1625{
1626public:
1627 //DOM-IGNORE-BEGIN
1629 //DOM-IGNORE-END
1630
1635 {
1637 kNormal = 0,
1639 kOuter = 1,
1641 kIgnore = 2
1643
1648 {
1652 kExternal = 1,
1654 kPolyline = 2,
1656 kDerived = 4,
1658 kTextbox = 8,
1660 kOutermost = 0x10,
1662 kNotClosed = 0x20,
1664 kSelfIntersecting = 0x40,
1666 kTextIsland = 0x80,
1668 kDuplicate = 0x100,
1670 kIsAnnotative = 0x200,
1672 kDoesNotSupportScale = 0x400,
1674 kForceAnnoAllVisible = 0x800,
1676 kOrientToPaper = 0x1000,
1678 kIsAnnotativeBlock = 0x2000
1680
1686 virtual int numLoops(const OdRxObject* pHatch) const = 0;
1687
1694 virtual OdInt32 loopTypeAt(const OdRxObject* pHatch, int loopIndex) const = 0;
1695
1703 virtual void getLoopAt(const OdRxObject* pHatch, int loopIndex, OdArray<OdGeCurve2d*>& edgePtrs) const = 0;
1704
1712 virtual void getLoopAt(const OdRxObject* pHatch, int loopIndex, OdGePoint2dArray& vertices, OdGeDoubleArray& bulges) const = 0;
1713
1719 virtual HatchStyle hatchStyle(const OdRxObject* pHatch) const = 0;
1720
1728 virtual bool isGradient(const OdRxObject* pHatch) const = 0;
1729
1737 virtual bool isSolidFill(const OdRxObject* pHatch) const = 0;
1738
1749 virtual bool isReallyHatch(const OdRxObject* pHatch) const = 0;
1750};
1751
1756
1757
1758
1768{
1769public:
1770 //DOM-IGNORE-BEGIN
1772 //DOM-IGNORE-BEGIN
1773
1779 virtual OdString name(const OdRxObject* obj) const = 0;
1780
1788 virtual bool isDefault(const OdRxObject* obj) const = 0;
1789};
1790
1795
1796#endif // _ODDB_BASEDATABASE_INCLUDED_
@ kDefault
Definition: BrEnums.h:132
OdSmartPtr< OdDbBaseDatabasePE > OdDbBaseDatabasePEPtr
OdSmartPtr< OdDbBaseMaterialPE > OdDbBaseMaterialPEPtr
OdRxObjectPtr OdDbBaseDatabasePtr
OdSmartPtr< OdDbSetBasePlotSettingsPE > OdDbSetBasePlotSettingsPEPtr
OdRxObject OdDbBaseDatabase
OdSmartPtr< OdDbBaseHatchPE > OdDbBaseHatchPEPtr
OdSmartPtr< OdDbBaseSortEntsPE > OdDbBaseSortEntsPEPtr
OdSmartPtr< OdDbBaseVisualStylePE > OdDbBaseVisualStylePEPtr
OdSmartPtr< OdDbBaseLayoutPE > OdDbBaseLayoutPEPtr
OdSmartPtr< OdDbBaseAnnotationScalePE > OdDbBaseAnnotationScalePEPtr
OdSmartPtr< OdDbBaseBlockRefPE > OdDbBaseBlockRefPEPtr
OdSmartPtr< OdDbBaseLayerPE > OdDbBaseLayerPEPtr
OdSmartPtr< OdDbBaseLongTransactionPE > OdDbBaseLongTransactionPEPtr
OdSmartPtr< OdDbBaseBlockPE > OdDbBaseBlockPEPtr
#define DBROOT_EXPORT
Definition: DbRootExport.h:39
scale
Definition: DimVarDefs.h:1684
@ kExtents
OdCodePageId
Definition: OdCodePage.h:31
#define ODCOLORREF
Definition: OdPlatform.h:933
#define ODRGBA(r, g, b, a)
Definition: OdPlatform.h:935
unsigned int OdUInt32
short OdInt16
int OdInt32
wchar_t OdChar
OdResult
Definition: OdResult.h:29
virtual bool scaleRatio(const OdRxObject *obj, double *scale) const =0
ODRX_DECLARE_MEMBERS(OdDbBaseAnnotationScalePE)
virtual OdDbBaseDatabase * xrefDatabase(const OdRxObject *pBlock) const =0
ODRX_DECLARE_MEMBERS(OdDbBaseBlockPE)
virtual bool isAnonymous(const OdRxObject *pBlock) const =0
virtual bool isBlockReferenceAdded(OdRxObject *pBlock) const =0
virtual bool isFromExternalReference(const OdRxObject *pBlock) const =0
virtual OdDbStub * getLayoutId(const OdRxObject *pBlock) const =0
virtual OdString getName(const OdRxObject *pBlock) const =0
virtual bool isBasic(const OdRxObject *pBlockRef) const =0
virtual OdRxIteratorPtr newAttribIterator(const OdRxObject *pBlockRef, bool bSkipErased=true) const =0
virtual OdGeMatrix3d blockTransform(const OdRxObject *pBlockRef) const =0
virtual bool isAttribute(const OdRxObject *pAttrib) const =0
virtual OdDbStub * blockId(const OdRxObject *pBlockRef) const =0
ODRX_DECLARE_MEMBERS(OdDbBaseBlockRefPE)
virtual bool isGeneric(const OdRxObject *pBlockRef) const =0
virtual bool isMInsert(const OdRxObject *pBlockRef) const =0
virtual bool isSelfReferential(const OdRxObject *pEntity) const =0
virtual void goodbye(const OdDbBaseDatabase *pDb)=0
virtual OdResult faceConversionHelper(OdDbStub *&material, OdDbBaseDatabase *pSourceDb, OdDbBaseDatabase *pDestinationDb, const OdGiMaterialTraits *pMaterialTraits, const OdGiMapper *pMaterialMapper=0, const OdCmEntityColor *pMaterialColor=0)=0
virtual bool getTextStyleById(OdDbBaseDatabase *db, OdDbStub *idStyle, OdGiTextStyle &shapeInfo)=0
virtual void putNamedViewInfo(OdDbBaseDatabase *pDb, OdDbStub *layoutId, OdStringArray &names, OdGePoint3dArray &points)=0
OdRxObjectPtr getFirstLayout(OdDbBaseDatabase *db)
virtual OdTimeStamp getCreationTime(OdDbBaseDatabase *db)=0
virtual void zoomToExtents(const OdGsDCRect &outputRect, OdGsDevice *pDevice, OdDbBaseDatabase *db, OdGeBoundBlock3d &plotExtents, OdUInt32 extentsFlags=kZeroFlags, OdDbStub *objectId=NULL)=0
virtual OdDbStub * getId(const OdRxObject *obj) const =0
virtual OdGsDevicePtr setupActiveLayoutViews(OdGsDevice *pDevice, OdGiDefaultContext *pGiCtx)=0
virtual void applyLayoutSettings(OdGsDCRect &clipBox, OdGsDevice *pDevice, OdDbBaseDatabase *db, OdUInt32 extentsFlags=kZeroFlags, OdUInt32 dpi=72)=0
virtual OdResult undo(OdDbBaseDatabase *pDb)=0
virtual OdDbStub * findLayoutNamed(OdDbBaseDatabase *db, const OdString &name)=0
virtual OdUnitsFormatter * baseFormatter(OdDbBaseDatabase *db)=0
virtual OdDbStub * getFirstLayoutId(OdDbBaseDatabase *db)=0
virtual OdRxIteratorPtr layers(OdDbBaseDatabase *db) const =0
virtual bool getAnnoScaleSet(OdDbStub *drawableId, OdGiAnnoScaleSet &res)=0
virtual OdDbStub * getOwner(OdDbStub *id)
virtual OdDbStub * currentLayoutId(OdDbBaseDatabase *pDb)=0
virtual void downgradeOpen(OdRxObject *pObj)=0
virtual OdDbStub * getModelBlockId(OdDbBaseDatabase *pDb)=0
virtual OdRxObjectPtr getLayout(OdDbBaseDatabase *pDb, const OdString &name)
virtual int getMeasurement(OdDbBaseDatabase *db)=0
virtual void setMultiThreadedRender(OdDbBaseDatabase *pDb, bool bOn)=0
virtual OdRxObjectPtr openObject(OdDbStub *pId, bool bForWrite)=0
virtual OdDbBaseHostAppServices * appServices(OdDbBaseDatabase *pDb) const =0
virtual OdResult startUndoRecord(OdDbBaseDatabase *pDb)=0
virtual OdRxObjectPtr addDatabaseUnloadReactor(OdDbBaseDatabase *pDb, OdRxObject *pPrevReactor, DatabaseUnloadReactor *pReactorRedirect)=0
virtual bool getDatabasePartialViewingMode(OdDbBaseDatabase *pDb) const
virtual OdDbStub * getCurrentLongTransation(const OdDbBaseDatabase *pDb)=0
virtual void setCurrentLayout(OdDbBaseDatabase *db, const OdString &name)=0
virtual OdDbStub * getObject(OdDbBaseDatabase *db, OdUInt64 handle)=0
virtual void setupPalette(OdGsDevice *device, OdGiDefaultContext *giContext, OdDbStub *layoutId=0, ODCOLORREF palBg=ODRGBA(0, 0, 0, 0))=0
virtual OdInt16 getObscuredLtype(OdDbBaseDatabase &db, OdInt16 &color) const
virtual OdGiDefaultContextPtr createGiContext(OdDbBaseDatabase *pDb) const =0
virtual OdDbStub * findLayoutIdByViewport(OdDbBaseDatabase *db, OdDbStub *pViewportId)=0
virtual void removeDatabaseUnloadReactor(OdDbBaseDatabase *pDb, OdRxObject *pReactor)=0
virtual bool upgradeOpen(OdRxObject *pObj)=0
OdRxObjectPtr currentLayout(OdDbBaseDatabase *pDb)
virtual OdRxIteratorPtr layouts(OdDbBaseDatabase *db) const =0
virtual OdTimeStamp getUpdateTime(OdDbBaseDatabase *db)=0
virtual OdGsDevicePtr setupLayoutView(OdGsDevice *pDevice, OdGiDefaultContext *pGiCtx, OdDbStub *layoutId)=0
virtual OdDbStub * xrefBlockId(OdDbBaseDatabase *pDb)=0
virtual OdString getFingerPrintGuid(OdDbBaseDatabase *db)=0
virtual OdDbBaseDatabase * getDatabase(OdDbStub *id)
ODRX_DECLARE_MEMBERS(OdDbBaseDatabasePE)
virtual OdDbStub * getPaperBlockId(OdDbBaseDatabase *pDb)=0
virtual bool getLineTypeById(OdDbBaseDatabase *db, OdDbStub *pLTypeId, OdGiLinetype &LType)=0
virtual bool isAProxy(OdRxObject *pDrw)=0
virtual OdResult evaluateFields(OdDbBaseDatabase *pDb, int nContext)=0
virtual bool isExclusiveReadingEnabled(const OdDbBaseDatabase *pDb)=0
virtual OdBaseTextIteratorPtr createTextIterator(OdDbBaseDatabase *db, const OdChar *textString, int length, bool raw, const OdGiTextStyle *pTextStyle) const =0
virtual void startTransaction(OdDbBaseDatabase *pDb)=0
virtual OdDbStub * getNextViewForActiveLayout(OdGiDefaultContext *pGiCtx, OdDbStub *)=0
virtual OdCodePageId getCodePage(OdDbBaseDatabase *db)=0
virtual void abortTransaction(OdDbBaseDatabase *pDb)=0
virtual void loadPlotstyleTableForActiveLayout(OdGiDefaultContext *pDwgContext, OdDbBaseDatabase *db)=0
virtual OdString getFilename(OdDbBaseDatabase *pDb) const =0
OdRxObjectPtr findLayoutByViewport(OdDbBaseDatabase *db, OdDbStub *pViewportId)
virtual OdDbHandle getHandle(OdDbStub *id)
virtual int getUnits(OdDbBaseDatabase *db)=0
virtual OdString getVersionGuid(OdDbBaseDatabase *db)=0
virtual OdRxObjectPtr openObject(OdDbStub *pId)=0
virtual OdDbStub * getVisualStyleId(OdDbBaseDatabase *db, const OdString &name) const =0
virtual OdRxIteratorPtr visualStyles(OdDbBaseDatabase *db) const =0
ODRX_DECLARE_MEMBERS(OdDbBaseHatchPE)
virtual OdInt32 loopTypeAt(const OdRxObject *pHatch, int loopIndex) const =0
virtual void getLoopAt(const OdRxObject *pHatch, int loopIndex, OdGePoint2dArray &vertices, OdGeDoubleArray &bulges) const =0
virtual bool isReallyHatch(const OdRxObject *pHatch) const =0
virtual HatchStyle hatchStyle(const OdRxObject *pHatch) const =0
virtual bool isSolidFill(const OdRxObject *pHatch) const =0
virtual int numLoops(const OdRxObject *pHatch) const =0
virtual void getLoopAt(const OdRxObject *pHatch, int loopIndex, OdArray< OdGeCurve2d * > &edgePtrs) const =0
virtual bool isGradient(const OdRxObject *pHatch) const =0
virtual void setIsFrozen(OdRxObject *obj, bool frozen) const =0
virtual OdString name(const OdRxObject *obj) const =0
virtual bool getLineType(OdRxObject *obj, OdGiLinetype &LType) const =0
ODRX_DECLARE_MEMBERS(OdDbBaseLayerPE)
virtual bool isOff(const OdRxObject *obj) const =0
virtual bool isFrozen(const OdRxObject *obj) const =0
virtual void setIsOff(OdRxObject *obj, bool off) const =0
virtual double getBottomMargin(const OdRxObject *)=0
virtual void getPlotOrigin(const OdRxObject *, double &x, double &y)=0
virtual bool printLineweights(const OdRxObject *)=0
virtual double getRightMargin(const OdRxObject *)=0
virtual int plotPaperUnits(const OdRxObject *)=0
ODRX_DECLARE_MEMBERS(OdDbBaseLayoutPE)
virtual void getPlotWindowArea(const OdRxObject *, double &xmin, double &ymin, double &xmax, double &ymax)=0
virtual OdResult getPlotPaperUnits(const OdRxObject *, PlotPaperUnits &) const =0
virtual OdResult getStdScaleType(const OdRxObject *, StdScaleType &) const =0
virtual double getLeftMargin(const OdRxObject *)=0
virtual bool scalePSLinetypes(const OdRxObject *) const =0
virtual void getPlotPaperSize(const OdRxObject *, double &paperWidth, double &paperHeight)=0
virtual PlotRotation plotRotation(const OdRxObject *)=0
virtual void getCustomPrintScale(const OdRxObject *, double &numerator, double &denominator)=0
virtual OdString paperName(const OdRxObject *)=0
virtual void getPaperSize(const OdRxObject *, double &paperWidth, double &paperHeight) const =0
virtual OdResult getPlotType(const OdRxObject *, PlotType &) const =0
virtual bool isOverallVPortErased(const OdRxObject *)=0
virtual int plotType(const OdRxObject *)=0
virtual double getTopMargin(const OdRxObject *)=0
virtual bool getApproxExtents(const OdRxObject *, OdGePoint3d &extMin, OdGePoint3d &extMax) const =0
virtual void getStdScale(const OdRxObject *, double &scale)=0
virtual OdDbStub * getBlockId(const OdRxObject *) const =0
virtual bool isModelLayout(const OdRxObject *)=0
virtual OdResult getGeomExtents(const OdRxObject *, OdGeExtents3d &ext)=0
virtual OdString getPlotViewName(const OdRxObject *)=0
virtual bool showPlotStyles(const OdRxObject *)=0
virtual bool useStandardScale(const OdRxObject *)=0
virtual OdString name(const OdRxObject *)=0
virtual OdDbBaseDatabase * getDatabase(const OdRxObject *pLT) const =0
ODRX_DECLARE_MEMBERS(OdDbBaseLongTransactionPE)
virtual bool workSetHas(const OdRxObject *pLT, OdDbStub *pId) const =0
virtual OdRxIteratorPtr newWorkSetIterator(const OdRxObject *pLT, bool incRemoved=false, bool incSecondary=false) const =0
virtual OdDbStub * destinationBlock(const OdRxObject *pLT) const =0
virtual OdString name(const OdRxObject *obj) const =0
virtual bool isDefault(const OdRxObject *obj) const =0
ODRX_DECLARE_MEMBERS(OdDbBaseMaterialPE)
virtual OdDbStub * blockId(const OdRxObject *pSortents) const =0
ODRX_DECLARE_MEMBERS(OdDbBaseSortEntsPE)
ODRX_DECLARE_MEMBERS(OdDbBaseVisualStylePE)
virtual bool isInternal(const OdRxObject *obj) const =0
virtual OdString name(const OdRxObject *obj) const =0
virtual OdResult setStyleSheet(OdRxObject *pPlotSetObj, OdString styleSheet)=0
virtual OdResult setPrintScale(OdRxObject *pPlotSetObj, double numerator, double denominator)=0
virtual OdResult setPlotRotation(OdRxObject *pPlotSetObj, OdDbBaseLayoutPE::PlotRotation plotRotation)=0
virtual OdResult setPlotView(OdRxObject *pPlotSetObj, OdDbStub *plotViewId)=0
virtual OdResult setOrigin(OdRxObject *pPlotSetObj, const OdGePoint2d &origin)=0
virtual OdResult setPlotWindowArea(OdRxObject *pPlotSetObj, double xmin, double ymin, double xmax, double ymax)=0
virtual OdResult setMargins(OdRxObject *pPlotSetObj, double left, double Bottom, double right, double top)=0
virtual OdResult setPlotType(OdRxObject *pPlotSetObj, OdDbBaseLayoutPE::PlotType plotType)=0
virtual OdResult setPlotCfgName(OdRxObject *pPlotSetObj, const OdString &plotCfgName)=0
virtual OdResult setPlotPaperUnits(OdRxObject *pPlotSetObj, OdDbBaseLayoutPE::PlotPaperUnits units)=0
virtual OdResult setMediaName(OdRxObject *pPlotSetObj, OdString mediaName)=0
virtual OdResult setPlotLayoutFlags(OdRxObject *pPlotSetObj, OdInt16 flags)=0
virtual OdResult setPlotPaperSize(OdRxObject *pPlotSetObj, double paperWidth, double paperHeight)=0
ODRX_DECLARE_MEMBERS(OdDbSetBasePlotSettingsPE)
virtual OdResult setScaleFactor(OdRxObject *pPlotSetObj, double dScaleFactor)=0
virtual OdResult setStdScaleType(OdRxObject *pPlotSetObj, OdDbBaseLayoutPE::StdScaleType scaleType)=0
GLuint const GLchar * name
Definition: gles2_ext.h:265
GLuint GLsizei GLsizei * length
Definition: gles2_ext.h:274
GLfloat x
Definition: gles2_ext.h:314
GLfloat GLfloat y
Definition: gles2_ext.h:316