CFx SDK Documentation  2023 SP0
DbObjectContextData.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 _DBOBJECTCONTEXTDATA_H_INCLUDED_
25 #define _DBOBJECTCONTEXTDATA_H_INCLUDED_
26 
27 #include "DbObject.h"
28 #include "DbHatch.h"
29 #include "DbMText.h"
30 
31 class OdDbObjectContext;
32 
48 {
49 public:
52 
53  /*
54  virtual OdResult dwgInContext(OdDbDwgFiler*,OdDbObjectContext* &);
55  virtual void dwgOutContext(OdDbDwgFiler*) const;
56 */
58  virtual void dwgOutContextData(OdDbDwgFiler*) const;
59  virtual const OdDbObjectContext* context() const;
60  virtual bool matchesContext(const OdDbObjectContext&) const;
61  virtual void setContext(const OdDbObjectContext&);
62  virtual void setContextToNull();
63 
65  bool isDefaultContextData() const;
66  bool isModified() const;
68  void setModified(bool);
69  void setIsDefault(bool b);
70 
71  virtual OdResult dwgInFields(OdDbDwgFiler* pFiler);
72  virtual void dwgOutFields(OdDbDwgFiler* pFiler) const;
73  virtual OdResult dxfInFields(OdDbDxfFiler* pFiler);
74  virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
75 };
76 
78 
91 {
92 public:
95 
96  virtual const OdDbObjectContext* context() const;
97  virtual void setContext(const OdDbObjectContext&);
98  /*
99  virtual OdResult dwgInContext(OdDbDwgFiler*,OdDbObjectContext*&);
100  virtual OdResult dwgOutContext(OdDbDwgFiler*) const;
101  virtual bool matchesContext(const OdDbObjectContext&) const;
102  virtual void setContextToNull();
103 */
104  virtual OdResult getScale(double&) const;
105 
107  virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
108 };
109 
111 
125 
129 {
130 public:
133  /*
134  bool zeroWidth(double tol = 1e-10) const;
135  double rotation(const OdGeVector3d&) const;
136 */
139  double actualHeight() const;
140  double actualWidth() const;
141  double definedHeight() const;
142  double definedWidth() const;
146 
149  double columnGutter() const;
150  double columnHeight(OdInt32) const;
151  double columnWidth() const;
152  bool columnAutoHeight() const;
153  bool columnFlowReversed() const;
154 
155  void setLocation(const OdGePoint3d&);
157  void setActualHeight(double);
158  void setActualWidth(double);
159  void setDefinedHeight(double);
160  void setDefinedWidth(double);
162  //void setAttachmentMovingLocation(OdDbMText::AttachmentPoint, const OdGeVector3d&, double);
165 
170  void setColumnGutter(double);
171  void setColumnHeight(OdInt32,double);
172  void setColumnWidth(double);
173 /*
174  void chgdirXattach();
175  void chgYattach();
176  void getCorners(OdGePoint3dArray&, const OdGeVector3d&, bool, double) const;
177  void setDirFromAngle(double, const OdGeVector3d&);
178  void xlateLocation(const OdGeVector3d&);
179 */
181  virtual void copyFrom(const OdRxObject* pSource);
183  virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
184 };
185 
198 {
199 public:
203  //virtual void audit(OdDbAuditInfo *,OdDbText *,OdInt32 &,bool &);
205  virtual OdGePoint2d positionInEcs() const;
206  virtual double rotation() const;
207  virtual void setAlignmentPointInEcs(const OdGePoint2d&);
209  virtual void setPositionInEcs(const OdGePoint2d&);
210  virtual void setRotation(double);
211 
212  //static OdDbTextObjectContextData* getTextAnnoScaleDefaultContextData(const OdDbText*);
213 
214  virtual void copyFrom(const OdRxObject *);
216  virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
217 };
218 
220 
233 {
234 public:
240  virtual void copyFrom(const OdRxObject *);
242  virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
243 };
244 
246 
259 {
260 public:
263 
264  virtual OdGePoint3d positionInEcs() const;
265  virtual double rotation() const;
266  virtual OdGeScale3d scaleFactors() const;
267  virtual void setPositionInEcs(const OdGePoint3d&);
268  virtual void setRotation(double);
269  virtual void setScaleFactors(const OdGeScale3d&);
270  //static OdDbBlkRefObjectContextData* getBlkAnnoScaleDefaultContextData(const OdDbBlockReference *);
271 
272  //virtual void audit(OdDbAuditInfo *,OdDbBlockReference *,OdInt32 &,bool &);
273  virtual void copyFrom(const OdRxObject *);
275  virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
276 };
277 
279 
292 {
293 public:
296 
297  virtual OdDbObjectId blockIndex() const;
301 
303  {
304  eDimtofl = 1,
305  eDimsoxd = 2,
306  eDimatfit = 4,
307  eDimtix = 8,
308  eDimtmove = 16
309  };
310  virtual bool hasOverride(OverrideCode) const;
311  virtual void setOverride(OverrideCode,bool);
312 
313  // dimvar overrides
314  virtual OdInt16 dimatfit() const;
315  virtual bool dimsoxd() const;
316  virtual bool dimtix() const;
317  virtual OdInt16 dimtmove() const;
318  virtual bool dimtofl() const;
319 
320  virtual void setDimatfit(OdInt16);
321  virtual void setDimsoxd(bool);
322  virtual void setDimtix(bool);
323  virtual void setDimtmove(OdInt16);
324  virtual void setDimtofl(bool);
325 
326  virtual bool defTextLocation() const;
327  virtual OdGePoint2d textLocation() const;
328  virtual double textRotation() const;
329  virtual bool getArrowFirstIsFlipped() const;
330  virtual bool getArrowSecondIsFlipped() const;
331 
332  virtual void setDefTextLocation(bool);
333  virtual void setTextLocation(const OdGePoint2d& /*,bool */);
334  virtual void setTextRotation(double);
335  virtual void setArrowFirstIsFlipped(bool);
336  virtual void setArrowSecondIsFlipped(bool);
337 
338  // virtual double calcZeroDimScale(OdDbDatabase *);
339  // OdResult createOrClearBlock(OdDbDatabase *);
340  // virtual void addEntity(OdDbEntity *);
341  // OdResult getEntityList(OdRxObjectPtrArray&, bool&) const;
342  // virtual OdGePoint3d getFlipArrowPickPoint() const;
343  // bool isBlockSpace(OdDbObjectId,OdDbDatabase *) const;
344  // virtual bool isFlipArrow() const;
345  // virtual bool isOwnDimBlock() const;
346  // virtual bool recomputeDimBlock() const;
347  // void releaseLayoutGeometry();
348  // virtual void setFlipArrow(bool);
349  // virtual void setFlipArrowPickPoint(OdGePoint3d &);
350  // virtual OdResult setOwnDimBlock(bool);
351  // virtual OdResult setRecomputeDimBlock(bool);
352  // void setToBeRemoved(bool);
353  // OdResult stuffNewEntitiesInDatabase(bool,const OdGeMatrix3d&,wchar_t *);
354  // OdResult geomExtents(OdGeExtents3d&, const BlockRefData&) const;
355  // virtual OdRxObjectPtrArray const * geometry() const;
356 // bool toBeRemoved() const;
357 // OdResult updateContentsFromField(bool);
358 // static OdDbDimensionObjectContextData * getDimensionAnnoScaleDefaultContextData(const OdDbDimension*);
359 // static OdDbDimensionObjectContextData * getDimensionCurrentContextData(const OdDbDimension*);
360 //
361  virtual void copyFrom(const OdRxObject *);
363  virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
364  void transformBy(const OdGeMatrix3d &mx);
365 };
366 
368 
381 {
382 public:
385 
388 
389  //static OdDbAlignedDimensionObjectContextData * getAlignedDimensionAnnoScaleDefaultContextData(const OdDbDimension*);
390 
391  virtual void copyFrom(const OdRxObject* pSource);
392 
394  virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
395 };
396 
398 
411 {
412 public:
415 
417  void setArcPoint(const OdGePoint3d &);
418  //OdResult update2Line(const OdGePoint3d *,const OdGePoint3d*,double,const OdGeVector3d&);
419  //OdResult update3Point(const OdGePoint3d *,const OdGePoint3d*,double,const OdGeVector3d&);
420  //OdResult updateArc(const OdGePoint3d *,const OdGePoint3d *,double,const OdGeVector3d&);
421 
422  //static OdDbAngularDimensionObjectContextData * getAngularDimensionAnnoScaleDefaultContextData(const OdDbDimension*);
423 
424  virtual void copyFrom(const OdRxObject* pSource);
425 
427  virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
428 };
429 
431 
444 {
445 public:
448 
453 
454  //static OdDbDiametricDimensionObjectContextData* getDiametricDimensionAnnoScaleDefaultContextData(const OdDbDimension*);
455 
456  virtual void copyFrom(const OdRxObject* pSource);
457 
459  virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
460 };
461 
463 
476 {
477 public:
480 
484  void setOrigin(const OdGePoint3d&);
485 
486 /* static OdDbOrdinateDimensionObjectContextData * getOrdinateDimensionAnnoScaleDefaultContextData(const OdDbDimension*);
487 */
488  virtual void copyFrom(const OdRxObject* pSource);
489 
491  virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
492 };
493 
495 
508 {
509 public:
512 
515 
516  //static OdDbRadialDimensionObjectContextData * getRadialDimensionAnnoScaleDefaultContextData(const OdDbDimension*);
517 
518  virtual void copyFrom(const OdRxObject* pSource);
519 
521  virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
522 };
523 
525 
538 {
539 public:
542 
545  void setJogPoint(const OdGePoint3d&);
547 
548  //static OdDbRadialDimensionLargeObjectContextData * getRadialDimensionLargeAnnoScaleDefaultContextData(const OdDbDimension*);
549 
550  virtual void copyFrom(const OdRxObject* pSource);
551 
553  virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
554 };
555 
557 
570 {
571 public:
574 
575  virtual OdGeVector3d horizontal() const;
576  virtual OdGePoint3d location() const;
577  virtual void setHorizontal(const OdGeVector3d&);
578  virtual void setLocation(const OdGePoint3d&);
579 
580  //static OdDbFcfObjectContextData * getFcfAnnoScaleDefaultContextData(const OdDbFcf*);
581 
582  void transformBy(const OdGeMatrix3d&);
583  virtual void copyFrom(OdRxObject const *);
585  virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
586 };
587 
589 
602 {
603 public:
606 
607 // virtual OdDbObjectContext * context() const;
608 // virtual OdResult setContext(const OdDbObjectContext&);
609 
610  void appendLoop(OdInt32 loopType, const EdgeArray& edgePtrs);
611  void getLoopAt(const OdDbHatch*, OdInt32 i, OdInt32 &loopType, EdgeArray& edgePtrs) const;
612  void insertLoopAt(OdInt32 i, OdInt32 loopType, const EdgeArray& edgePtrs);
614  OdInt32 numLoops() const;
616  void setLoopAt(OdInt32 i, OdInt32 loopType, const EdgeArray& edgePtrs);
617  void setLoopTypeAt(OdInt32 i, OdInt32 loopType);
619 
620  const OdHatchPattern& hatchPattern() const;
623  double patternScale() const;
625  void setPatternScale(double);
626 // void setSupportsContext(OdDbHatch *);
627 
628 // void transformBy(const OdGeMatrix3d&);
629 // void transformBy(OdInt32,const OdGeMatrix2d&,OdInt32);
630 // void transformBy(OdInt32,const OdGeMatrix3d&,const OdGeMatrix3d&,const OdGeMatrix3d&,OdGeVector3d,double);
631 
632 // OdResult updateHatchBoundary(const OdDbHatch*,const OdArray<OdHatchBoundaryLoop>&);
633 // void verify(const OdArray<OdHatchBoundaryLoop>&) const;
634  void getHatchLineDataAt( const OdDbHatch*, OdInt32 n, OdGePoint2d& startPt, OdGePoint2d& endPt) const;
635  void getHatchLinesData( const OdDbHatch*, OdGePoint2dArray& startPts, OdGePoint2dArray& endPts) const;
636  void setHatchLineDataAt( OdInt32 n, const OdGePoint2d& startPt, const OdGePoint2d& endPt);
637  void setHatchLinesData( const OdGePoint2dArray& startPts, const OdGePoint2dArray& endPts);
638  bool isValidHatchLines(const OdDbHatch*) const;
639  void setEvaluateHatch(bool/*,bool*/);
641  void transformBy(const OdGeMatrix2d&);
642 
643  virtual void copyFrom(OdRxObject const *);
644 
646  virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
647 };
648 
650 
663 {
664 public:
667 /*
668  OdResult appendHatchLine(const OdGePoint2d&,const OdGePoint2d&);
669  OdResult compressHatch();
670  virtual OdDbObjectContext * context() const;
671  virtual OdResult dwgInContext(OdDbDwgFiler *,OdDbObjectContext * &);
672  virtual OdResult dwgOutContext(OdDbDwgFiler *) const;
673  OdResult freeUncompressedHatch();
674  OdResult initCompression();
675  virtual bool matchesContext(const OdDbObjectContext&) const;
676  OdResult rotateHatchPattern(const OdDbHatch*,double);
677  virtual OdResult setContext(const OdDbObjectContext&);
678  OdResult setGrowLength(OdInt32);
679  OdResult setLogicalLength(OdInt32);
680  OdResult setPhysicalLength(OdInt32);
681  OdResult traceHatchBoundary(const OdDbHatch*) const;
682  bool viewChanged(const OdDbHatch*);
683 */
684  virtual void copyFrom(OdRxObject const *);
686  virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
687 
692  double viewRotation() const;
693  void setViewRotation(double a);
694 };
695 
697 
710 {
711 public:
714 
715  virtual bool addLast(const OdGePoint3d&);
718  virtual void clearFurtherVertices();
719  virtual OdResult endPoint(OdGePoint3d &) const;
720  virtual const OdGePoint3dArray& furtherVertices() const;
721  virtual OdGePoint3d getVertex(OdInt32) const;
722  //virtual bool hasHookLine(const OdGePoint3d&) const;
723  virtual bool hookLineDirSameAsHorizon() const;
724  virtual OdGeVector3d horizontal() const;
725  virtual OdInt32 numFurtherVertices() const;
726  virtual void removeLastVertex();
732  virtual void setVertex(OdInt32,const OdGePoint3d&);
733  //virtual OdResult transformBy(const OdGeMatrix3d&);
734 
735  //static OdDbLeaderObjectContextData * getLeaderAnnoScaleDefaultContextData(OdDbLeader const *);
736 
737  virtual void copyFrom(OdRxObject const *);
739  virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
740 };
741 
743 
756 {
757 public:
760 
761  //static OdDbMLeaderObjectContextData * getMLeaderAnnoScaleDefaultContextData(OdDbMLeader const *);
762  //virtual OdResult updateContentScale(OdDbMLeaderObjectContextData* pData);
763 
764  virtual void copyFrom(OdRxObject const *);
766  virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
767 };
768 
770 
771 #endif //_DBOBJECTCONTEXTDATA_H_INCLUDED_
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdSmartPtr< OdDbHatchViewContextData > OdDbHatchViewContextDataPtr
OdSmartPtr< OdDbBlkRefObjectContextData > OdDbBlkRefObjectContextDataPtr
OdSmartPtr< OdDbFcfObjectContextData > OdDbFcfObjectContextDataPtr
OdSmartPtr< OdDbOrdinateDimensionObjectContextData > OdDbOrdinateDimensionObjectContextDataPtr
OdSmartPtr< OdDbRadialDimensionLargeObjectContextData > OdDbRadialDimensionLargeObjectContextDataPtr
OdSmartPtr< OdDbAnnotScaleObjectContextData > OdDbAnnotScaleObjectContextDataPtr
OdSmartPtr< OdDbDimensionObjectContextData > OdDbDimensionObjectContextDataPtr
OdSmartPtr< OdDbAngularDimensionObjectContextData > OdDbAngularDimensionObjectContextDataPtr
OdSmartPtr< OdDbDiametricDimensionObjectContextData > OdDbDiametricDimensionObjectContextDataPtr
OdSmartPtr< OdDbHatchScaleContextData > OdDbHatchScaleContextDataPtr
OdSmartPtr< OdDbLeaderObjectContextData > OdDbLeaderObjectContextDataPtr
OdSmartPtr< OdDbMTextAttributeObjectContextData > OdDbMTextAttributeObjectContextDataPtr
OdSmartPtr< OdDbObjectContextData > OdDbObjectContextDataPtr
OdSmartPtr< OdDbTextObjectContextData > OdDbTextObjectContextDataPtr
OdSmartPtr< OdDbMLeaderObjectContextData > OdDbMLeaderObjectContextDataPtr
OdSmartPtr< OdDbAlignedDimensionObjectContextData > OdDbAlignedDimensionObjectContextDataPtr
OdSmartPtr< OdDbRadialDimensionObjectContextData > OdDbRadialDimensionObjectContextDataPtr
OdSmartPtr< OdDbMTextObjectContextData > OdDbMTextObjectContextDataPtr
short OdInt16
int OdInt32
#define ODRX_OVERRIDE
OdResult
Definition: OdResult.h:29
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
virtual void copyFrom(const OdRxObject *pSource)
ODDB_DECLARE_MEMBERS(OdDbAlignedDimensionObjectContextData)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
void setDimLinePoint(const OdGePoint3d &)
void setArcPoint(const OdGePoint3d &)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
ODDB_DECLARE_MEMBERS(OdDbAngularDimensionObjectContextData)
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
virtual void copyFrom(const OdRxObject *pSource)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
virtual void setContext(const OdDbObjectContext &)
ODDB_DECLARE_MEMBERS(OdDbAnnotScaleObjectContextData)
virtual const OdDbObjectContext * context() const
virtual OdResult getScale(double &) const
virtual void setScaleFactors(const OdGeScale3d &)
virtual double rotation() const
ODDB_DECLARE_MEMBERS(OdDbBlkRefObjectContextData)
virtual void copyFrom(const OdRxObject *)
virtual OdGePoint3d positionInEcs() const
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
virtual void setPositionInEcs(const OdGePoint3d &)
virtual OdGeScale3d scaleFactors() const
virtual void setRotation(double)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
void setChordPoint(const OdGePoint3d &)
ODDB_DECLARE_MEMBERS(OdDbDiametricDimensionObjectContextData)
virtual void copyFrom(const OdRxObject *pSource)
void setFarChordPoint(const OdGePoint3d &)
virtual bool defTextLocation() const
virtual void setDimtix(bool)
virtual OdGePoint2d textLocation() const
virtual OdInt16 dimatfit() const
virtual bool dimsoxd() const
virtual void setTextRotation(double)
virtual bool getArrowFirstIsFlipped() const
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
void setNDBRDimBlock(OdDbBlockTableRecord *)
virtual bool dimtofl() const
virtual OdDbObjectId blockIndex() const
OdDbBlockTableRecordPtr getNDBRDimBlock() const
virtual void setBlockIndex(OdDbObjectId)
virtual void setArrowSecondIsFlipped(bool)
virtual double textRotation() const
virtual void setArrowFirstIsFlipped(bool)
virtual void setDimtmove(OdInt16)
void transformBy(const OdGeMatrix3d &mx)
virtual void copyFrom(const OdRxObject *)
virtual void setOverride(OverrideCode, bool)
virtual void setDefTextLocation(bool)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual void setDimatfit(OdInt16)
virtual void setDimtofl(bool)
virtual bool dimtix() const
virtual void setDimsoxd(bool)
virtual bool getArrowSecondIsFlipped() const
virtual OdInt16 dimtmove() const
virtual bool hasOverride(OverrideCode) const
virtual void setTextLocation(const OdGePoint2d &)
ODDB_DECLARE_MEMBERS(OdDbDimensionObjectContextData)
void transformBy(const OdGeMatrix3d &)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
ODDB_DECLARE_MEMBERS(OdDbFcfObjectContextData)
virtual void setHorizontal(const OdGeVector3d &)
virtual void setLocation(const OdGePoint3d &)
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
virtual OdGePoint3d location() const
virtual void copyFrom(OdRxObject const *)
virtual OdGeVector3d horizontal() const
void setLoopAt(OdInt32 i, OdInt32 loopType, const EdgeArray &edgePtrs)
OdInt32 numLoops() const
void setPatternBaseAngle(const OdGeVector3d &)
void getHatchLineDataAt(const OdDbHatch *, OdInt32 n, OdGePoint2d &startPt, OdGePoint2d &endPt) const
void getHatchLinesData(const OdDbHatch *, OdGePoint2dArray &startPts, OdGePoint2dArray &endPts) const
void insertLoopAt(OdInt32 i, OdInt32 loopType, const EdgeArray &edgePtrs)
bool isValidHatchLines(const OdDbHatch *) const
OdGeVector3d patternBaseAngle() const
void transformBy(const OdGeMatrix2d &)
void removeLoopAt(OdInt32 i)
ODDB_DECLARE_MEMBERS(OdDbHatchScaleContextData)
void setLoopTypeAt(OdInt32 i, OdInt32 loopType)
void setNumLoops(OdInt32 i)
void setHatchPattern(const OdHatchPattern &)
void setPatternScale(double)
const OdHatchPattern & hatchPattern() const
OdInt32 loopTypeAt(OdInt32 i) const
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
double patternScale() const
OdInt32 numHatchLines(const OdDbHatch *) const
void getLoopAt(const OdDbHatch *, OdInt32 i, OdInt32 &loopType, EdgeArray &edgePtrs) const
void setHatchLinesData(const OdGePoint2dArray &startPts, const OdGePoint2dArray &endPts)
virtual void copyFrom(OdRxObject const *)
void appendLoop(OdInt32 loopType, const EdgeArray &edgePtrs)
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
void setHatchLineDataAt(OdInt32 n, const OdGePoint2d &startPt, const OdGePoint2d &endPt)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
void setViewTarget(const OdGeVector3d &v)
ODDB_DECLARE_MEMBERS(OdDbHatchViewContextData)
OdGeVector3d viewTarget() const
double viewRotation() const
virtual void copyFrom(OdRxObject const *)
void setViewRotation(double a)
void setViewportId(OdDbObjectId id)
OdDbObjectId viewportId() const
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual bool hookLineDirSameAsHorizon() const
virtual void clearFurtherVertices()
virtual bool addLast(const OdGePoint3d &)
virtual OdGeVector3d horizontal() const
virtual OdResult setFurtherVertices(const OdGePoint3dArray &)
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
virtual OdGeVector3d annotationOffset() const
virtual OdResult setBlockInsertOffset(const OdGeVector3d &)
virtual void setVertex(OdInt32, const OdGePoint3d &)
virtual OdResult setHookLineDirSameAsHorizon(bool)
virtual void copyFrom(OdRxObject const *)
virtual OdGeVector3d blockInsertOffset() const
virtual const OdGePoint3dArray & furtherVertices() const
ODDB_DECLARE_MEMBERS(OdDbLeaderObjectContextData)
virtual void removeLastVertex()
virtual OdResult setHorizontal(const OdGeVector3d &)
virtual OdGePoint3d getVertex(OdInt32) const
virtual OdResult endPoint(OdGePoint3d &) const
virtual OdInt32 numFurtherVertices() const
virtual OdResult setAnnotationOffset(const OdGeVector3d &)
ODDB_DECLARE_MEMBERS(OdDbMLeaderObjectContextData)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual void copyFrom(OdRxObject const *)
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual OdDbMTextObjectContextDataPtr getMTextObjectContextData() const
virtual void setMTextObjectContextData(OdDbMTextObjectContextData *)
ODDB_DECLARE_MEMBERS(OdDbMTextAttributeObjectContextData)
virtual void copyFrom(const OdRxObject *)
virtual void setContext(const OdDbObjectContext &) ODRX_OVERRIDE
AttachmentPoint
Definition: DbMText.h:247
OdDb::TextHorzMode horizontalMode() const
OdDbMText::AttachmentPoint attachment() const
ODDB_DECLARE_MEMBERS(OdDbMTextObjectContextData)
void setAttachment(OdDbMText::AttachmentPoint)
double actualHeight() const
virtual void copyFrom(const OdRxObject *pSource)
bool columnFlowReversed() const
OdInt32 columnCount() const
double columnWidth() const
void setColumnType(OdDbMText::ColumnType)
static OdDbMTextObjectContextDataPtr getMTextAnnoScaleDefaultContextData(const OdDbMText *)
OdDb::TextVertMode verticalMode() const
double columnHeight(OdInt32) const
double definedHeight() const
void setHorizontalMode(OdDb::TextHorzMode)
OdDbMText::ColumnType columnType() const
void setColumnCount(OdInt32)
double columnGutter() const
void setVerticalMode(OdDb::TextVertMode)
double actualWidth() const
double definedWidth() const
OdGeVector3d direction() const
void setColumnHeight(OdInt32, double)
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
void setDirection(const OdGeVector3d &)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
OdGePoint3d location() const
void setLocation(const OdGePoint3d &)
void setFileToExtensionDictionary(bool)
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
virtual void dwgOutContextData(OdDbDwgFiler *) const
bool isModified() const
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual void setContext(const OdDbObjectContext &)
ODDB_DECLARE_MEMBERS(OdDbObjectContextData)
virtual const OdDbObjectContext * context() const
virtual void setContextToNull()
virtual bool matchesContext(const OdDbObjectContext &) const
bool fileToExtensionDictionary() const
bool isDefaultContextData() const
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
virtual OdResult dwgInContextData(OdDbDwgFiler *)
void setIsDefault(bool b)
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
void setLeaderEndPoint(const OdGePoint3d &)
ODDB_DECLARE_MEMBERS(OdDbOrdinateDimensionObjectContextData)
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual void copyFrom(const OdRxObject *pSource)
void setOrigin(const OdGePoint3d &)
void setOverrideCenter(const OdGePoint3d &)
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
void setJogPoint(const OdGePoint3d &)
virtual void copyFrom(const OdRxObject *pSource)
ODDB_DECLARE_MEMBERS(OdDbRadialDimensionLargeObjectContextData)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual void copyFrom(const OdRxObject *pSource)
ODDB_DECLARE_MEMBERS(OdDbRadialDimensionObjectContextData)
void setChordPoint(const OdGePoint3d &)
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
virtual OdGePoint2d positionInEcs() const
virtual void setAlignmentPointInEcs(const OdGePoint2d &)
virtual OdGePoint2d alignmentPointInEcs() const
virtual void setPositionInEcs(const OdGePoint2d &)
virtual void setRotation(double)
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
virtual double rotation() const
virtual void copyFrom(const OdRxObject *)
ODDB_DECLARE_MEMBERS(OdDbTextObjectContextData)
virtual OdDb::TextHorzMode horizontalMode() const
virtual void setHorizontalMode(OdDb::TextHorzMode)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
const GLfloat * v
Definition: gles2_ext.h:315
TextHorzMode
Definition: TextDefs.h:35
TextVertMode
Definition: TextDefs.h:45