CFx SDK Documentation  2023 SP0
DbBaseDatabase.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 #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 
43 class OdGiAnnoScaleSet;
44 
46 
51 
60 {
61 public:
62  //DOM-IGNORE-BEGIN
64  //DOM-IGNORE-END
65 
70  {
71  kZeroFlags = 0,
72  kExactExtents = 1,
73  kUseViewExtents = 2
74  ,kClipDisabled = 0x10000000 //FELIX_CHANGE //Support of unclipped PDF export
75  };
76 
81 
85  virtual OdString getFilename(OdDbBaseDatabase* pDb) const = 0;
86 
92  virtual void startTransaction(OdDbBaseDatabase* pDb) = 0;
93 
99  virtual void abortTransaction(OdDbBaseDatabase* pDb) = 0;
100 
107 
116  virtual void putNamedViewInfo(OdDbBaseDatabase* pDb, OdDbStub* layoutId, OdStringArray& names, OdGePoint3dArray& points) = 0;
117 
130  virtual OdBaseTextIteratorPtr createTextIterator(OdDbBaseDatabase* db, const OdChar* textString, int length, bool raw, const OdGiTextStyle* pTextStyle) const = 0;
131 
141 
151  virtual OdGsDevicePtr setupLayoutView(OdGsDevice* pDevice, OdGiDefaultContext* pGiCtx, OdDbStub* layoutId) = 0;
152 
164  virtual void setupPalette(OdGsDevice* device, OdGiDefaultContext* giContext, OdDbStub* layoutId = 0, ODCOLORREF palBg = ODRGBA(0,0,0,0)) = 0;
165 
173  virtual OdDbStub* getNextViewForActiveLayout(OdGiDefaultContext* pGiCtx, OdDbStub* /*objectId*/) = 0;
174 
184  virtual void applyLayoutSettings(OdGsDCRect& clipBox, OdGsDevice* pDevice, OdDbBaseDatabase* db, OdUInt32 extentsFlags = kZeroFlags, OdUInt32 dpi = 72) = 0;
185 
198  virtual void zoomToExtents(const OdGsDCRect& outputRect, OdGsDevice* pDevice, OdDbBaseDatabase* db, OdGeBoundBlock3d& plotExtents,
199  OdUInt32 extentsFlags = kZeroFlags, OdDbStub* objectId = NULL) = 0;
200 
208 
214  virtual OdRxIteratorPtr layers(OdDbBaseDatabase* db) const = 0;
215 
222 
230  virtual OdDbStub* getVisualStyleId(OdDbBaseDatabase* db, const OdString& name) const = 0;
231 
240  {
241  return openObject(currentLayoutId(pDb));
242  }
243 
250  virtual void setCurrentLayout(OdDbBaseDatabase* db, const OdString& name) = 0;
251 
259  virtual OdRxIteratorPtr layouts(OdDbBaseDatabase* db) const = 0;
260 
269  {
270  return openObject(findLayoutNamed(pDb, name));
271  }
272 
280  inline OdRxObjectPtr findLayoutByViewport(OdDbBaseDatabase* db, OdDbStub* pViewportId)
281  {
282  return openObject(findLayoutIdByViewport(db, pViewportId));
283  }
284 
292  virtual OdDbStub* findLayoutIdByViewport(OdDbBaseDatabase* db, OdDbStub* pViewportId) = 0;
293 
301  virtual OdDbStub* findLayoutNamed(OdDbBaseDatabase* db, const OdString& name) = 0; //DOM-IGNORE-BEGIN// dgn dwf export//DOM-IGNORE-END
302 
308  {
309  return openObject(getFirstLayoutId(db));
310  }
311 
316  virtual OdDbStub* getFirstLayoutId(OdDbBaseDatabase* db) = 0; //DOM-IGNORE-BEGIN// dgn dwf export//DOM-IGNORE-END
317 
322  virtual OdTimeStamp getCreationTime(OdDbBaseDatabase* db) = 0; //DOM-IGNORE-BEGIN// dgn dwf export//DOM-IGNORE-END
323 
328  virtual OdTimeStamp getUpdateTime(OdDbBaseDatabase* db) = 0; //DOM-IGNORE-BEGIN// dgn dwf export//DOM-IGNORE-END
329 
335  virtual OdString getFingerPrintGuid(OdDbBaseDatabase* db) = 0; //DOM-IGNORE-BEGIN// dgn dwf export//DOM-IGNORE-END
336 
342  virtual OdString getVersionGuid(OdDbBaseDatabase* db) = 0; //DOM-IGNORE-BEGIN// dgn dwf export//DOM-IGNORE-END
343 
350  virtual int getUnits(OdDbBaseDatabase* db) = 0; //DOM-IGNORE-BEGIN// dgn dwf export//DOM-IGNORE-END
351 
356  virtual OdUnitsFormatter* baseFormatter(OdDbBaseDatabase* db) = 0; //DOM-IGNORE-BEGIN// dgn dwg common formatter base class//DOM-IGNORE-END
357 
364  virtual int getMeasurement(OdDbBaseDatabase* db) = 0;
365 
374  virtual bool getLineTypeById( OdDbBaseDatabase* db, OdDbStub* pLTypeId, OdGiLinetype& LType ) = 0;
375 
384  virtual bool getTextStyleById( OdDbBaseDatabase* db, OdDbStub* idStyle, OdGiTextStyle& shapeInfo ) = 0;
385 
390  virtual OdDbStub* getId(const OdRxObject* obj) const = 0;
391 
397  virtual OdDbStub* getObject(OdDbBaseDatabase* db, OdUInt64 handle) = 0;
398 
403  virtual OdDbHandle getHandle(OdDbStub* id);
404 
409  virtual OdDbBaseDatabase* getDatabase(OdDbStub *id);
410 
415  virtual OdDbStub* getOwner(OdDbStub *id);
416 
422 
427  virtual OdDbStub* getModelBlockId(OdDbBaseDatabase* pDb) = 0;
428 
433  virtual OdDbStub* getPaperBlockId(OdDbBaseDatabase* pDb) = 0;
434 
439  virtual OdDbStub* currentLayoutId(OdDbBaseDatabase* pDb) = 0;
440 
445  virtual OdDbStub* xrefBlockId(OdDbBaseDatabase* pDb) = 0;
446 
452  virtual void setMultiThreadedRender(OdDbBaseDatabase* pDb, bool bOn) = 0;
453 
458  virtual bool isAProxy(OdRxObject* pDrw) = 0;
459 
464  virtual OdRxObjectPtr openObject(OdDbStub* pId) = 0;
465 
466  virtual bool getAnnoScaleSet(OdDbStub* drawableId, OdGiAnnoScaleSet& res) = 0;
467 
472  virtual OdDbStub *getCurrentLongTransation(const OdDbBaseDatabase *pDb) = 0;
473 
478  {
479  public:
484 
490  virtual void goodbye(const OdDbBaseDatabase* pDb) = 0;
491  };
492 
501  virtual OdRxObjectPtr addDatabaseUnloadReactor(OdDbBaseDatabase* pDb, OdRxObject *pPrevReactor, DatabaseUnloadReactor *pReactorRedirect) = 0;
502 
509  virtual void removeDatabaseUnloadReactor(OdDbBaseDatabase* pDb, OdRxObject *pReactor) = 0;
510 };
511 
516 
517 
527 {
528 public:
529  //DOM-IGNORE-BEGIN
531  //DOM-IGNORE-END
532 
538  virtual OdString name(const OdRxObject* obj) const = 0;
539 
547  virtual bool isOff(const OdRxObject* obj) const = 0;
548 
556  virtual bool isFrozen(const OdRxObject* obj) const = 0;
557 
564  virtual void setIsOff(OdRxObject* obj, bool off) const = 0;
565 
572  virtual void setIsFrozen(OdRxObject* obj, bool frozen) const = 0;
573 
582  virtual bool getLineType(OdRxObject* obj, OdGiLinetype& LType) const = 0;
583 };
584 
589 
590 
600 {
601 public:
602  //DOM-IGNORE-BEGIN
604  //DOM-IGNORE-BEGIN
605 
611  virtual OdString name(const OdRxObject* obj) const = 0;
612 
620  virtual bool isInternal(const OdRxObject* obj) const = 0;
621 };
622 
627 
638 {
639 public:
641 
648  virtual bool scaleRatio(const OdRxObject* obj, double* scale) const = 0;
649 };
650 
652 
653 
663 {
664 public:
665 
666  //DOM-IGNORE-BEGIN
668  //DOM-IGNORE-END
669 
674  {
675  k0degrees = 0,
676  k90degrees = 1,
677  k180degrees = 2,
678  k270degrees = 3
679  };
680 
686  virtual OdString name(const OdRxObject*) = 0;
687 
695  virtual bool isModelLayout(const OdRxObject*) = 0;
696 
704  virtual bool printLineweights(const OdRxObject*) = 0;
705 
713  virtual bool showPlotStyles(const OdRxObject*) = 0;
714 
720  virtual OdString paperName(const OdRxObject*) = 0;
721 
729  virtual void getPaperSize(const OdRxObject*, double& paperWidth, double& paperHeight) const = 0;
730 
736  virtual PlotRotation plotRotation(const OdRxObject*) = 0;
737 
743  virtual double getTopMargin(const OdRxObject*) = 0;
744 
750  virtual double getRightMargin(const OdRxObject*) = 0;
751 
757  virtual double getBottomMargin(const OdRxObject*) = 0;
758 
764  virtual double getLeftMargin(const OdRxObject*) = 0;
765 
773  virtual bool isOverallVPortErased(const OdRxObject*) = 0;
774 
782 
783 
784  //DOM-IGNORE-BEGIN
785  // methods inherited by OdDbLayoutImpl class // dgn dwf export
786  //DOM-IGNORE-END
787 
795  virtual bool useStandardScale(const OdRxObject*) = 0;
796 
803  virtual void getStdScale(const OdRxObject*, double& scale) = 0;
804 
812  virtual void getCustomPrintScale(const OdRxObject*, double& numerator, double& denominator) = 0;
813 
819  virtual int plotType(const OdRxObject*) = 0;
820 
826  virtual OdString getPlotViewName(const OdRxObject*) = 0;
827 
837  virtual void getPlotWindowArea(const OdRxObject*, double& xmin, double& ymin, double& xmax, double& ymax) = 0;
838 
846  virtual void getPlotOrigin(const OdRxObject*, double& x, double& y) = 0;
847 
855  virtual void getPlotPaperSize(const OdRxObject*, double& paperWidth, double& paperHeight) = 0;
856 
862  virtual int plotPaperUnits(const OdRxObject*) = 0;
863 
864  //DOM-IGNORE-BEGIN
865  // for Gs
866  //DOM-IGNORE-END
867 
873  virtual OdDbStub* getBlockId(const OdRxObject*) const = 0;
874 
880  virtual bool scalePSLinetypes(const OdRxObject*) const = 0;
881 
889  virtual bool getApproxExtents(const OdRxObject*, OdGePoint3d& extMin, OdGePoint3d& extMax) const = 0;
890 };
891 
896 
897 
907 {
908 public:
909  //DOM-IGNORE-BEGIN
911  //DOM-IGNORE-END
912 
920  virtual bool isBlockReferenceAdded(OdRxObject *pBlock) const = 0;
921 
929  virtual bool isFromExternalReference(const OdRxObject *pBlock) const = 0;
930 
936  virtual OdDbBaseDatabase *xrefDatabase(const OdRxObject *pBlock) const = 0;
937 
943  virtual OdDbStub *getLayoutId(const OdRxObject *pBlock) const = 0;
944 };
945 
950 
951 
961 {
962 public:
963  //DOM-IGNORE-BEGIN
965  //DOM-IGNORE-END
966 
972  virtual OdDbStub *blockId(const OdRxObject *pBlockRef) const = 0;
973 
979  virtual OdGeMatrix3d blockTransform(const OdRxObject *pBlockRef) const = 0;
980 
987  virtual OdRxIteratorPtr newAttribIterator(const OdRxObject *pBlockRef, bool bSkipErased = true) const = 0;
988 
994  virtual bool isAttribute(const OdRxObject *pAttrib) const = 0;
995 
1007  virtual bool isGeneric(const OdRxObject *pBlockRef) const = 0;
1008 
1016  virtual bool isMInsert(const OdRxObject *pBlockRef) const = 0;
1017 
1025  virtual bool isBasic(const OdRxObject *pBlockRef) const = 0;
1026 };
1027 
1032 
1033 
1043 {
1044 public:
1045  //DOM-IGNORE-BEGIN
1047  //DOM-IGNORE-END
1048 
1054  virtual OdDbStub *blockId(const OdRxObject *pSortents) const = 0;
1055 };
1056 
1061 
1062 
1072 {
1073 public:
1074  //DOM-IGNORE-BEGIN
1076  //DOM-IGNORE-END
1077 
1083  virtual OdDbStub *destinationBlock(const OdRxObject *pLT) const = 0;
1084 
1090  virtual OdDbBaseDatabase *getDatabase(const OdRxObject *pLT) const = 0;
1091 
1100  virtual bool workSetHas(const OdRxObject *pLT, OdDbStub *pId) const = 0;
1101 
1109  virtual OdRxIteratorPtr newWorkSetIterator(const OdRxObject *pLT, bool incRemoved = false, bool incSecondary = false) const = 0;
1110 };
1111 
1116 
1122 {
1123 public:
1124  //DOM-IGNORE-BEGIN
1126  //DOM-IGNORE-END
1127 
1132  {
1133  kNormal = 0,
1134  kOuter = 1,
1135  kIgnore = 2
1136  };
1137 
1142  {
1143  kDefault = 0,
1144  kExternal = 1,
1145  kPolyline = 2,
1146  kDerived = 4,
1147  kTextbox = 8,
1148  kOutermost = 0x10,
1149  kNotClosed = 0x20,
1150  kSelfIntersecting = 0x40,
1151  kTextIsland = 0x80,
1152  kDuplicate = 0x100,
1153  kIsAnnotative = 0x200,
1154  kDoesNotSupportScale = 0x400,
1155  kForceAnnoAllVisible = 0x800,
1156  kOrientToPaper = 0x1000,
1157  kIsAnnotativeBlock = 0x2000
1158  };
1159 
1165  virtual int numLoops(const OdRxObject* pHatch) const = 0;
1166 
1173  virtual OdInt32 loopTypeAt(const OdRxObject* pHatch, int loopIndex) const = 0;
1174 
1182  virtual void getLoopAt(const OdRxObject* pHatch, int loopIndex, OdArray<OdGeCurve2d*>& edgePtrs) const = 0;
1183 
1191  virtual void getLoopAt(const OdRxObject* pHatch, int loopIndex, OdGePoint2dArray& vertices, OdGeDoubleArray& bulges) const = 0;
1192 
1198  virtual HatchStyle hatchStyle(const OdRxObject* pHatch) const = 0;
1199 
1207  virtual bool isGradient(const OdRxObject* pHatch) const = 0;
1208 
1216  virtual bool isSolidFill(const OdRxObject* pHatch) const = 0;
1217 
1228  virtual bool isReallyHatch(const OdRxObject* pHatch) const = 0;
1229 };
1230 
1235 
1236 
1237 
1247 {
1248 public:
1249  //DOM-IGNORE-BEGIN
1251  //DOM-IGNORE-BEGIN
1252 
1258  virtual OdString name(const OdRxObject* obj) const = 0;
1259 
1267  virtual bool isDefault(const OdRxObject* obj) const = 0;
1268 };
1269 
1274 
1275 #endif // _ODDB_BASEDATABASE_INCLUDED_
@ kDefault
Definition: BrEnums.h:102
OdSmartPtr< OdDbBaseDatabasePE > OdDbBaseDatabasePEPtr
OdSmartPtr< OdDbBaseMaterialPE > OdDbBaseMaterialPEPtr
OdRxObjectPtr OdDbBaseDatabasePtr
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
#define NULL
Definition: GsProperties.h:177
OdCodePageId
Definition: OdCodePage.h:31
#define ODCOLORREF
Definition: OdPlatform.h:883
#define ODRGBA(r, g, b, a)
Definition: OdPlatform.h:885
unsigned int OdUInt32
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 OdDbStub * getLayoutId(const OdRxObject *pBlock) const =0
virtual bool isBlockReferenceAdded(OdRxObject *pBlock) const =0
virtual bool isFromExternalReference(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
ODRX_DECLARE_MEMBERS(OdDbBaseBlockRefPE)
virtual bool isGeneric(const OdRxObject *pBlockRef) const =0
virtual bool isMInsert(const OdRxObject *pBlockRef) const =0
virtual OdDbStub * blockId(const OdRxObject *pBlockRef) const =0
virtual void goodbye(const OdDbBaseDatabase *pDb)=0
virtual OdDbStub * getFirstLayoutId(OdDbBaseDatabase *db)=0
virtual bool getTextStyleById(OdDbBaseDatabase *db, OdDbStub *idStyle, OdGiTextStyle &shapeInfo)=0
virtual OdDbStub * getVisualStyleId(OdDbBaseDatabase *db, const OdString &name) const =0
virtual OdDbStub * getId(const OdRxObject *obj) const =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 OdGsDevicePtr setupActiveLayoutViews(OdGsDevice *pDevice, OdGiDefaultContext *pGiCtx)=0
virtual OdDbStub * getObject(OdDbBaseDatabase *db, OdUInt64 handle)=0
virtual void applyLayoutSettings(OdGsDCRect &clipBox, OdGsDevice *pDevice, OdDbBaseDatabase *db, OdUInt32 extentsFlags=kZeroFlags, OdUInt32 dpi=72)=0
virtual OdDbStub * getModelBlockId(OdDbBaseDatabase *pDb)=0
virtual OdDbStub * getOwner(OdDbStub *id)
virtual OdRxIteratorPtr layers(OdDbBaseDatabase *db) const =0
virtual bool getAnnoScaleSet(OdDbStub *drawableId, OdGiAnnoScaleSet &res)=0
virtual OdRxObjectPtr getLayout(OdDbBaseDatabase *pDb, const OdString &name)
virtual int getMeasurement(OdDbBaseDatabase *db)=0
virtual void setMultiThreadedRender(OdDbBaseDatabase *pDb, bool bOn)=0
virtual OdDbStub * findLayoutIdByViewport(OdDbBaseDatabase *db, OdDbStub *pViewportId)=0
virtual OdRxObjectPtr addDatabaseUnloadReactor(OdDbBaseDatabase *pDb, OdRxObject *pPrevReactor, DatabaseUnloadReactor *pReactorRedirect)=0
virtual OdDbStub * xrefBlockId(OdDbBaseDatabase *pDb)=0
virtual void setCurrentLayout(OdDbBaseDatabase *db, const OdString &name)=0
virtual OdDbBaseDatabase * getDatabase(OdDbStub *id)
virtual void setupPalette(OdGsDevice *device, OdGiDefaultContext *giContext, OdDbStub *layoutId=0, ODCOLORREF palBg=ODRGBA(0, 0, 0, 0))=0
virtual OdDbStub * currentLayoutId(OdDbBaseDatabase *pDb)=0
virtual OdGiDefaultContextPtr createGiContext(OdDbBaseDatabase *pDb) const =0
virtual void removeDatabaseUnloadReactor(OdDbBaseDatabase *pDb, OdRxObject *pReactor)=0
virtual OdDbBaseHostAppServices * appServices(OdDbBaseDatabase *pDb) const =0
OdRxObjectPtr currentLayout(OdDbBaseDatabase *pDb)
virtual OdRxIteratorPtr layouts(OdDbBaseDatabase *db) const =0
virtual OdDbStub * getNextViewForActiveLayout(OdGiDefaultContext *pGiCtx, OdDbStub *)=0
virtual OdTimeStamp getUpdateTime(OdDbBaseDatabase *db)=0
virtual OdGsDevicePtr setupLayoutView(OdGsDevice *pDevice, OdGiDefaultContext *pGiCtx, OdDbStub *layoutId)=0
virtual OdUnitsFormatter * baseFormatter(OdDbBaseDatabase *db)=0
virtual OdString getFingerPrintGuid(OdDbBaseDatabase *db)=0
ODRX_DECLARE_MEMBERS(OdDbBaseDatabasePE)
virtual bool getLineTypeById(OdDbBaseDatabase *db, OdDbStub *pLTypeId, OdGiLinetype &LType)=0
virtual bool isAProxy(OdRxObject *pDrw)=0
virtual OdBaseTextIteratorPtr createTextIterator(OdDbBaseDatabase *db, const OdChar *textString, int length, bool raw, const OdGiTextStyle *pTextStyle) const =0
virtual OdDbStub * getCurrentLongTransation(const OdDbBaseDatabase *pDb)=0
virtual void startTransaction(OdDbBaseDatabase *pDb)=0
virtual OdDbStub * getPaperBlockId(OdDbBaseDatabase *pDb)=0
virtual OdDbStub * findLayoutNamed(OdDbBaseDatabase *db, const OdString &name)=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 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 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 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 bool isModelLayout(const OdRxObject *)=0
virtual OdResult getGeomExtents(const OdRxObject *, OdGeExtents3d &ext)=0
virtual OdString getPlotViewName(const OdRxObject *)=0
virtual OdDbStub * getBlockId(const OdRxObject *) const =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 OdDbStub * destinationBlock(const OdRxObject *pLT) const =0
virtual OdRxIteratorPtr newWorkSetIterator(const OdRxObject *pLT, bool incRemoved=false, bool incSecondary=false) const =0
virtual OdString name(const OdRxObject *obj) const =0
virtual bool isDefault(const OdRxObject *obj) const =0
ODRX_DECLARE_MEMBERS(OdDbBaseMaterialPE)
ODRX_DECLARE_MEMBERS(OdDbBaseSortEntsPE)
virtual OdDbStub * blockId(const OdRxObject *pSortents) const =0
ODRX_DECLARE_MEMBERS(OdDbBaseVisualStylePE)
virtual bool isInternal(const OdRxObject *obj) const =0
virtual OdString name(const OdRxObject *obj) const =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