CFx SDK Documentation  2020SP3
DbGeoPositionMarker.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 _ODDBGEOPOSITIONMARKER_INCLUDED_
25 #define _ODDBGEOPOSITIONMARKER_INCLUDED_
26 
27 #include "TD_PackPush.h"
28 #include "DbEntity.h"
29 #include "OdString.h"
30 #include "DbMText.h"
31 
38 {
39 public:
45  kLeftAlignment = 0,
47  kCenterAlignment = 1,
49  kRightAlignment = 2
50  };
51 
60 
62 
67 
75  OdResult setPosition(const OdGePoint3d &position);
76 
80  double radius() const;
81 
89  OdResult setRadius(double radius);
90 
94  OdString text() const;
95 
103  OdResult setText(const OdString& text);
104 
109 
117  OdResult setMText(const OdDbMText * pMText);
118 
123  bool mtextVisible() const;
124 
133  OdResult setMTextVisible(bool visible);
134 
138  double landingGap() const;
139 
147  OdResult setLandingGap(double landingGap);
148 
153  bool enableFrameText() const;
154 
163  OdResult setEnableFrameText(bool enableFrameText);
164 
169 
178 
182  OdString notes() const;
183 
191  OdResult setNotes(const OdString& notes);
192 
197 
206 
216  OdResult latLonAlt(double &lat, double &lon, double &alt) const;
217 
227  OdResult setLatLonAlt(double lat, double lon, double alt);
228 
233 
238 
240  virtual void dwgOutFields(OdDbDwgFiler* pFiler) const;
242  virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
243 
244  virtual bool subWorldDraw(OdGiWorldDraw* pWorldDraw) const;
245  virtual void subViewportDraw(OdGiViewportDraw* pViewportDraw) const;
246 
247  virtual OdResult subTransformBy(const OdGeMatrix3d& xform);
248  virtual void subClose();
249 
250  virtual OdResult subGetGeomExtents(OdGeExtents3d& extents) const;
251 
252  virtual void subSetDatabaseDefaults(OdDbDatabase* pDb, bool doSubents);
253 };
258 
259 #endif
OdDbGeoPositionMarker::setNotes
OdResult setNotes(const OdString &notes)
OdResult
OdResult
Definition: OdResult.h:29
OdGeVector3d
Definition: GeVector3d.h:54
OdString
Definition: OdString.h:95
OdDbDatabase
Definition: DbDatabase.h:421
OdDbGeoPositionMarker::setLatLonAlt
OdResult setLatLonAlt(double lat, double lon, double alt)
OdDbGeoPositionMarker::geoPosition
OdGePoint3d geoPosition() const
OdDbGeoPositionMarker::setGeoPosition
OdResult setGeoPosition(const OdGePoint3d &position)
OdDbGeoPositionMarker
Definition: DbGeoPositionMarker.h:38
OdDbGeoPositionMarker::notes
OdString notes() const
OdDbObjectId
Definition: DbObjectId.h:99
OdDbGeoPositionMarker::latLonAlt
OdResult latLonAlt(double &lat, double &lon, double &alt) const
OdDbGeoPositionMarker::subWorldDraw
virtual bool subWorldDraw(OdGiWorldDraw *pWorldDraw) const
OdDbGeoPositionMarkerPtr
OdSmartPtr< OdDbGeoPositionMarker > OdDbGeoPositionMarkerPtr
Definition: DbGeoPositionMarker.h:257
OdDbGeoPositionMarker::text
OdString text() const
alt
alt
Definition: DimVarDefs.h:165
OdDbGeoPositionMarker::subSetDatabaseDefaults
virtual void subSetDatabaseDefaults(OdDbDatabase *pDb, bool doSubents)
OdDbGeoPositionMarker::textStyle
OdDbObjectId textStyle() const
OdDbGeoPositionMarker::setMTextVisible
OdResult setMTextVisible(bool visible)
OdGeMatrix3d
Definition: GeMatrix3d.h:73
OdDbGeoPositionMarker::setLandingGap
OdResult setLandingGap(double landingGap)
OdDbGeoPositionMarker::subTransformBy
virtual OdResult subTransformBy(const OdGeMatrix3d &xform)
DbMText.h
OdDbGeoPositionMarker::setEnableFrameText
OdResult setEnableFrameText(bool enableFrameText)
OdString.h
OdDbGeoPositionMarker::OdDbGeoPositionMarker
OdDbGeoPositionMarker()
OdSmartPtr
Definition: SmartPtr.h:58
OdGePoint3d
Definition: GePoint3d.h:55
DbEntity.h
OdDbGeoPositionMarker::textAlignmentType
OdTextAlignmentType textAlignmentType() const
OdDbGeoPositionMarker::OdTextAlignmentType
OdTextAlignmentType
Definition: DbGeoPositionMarker.h:43
OdDbMText
Definition: DbMText.h:137
OdDbGeoPositionMarker::ODDB_DECLARE_MEMBERS
ODDB_DECLARE_MEMBERS(OdDbGeoPositionMarker)
OdDbGeoPositionMarker::setText
OdResult setText(const OdString &text)
OdDbDxfFiler
Definition: DbFiler.h:194
OdDbGeoPositionMarker::subGetGeomExtents
virtual OdResult subGetGeomExtents(OdGeExtents3d &extents) const
OdDbGeoPositionMarker::subViewportDraw
virtual void subViewportDraw(OdGiViewportDraw *pViewportDraw) const
TD_PackPush.h
OdDbGeoPositionMarker::position
OdGePoint3d position() const
OdDbGeoPositionMarker::dwgInFields
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdDbGeoPositionMarker::setPosition
OdResult setPosition(const OdGePoint3d &position)
OdDbGeoPositionMarker::landingGap
double landingGap() const
OdGiWorldDraw
Definition: GiWorldDraw.h:44
OdDbEntity
Definition: DbEntity.h:90
OdDbGeoPositionMarker::mtext
OdDbMTextPtr mtext() const
OdDbGeoPositionMarker::setRadius
OdResult setRadius(double radius)
OdDbGeoPositionMarker::subClose
virtual void subClose()
OdDbGeoPositionMarker::setTextAlignmentType
OdResult setTextAlignmentType(OdTextAlignmentType textAlignmentType)
OdDbGeoPositionMarker::normal
OdGeVector3d normal() const
OdGeExtents3d
Definition: GeExtents3d.h:45
OdDbGeoPositionMarker::mtextVisible
bool mtextVisible() const
OdDbGeoPositionMarker::enableFrameText
bool enableFrameText() const
TOOLKIT_EXPORT
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdDbGeoPositionMarker::~OdDbGeoPositionMarker
virtual ~OdDbGeoPositionMarker()
OdDbGeoPositionMarker::radius
double radius() const
OdDbGeoPositionMarker::setMText
OdResult setMText(const OdDbMText *pMText)
OdDbGeoPositionMarker::dxfInFields
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdDbGeoPositionMarker::dwgOutFields
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdDbDwgFiler
Definition: DbFiler.h:1031
OdGiViewportDraw
Definition: GiViewportDraw.h:50
OdDbGeoPositionMarker::dxfOutFields
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const