CFx SDK Documentation  2020SP3
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_
OdResult
OdResult
Definition: OdResult.h:29
OdDbBaseDatabasePE::getTextStyleById
virtual bool getTextStyleById(OdDbBaseDatabase *db, OdDbStub *idStyle, OdGiTextStyle &shapeInfo)=0
OdDbBaseDatabasePE::layers
virtual OdRxIteratorPtr layers(OdDbBaseDatabase *db) const =0
OdDbBaseVisualStylePE::name
virtual OdString name(const OdRxObject *obj) const =0
OdDbBaseDatabasePE::setupPalette
virtual void setupPalette(OdGsDevice *device, OdGiDefaultContext *giContext, OdDbStub *layoutId=0, ODCOLORREF palBg=ODRGBA(0, 0, 0, 0))=0
OdString
Definition: OdString.h:95
OdDbBaseLayoutPE::printLineweights
virtual bool printLineweights(const OdRxObject *)=0
NULL
#define NULL
Definition: GsProperties.h:177
OdGiLinetype
Definition: GiLinetype.h:89
OdDbBaseLayoutPE::getBottomMargin
virtual double getBottomMargin(const OdRxObject *)=0
OdRxObjectPtr
Definition: RxObject.h:345
OdDbBaseLayerPE
Definition: DbBaseDatabase.h:527
OdDbBaseDatabasePE::baseFormatter
virtual OdUnitsFormatter * baseFormatter(OdDbBaseDatabase *db)=0
OdDbBaseLayoutPE::isModelLayout
virtual bool isModelLayout(const OdRxObject *)=0
OdDbBaseDatabasePE::findLayoutByViewport
OdRxObjectPtr findLayoutByViewport(OdDbBaseDatabase *db, OdDbStub *pViewportId)
Definition: DbBaseDatabase.h:280
OdDbBaseLayoutPE::PlotRotation
PlotRotation
Definition: DbBaseDatabase.h:674
OdDbBaseDatabasePE::getLayout
virtual OdRxObjectPtr getLayout(OdDbBaseDatabase *pDb, const OdString &name)
Definition: DbBaseDatabase.h:268
OdDbBaseHatchPE::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdDbBaseHatchPE)
scale
scale
Definition: DimVarDefs.h:1684
name
GLuint const GLchar * name
Definition: gles2_ext.h:265
OdTimeStamp
Definition: OdTimeStamp.h:42
OdDbBaseHatchPE
Definition: DbBaseDatabase.h:1122
OdDbBaseDatabasePE::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdDbBaseDatabasePE)
OdDbBaseLongTransactionPEPtr
OdSmartPtr< OdDbBaseLongTransactionPE > OdDbBaseLongTransactionPEPtr
Definition: DbBaseDatabase.h:1115
OdDbBaseLayoutPE::getGeomExtents
virtual OdResult getGeomExtents(const OdRxObject *, OdGeExtents3d &ext)=0
OdDbBaseDatabasePE::appServices
virtual OdDbBaseHostAppServices * appServices(OdDbBaseDatabase *pDb) const =0
OdDbBaseDatabasePE::createTextIterator
virtual OdBaseTextIteratorPtr createTextIterator(OdDbBaseDatabase *db, const OdChar *textString, int length, bool raw, const OdGiTextStyle *pTextStyle) const =0
StringArray.h
OdDbBaseLongTransactionPE::newWorkSetIterator
virtual OdRxIteratorPtr newWorkSetIterator(const OdRxObject *pLT, bool incRemoved=false, bool incSecondary=false) const =0
OdRxObject
Definition: RxObject.h:564
OdDbBaseLayoutPE::getPaperSize
virtual void getPaperSize(const OdRxObject *, double &paperWidth, double &paperHeight) const =0
OdGsDCRect
Definition: GsDefs.h:111
kDefault
@ kDefault
Definition: BrEnums.h:102
OdDbBaseDatabasePE::getLineTypeById
virtual bool getLineTypeById(OdDbBaseDatabase *db, OdDbStub *pLTypeId, OdGiLinetype &LType)=0
OdDbBaseBlockRefPE::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdDbBaseBlockRefPE)
OdDbBaseSortEntsPE::blockId
virtual OdDbStub * blockId(const OdRxObject *pSortents) const =0
OdDbBaseBlockPE::xrefDatabase
virtual OdDbBaseDatabase * xrefDatabase(const OdRxObject *pBlock) const =0
OdGsDevice
Definition: Gs.h:1061
OdDbBaseDatabasePE::getNextViewForActiveLayout
virtual OdDbStub * getNextViewForActiveLayout(OdGiDefaultContext *pGiCtx, OdDbStub *)=0
OdDbBaseDatabasePE::getObject
virtual OdDbStub * getObject(OdDbBaseDatabase *db, OdUInt64 handle)=0
OdCodePageId
OdCodePageId
Definition: OdCodePage.h:31
OdDbBaseHatchPE::isReallyHatch
virtual bool isReallyHatch(const OdRxObject *pHatch) const =0
OdDbBaseSortEntsPEPtr
OdSmartPtr< OdDbBaseSortEntsPE > OdDbBaseSortEntsPEPtr
Definition: DbBaseDatabase.h:1060
OdDbBaseLayoutPE::getPlotPaperSize
virtual void getPlotPaperSize(const OdRxObject *, double &paperWidth, double &paperHeight)=0
OdDbBaseLayoutPE::showPlotStyles
virtual bool showPlotStyles(const OdRxObject *)=0
OdArray< OdString >
OdDbBaseLayoutPE::getApproxExtents
virtual bool getApproxExtents(const OdRxObject *, OdGePoint3d &extMin, OdGePoint3d &extMax) const =0
OdDbBaseDatabasePE::getOwner
virtual OdDbStub * getOwner(OdDbStub *id)
GeBoundBlock3d.h
GiDefaultContext.h
OdDbBaseHatchPE::isSolidFill
virtual bool isSolidFill(const OdRxObject *pHatch) const =0
OdDbBaseLayoutPE::getLeftMargin
virtual double getLeftMargin(const OdRxObject *)=0
OdDbBaseDatabasePE::getHandle
virtual OdDbHandle getHandle(OdDbStub *id)
x
GLfloat x
Definition: gles2_ext.h:314
OdDbBaseHatchPE::loopTypeAt
virtual OdInt32 loopTypeAt(const OdRxObject *pHatch, int loopIndex) const =0
OdDbBaseLayoutPE::paperName
virtual OdString paperName(const OdRxObject *)=0
RxObject.h
OdDbBaseLayerPE::setIsFrozen
virtual void setIsFrozen(OdRxObject *obj, bool frozen) const =0
OdUInt32
unsigned int OdUInt32
Definition: OdPlatformSettings.h:783
OdGeMatrix3d
Definition: GeMatrix3d.h:73
OdDbBaseLayerPE::isFrozen
virtual bool isFrozen(const OdRxObject *obj) const =0
OdDbBaseBlockRefPE
Definition: DbBaseDatabase.h:961
DbRootExport.h
OdDbBaseBlockPE
Definition: DbBaseDatabase.h:907
OdDbBaseDatabasePE::getCurrentLongTransation
virtual OdDbStub * getCurrentLongTransation(const OdDbBaseDatabase *pDb)=0
OdDbBaseDatabasePE::setCurrentLayout
virtual void setCurrentLayout(OdDbBaseDatabase *db, const OdString &name)=0
OdDbBaseLayerPE::isOff
virtual bool isOff(const OdRxObject *obj) const =0
OdDbBaseHatchPE::numLoops
virtual int numLoops(const OdRxObject *pHatch) const =0
OdDbBaseDatabasePE::zoomToExtents
virtual void zoomToExtents(const OdGsDCRect &outputRect, OdGsDevice *pDevice, OdDbBaseDatabase *db, OdGeBoundBlock3d &plotExtents, OdUInt32 extentsFlags=kZeroFlags, OdDbStub *objectId=NULL)=0
OdDbBaseDatabase
OdRxObject OdDbBaseDatabase
Definition: DbBaseDatabase.h:43
OdDbBaseLayoutPE::plotPaperUnits
virtual int plotPaperUnits(const OdRxObject *)=0
OdDbBaseDatabasePE::layouts
virtual OdRxIteratorPtr layouts(OdDbBaseDatabase *db) const =0
OdDbBaseDatabasePE::getFingerPrintGuid
virtual OdString getFingerPrintGuid(OdDbBaseDatabase *db)=0
OdDbBaseHostAppServices
Definition: DbBaseHostAppServices.h:85
OdDbBaseDatabasePE::getMeasurement
virtual int getMeasurement(OdDbBaseDatabase *db)=0
OdDbBaseDatabasePE::getFilename
virtual OdString getFilename(OdDbBaseDatabase *pDb) const =0
OdDbBaseDatabasePE::DatabaseUnloadReactor
Definition: DbBaseDatabase.h:478
OdDbBaseLayerPE::getLineType
virtual bool getLineType(OdRxObject *obj, OdGiLinetype &LType) const =0
OdGiTextStyle
Definition: GiTextStyle.h:52
OdDbBaseDatabasePE::getId
virtual OdDbStub * getId(const OdRxObject *obj) const =0
OdDbBaseLayoutPE::getRightMargin
virtual double getRightMargin(const OdRxObject *)=0
OdDbBaseLayoutPE
Definition: DbBaseDatabase.h:663
OdSmartPtr
Definition: SmartPtr.h:58
OdDbBaseMaterialPEPtr
OdSmartPtr< OdDbBaseMaterialPE > OdDbBaseMaterialPEPtr
Definition: DbBaseDatabase.h:1273
OdGiAnnoScaleSet
Definition: GiAnnoScaleSet.h:40
OdDbBaseLongTransactionPE::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdDbBaseLongTransactionPE)
OdGePoint3d
Definition: GePoint3d.h:55
OdDbBaseDatabasePE::getDatabase
virtual OdDbBaseDatabase * getDatabase(OdDbStub *id)
OdDbBaseLayoutPE::getPlotViewName
virtual OdString getPlotViewName(const OdRxObject *)=0
OdDbBaseDatabasePE::ExtentsFlags
ExtentsFlags
Definition: DbBaseDatabase.h:70
OdDbBaseLayoutPE::plotType
virtual int plotType(const OdRxObject *)=0
OdDbBaseDatabasePtr
OdRxObjectPtr OdDbBaseDatabasePtr
Definition: DbBaseDatabase.h:50
OdDbBaseLayoutPE::getBlockId
virtual OdDbStub * getBlockId(const OdRxObject *) const =0
OdInt32
int OdInt32
Definition: OdPlatformSettings.h:782
OdIfc::kOuter
@ kOuter
Definition: IfcAttributesEnum.h:729
OdDbBaseMaterialPE::name
virtual OdString name(const OdRxObject *obj) const =0
OdDbBaseHatchPE::hatchStyle
virtual HatchStyle hatchStyle(const OdRxObject *pHatch) const =0
OdDbBaseSortEntsPE
Definition: DbBaseDatabase.h:1043
y
GLfloat GLfloat y
Definition: gles2_ext.h:316
OdDbBaseSortEntsPE::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdDbBaseSortEntsPE)
OdDbBaseLayoutPE::getPlotWindowArea
virtual void getPlotWindowArea(const OdRxObject *, double &xmin, double &ymin, double &xmax, double &ymax)=0
OdDbBaseBlockPE::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdDbBaseBlockPE)
OdDbBaseHatchPE::HatchStyle
HatchStyle
Definition: DbBaseDatabase.h:1132
Gs.h
OdDbBaseBlockPEPtr
OdSmartPtr< OdDbBaseBlockPE > OdDbBaseBlockPEPtr
Definition: DbBaseDatabase.h:949
OdDbBaseLongTransactionPE::workSetHas
virtual bool workSetHas(const OdRxObject *pLT, OdDbStub *pId) const =0
OdDbBaseDatabasePE::loadPlotstyleTableForActiveLayout
virtual void loadPlotstyleTableForActiveLayout(OdGiDefaultContext *pDwgContext, OdDbBaseDatabase *db)=0
OdDbBaseLayoutPE::isOverallVPortErased
virtual bool isOverallVPortErased(const OdRxObject *)=0
OdDbBaseLayerPE::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdDbBaseLayerPE)
DbHandle.h
OdDbBaseBlockPE::getLayoutId
virtual OdDbStub * getLayoutId(const OdRxObject *pBlock) const =0
OdDbBaseVisualStylePEPtr
OdSmartPtr< OdDbBaseVisualStylePE > OdDbBaseVisualStylePEPtr
Definition: DbBaseDatabase.h:626
OdDbBaseDatabasePE::getModelBlockId
virtual OdDbStub * getModelBlockId(OdDbBaseDatabase *pDb)=0
OdDbBaseLongTransactionPE
Definition: DbBaseDatabase.h:1072
OdChar
wchar_t OdChar
Definition: OdPlatformSettings.h:745
OdDbBaseLayoutPE::name
virtual OdString name(const OdRxObject *)=0
OdDbBaseAnnotationScalePE
Definition: DbBaseDatabase.h:638
OdDbBaseAnnotationScalePE::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdDbBaseAnnotationScalePE)
OdDbBaseDatabasePE::removeDatabaseUnloadReactor
virtual void removeDatabaseUnloadReactor(OdDbBaseDatabase *pDb, OdRxObject *pReactor)=0
OdUnitsFormatter.h
OdDbBaseMaterialPE::isDefault
virtual bool isDefault(const OdRxObject *obj) const =0
OdDbBaseLayerPEPtr
OdSmartPtr< OdDbBaseLayerPE > OdDbBaseLayerPEPtr
Definition: DbBaseDatabase.h:588
OdDbBaseHatchPE::getLoopAt
virtual void getLoopAt(const OdRxObject *pHatch, int loopIndex, OdGePoint2dArray &vertices, OdGeDoubleArray &bulges) const =0
OdDbBaseDatabasePE::applyLayoutSettings
virtual void applyLayoutSettings(OdGsDCRect &clipBox, OdGsDevice *pDevice, OdDbBaseDatabase *db, OdUInt32 extentsFlags=kZeroFlags, OdUInt32 dpi=72)=0
length
GLuint GLsizei GLsizei * length
Definition: gles2_ext.h:274
OdDbBaseHatchPEPtr
OdSmartPtr< OdDbBaseHatchPE > OdDbBaseHatchPEPtr
Definition: DbBaseDatabase.h:1234
OdDbBaseDatabasePE::DatabaseUnloadReactor::~DatabaseUnloadReactor
virtual ~DatabaseUnloadReactor()
Definition: DbBaseDatabase.h:483
OdDbBaseLayoutPE::getTopMargin
virtual double getTopMargin(const OdRxObject *)=0
OdDbBaseLayoutPE::useStandardScale
virtual bool useStandardScale(const OdRxObject *)=0
OdDbBaseBlockPE::isBlockReferenceAdded
virtual bool isBlockReferenceAdded(OdRxObject *pBlock) const =0
OdDbBaseDatabasePE::getUpdateTime
virtual OdTimeStamp getUpdateTime(OdDbBaseDatabase *db)=0
OdDbBaseBlockRefPEPtr
OdSmartPtr< OdDbBaseBlockRefPE > OdDbBaseBlockRefPEPtr
Definition: DbBaseDatabase.h:1031
OdDbBaseHatchPE::isGradient
virtual bool isGradient(const OdRxObject *pHatch) const =0
OdDbBaseHatchPE::getLoopAt
virtual void getLoopAt(const OdRxObject *pHatch, int loopIndex, OdArray< OdGeCurve2d * > &edgePtrs) const =0
OdDbBaseDatabasePE::abortTransaction
virtual void abortTransaction(OdDbBaseDatabase *pDb)=0
OdDbBaseLayoutPEPtr
OdSmartPtr< OdDbBaseLayoutPE > OdDbBaseLayoutPEPtr
Definition: DbBaseDatabase.h:895
GiLinetype.h
OdDbBaseLayerPE::setIsOff
virtual void setIsOff(OdRxObject *obj, bool off) const =0
GePoint2dArray.h
OdDbBaseBlockRefPE::blockId
virtual OdDbStub * blockId(const OdRxObject *pBlockRef) const =0
OdDbBaseVisualStylePE
Definition: DbBaseDatabase.h:600
OdDbBaseBlockRefPE::newAttribIterator
virtual OdRxIteratorPtr newAttribIterator(const OdRxObject *pBlockRef, bool bSkipErased=true) const =0
OdDbBaseDatabasePE::setMultiThreadedRender
virtual void setMultiThreadedRender(OdDbBaseDatabase *pDb, bool bOn)=0
OdDbBaseAnnotationScalePEPtr
OdSmartPtr< OdDbBaseAnnotationScalePE > OdDbBaseAnnotationScalePEPtr
Definition: DbBaseDatabase.h:651
OdDbBaseDatabasePE::DatabaseUnloadReactor::goodbye
virtual void goodbye(const OdDbBaseDatabase *pDb)=0
OdDbBaseDatabasePE::addDatabaseUnloadReactor
virtual OdRxObjectPtr addDatabaseUnloadReactor(OdDbBaseDatabase *pDb, OdRxObject *pPrevReactor, DatabaseUnloadReactor *pReactorRedirect)=0
OdTimeStamp.h
OdDbBaseDatabasePE::createGiContext
virtual OdGiDefaultContextPtr createGiContext(OdDbBaseDatabase *pDb) const =0
OdGeBoundBlock3d
Definition: GeBoundBlock3d.h:43
OdDbBaseLayoutPE::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdDbBaseLayoutPE)
OdDbBaseDatabasePE::getUnits
virtual int getUnits(OdDbBaseDatabase *db)=0
OdDbBaseMaterialPE::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdDbBaseMaterialPE)
OdDbBaseLayoutPE::plotRotation
virtual PlotRotation plotRotation(const OdRxObject *)=0
OdDbBaseDatabasePE::getFirstLayoutId
virtual OdDbStub * getFirstLayoutId(OdDbBaseDatabase *db)=0
OdDbBaseLayoutPE::getCustomPrintScale
virtual void getCustomPrintScale(const OdRxObject *, double &numerator, double &denominator)=0
OdDbBaseLayoutPE::scalePSLinetypes
virtual bool scalePSLinetypes(const OdRxObject *) const =0
OdDbBaseMaterialPE
Definition: DbBaseDatabase.h:1247
OdDbBaseDatabasePE::setupActiveLayoutViews
virtual OdGsDevicePtr setupActiveLayoutViews(OdGsDevice *pDevice, OdGiDefaultContext *pGiCtx)=0
OdGiDefaultContext
Definition: GiDefaultContext.h:40
GeCurve2d.h
OdGeExtents3d
Definition: GeExtents3d.h:45
OdDbHandle
Definition: DbHandle.h:67
DBROOT_EXPORT
#define DBROOT_EXPORT
Definition: DbRootExport.h:39
OdDbBaseBlockRefPE::isBasic
virtual bool isBasic(const OdRxObject *pBlockRef) const =0
OdDbBaseAnnotationScalePE::scaleRatio
virtual bool scaleRatio(const OdRxObject *obj, double *scale) const =0
ODRGBA
#define ODRGBA(r, g, b, a)
Definition: OdPlatform.h:885
ODCOLORREF
#define ODCOLORREF
Definition: OdPlatform.h:883
OdDbBaseLayoutPE::getPlotOrigin
virtual void getPlotOrigin(const OdRxObject *, double &x, double &y)=0
OdDbBaseDatabasePEPtr
OdSmartPtr< OdDbBaseDatabasePE > OdDbBaseDatabasePEPtr
Definition: DbBaseDatabase.h:515
OdDbBaseDatabasePE
Definition: DbBaseDatabase.h:60
OdDbBaseDatabasePE::getVersionGuid
virtual OdString getVersionGuid(OdDbBaseDatabase *db)=0
OdDbBaseDatabasePE::setupLayoutView
virtual OdGsDevicePtr setupLayoutView(OdGsDevice *pDevice, OdGiDefaultContext *pGiCtx, OdDbStub *layoutId)=0
OdDbBaseDatabasePE::isAProxy
virtual bool isAProxy(OdRxObject *pDrw)=0
OdDbBaseBlockRefPE::isAttribute
virtual bool isAttribute(const OdRxObject *pAttrib) const =0
OdDbBaseLongTransactionPE::getDatabase
virtual OdDbBaseDatabase * getDatabase(const OdRxObject *pLT) const =0
OdDbBaseDatabasePE::putNamedViewInfo
virtual void putNamedViewInfo(OdDbBaseDatabase *pDb, OdDbStub *layoutId, OdStringArray &names, OdGePoint3dArray &points)=0
OdDbBaseDatabasePE::getCreationTime
virtual OdTimeStamp getCreationTime(OdDbBaseDatabase *db)=0
OdDbBaseDatabasePE::getFirstLayout
OdRxObjectPtr getFirstLayout(OdDbBaseDatabase *db)
Definition: DbBaseDatabase.h:307
OdDbBaseLongTransactionPE::destinationBlock
virtual OdDbStub * destinationBlock(const OdRxObject *pLT) const =0
OdDbBaseDatabasePE::xrefBlockId
virtual OdDbStub * xrefBlockId(OdDbBaseDatabase *pDb)=0
OdDbBaseVisualStylePE::isInternal
virtual bool isInternal(const OdRxObject *obj) const =0
OdDbBaseDatabasePE::currentLayoutId
virtual OdDbStub * currentLayoutId(OdDbBaseDatabase *pDb)=0
OdDbBaseDatabasePE::visualStyles
virtual OdRxIteratorPtr visualStyles(OdDbBaseDatabase *db) const =0
OdDbBaseDatabasePE::getCodePage
virtual OdCodePageId getCodePage(OdDbBaseDatabase *db)=0
OdDbBaseDatabasePE::getAnnoScaleSet
virtual bool getAnnoScaleSet(OdDbStub *drawableId, OdGiAnnoScaleSet &res)=0
OdUnitsFormatter
Definition: OdUnitsFormatter.h:42
OdDbBaseDatabasePE::startTransaction
virtual void startTransaction(OdDbBaseDatabase *pDb)=0
OdDbBaseLayoutPE::getStdScale
virtual void getStdScale(const OdRxObject *, double &scale)=0
OdDbBaseDatabasePE::getPaperBlockId
virtual OdDbStub * getPaperBlockId(OdDbBaseDatabase *pDb)=0
OdDbBaseDatabasePE::openObject
virtual OdRxObjectPtr openObject(OdDbStub *pId)=0
OdDbBaseHatchPE::HatchLoopType
HatchLoopType
Definition: DbBaseDatabase.h:1142
OdDbBaseDatabasePE::currentLayout
OdRxObjectPtr currentLayout(OdDbBaseDatabase *pDb)
Definition: DbBaseDatabase.h:239
OdDbBaseDatabasePE::getVisualStyleId
virtual OdDbStub * getVisualStyleId(OdDbBaseDatabase *db, const OdString &name) const =0
OdDbBaseVisualStylePE::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdDbBaseVisualStylePE)
OdFont.h
OdDbBaseDatabasePE::findLayoutIdByViewport
virtual OdDbStub * findLayoutIdByViewport(OdDbBaseDatabase *db, OdDbStub *pViewportId)=0
OdDbBaseLayerPE::name
virtual OdString name(const OdRxObject *obj) const =0
OdDbBaseDatabasePE::findLayoutNamed
virtual OdDbStub * findLayoutNamed(OdDbBaseDatabase *db, const OdString &name)=0
OdDbBaseBlockRefPE::isMInsert
virtual bool isMInsert(const OdRxObject *pBlockRef) const =0
OdDbBaseBlockRefPE::isGeneric
virtual bool isGeneric(const OdRxObject *pBlockRef) const =0
OdDbBaseBlockRefPE::blockTransform
virtual OdGeMatrix3d blockTransform(const OdRxObject *pBlockRef) const =0
OdUInt64
Definition: Int64.h:137
GeDoubleArray.h
OdDbBaseBlockPE::isFromExternalReference
virtual bool isFromExternalReference(const OdRxObject *pBlock) const =0