CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
DbGeoMap.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2024, 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-2024 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 _ODDBGEOMAP_INCLUDED_
25#define _ODDBGEOMAP_INCLUDED_
26
27#include "DbRasterImage.h"
28#include "Gi/GiRasterWrappers.h"
29#include "OdGeoMapType.h"
30
31#include "TD_PackPush.h"
32
39{
40public:
42
47
51 virtual ~OdDbGeoMap();
52
57
61 double height() const;
62
66 double width() const;
67
72
76 double imageHeight() const;
77
81 double imageWidth() const;
82
87
96
100 OdInt8 LOD() const;
101
106
115
119 bool isOutOfDate() const;
120
129 OdResult updateMapImage(bool bReset = false);
130
135
141
142 // OdDbRasterImage
146 OdGeVector2d imageSize(bool bGetCachedValue = false) const ODRX_OVERRIDE;
148
151
154
157
158 virtual OdGiRasterImagePtr image(bool load = true) const;
159
161 bool setOrientation(const OdGePoint3d & ptOrigin, const OdGeVector3d & u, const OdGeVector3d & v) ODRX_OVERRIDE;
162
163 void dragStatus(const OdDb::DragStat) ODRX_OVERRIDE;
164protected:
165 bool subWorldDraw(OdGiWorldDraw* pWorldDraw) const ODRX_OVERRIDE;
167
169
170 void updateMapImageIfNeeded(bool bReset = false) const;
171
172 friend class OdDbGeoMapFieldsPE;
173};
174
176
177
204
206
207#include "TD_PackPop.h"
208
209#endif //_ODDBGEOMAP_INCLUDED_
OdArray< OdGePoint3d, OdMemoryAllocator< OdGePoint3d > > OdGePoint3dArray
#define DBGEOLOCATIONOBJ_EXPORT
Definition DbExport.h:93
OdSmartPtr< OdDbGeoMap > OdDbGeoMapPtr
Definition DbGeoMap.h:175
OdSmartPtr< OdDbGeoMapDef > OdDbGeoMapDefPtr
Definition DbGeoMap.h:205
OdSmartPtr< OdGiRasterImage > OdGiRasterImagePtr
Definition DbLayout.h:36
OdSmartPtr< OdDbObject > OdDbObjectPtr
Definition DbObject.h:1750
true
false
Definition DimVarDefs.h:165
OdArray< OdGePoint2d, OdMemoryAllocator< OdGePoint2d > > OdGePoint2dArray
Definition GeGbl.h:45
OdGeoMapType
OdGeoMapResolution
signed char OdInt8
#define ODRX_OVERRIDE
OdResult
Definition OdResult.h:29
virtual ~OdDbGeoMapDef()
virtual OdGiRasterImagePtr image(bool load=true)
ODDB_DECLARE_MEMBERS(OdDbGeoMapDef)
void dwgOutFields(OdDbDwgFiler *pFiler) const
OdResult dwgInFields(OdDbDwgFiler *pFiler)
double width() const
OdResult setFade(OdInt8 value) ODRX_OVERRIDE
OdGePoint3d bottomLeftPt() const
bool setOrientation(const OdGePoint3d &ptOrigin, const OdGeVector3d &u, const OdGeVector3d &v) ODRX_OVERRIDE
OdInt8 brightness() const ODRX_OVERRIDE
OdInt8 fade() const ODRX_OVERRIDE
double imageHeight() const
friend class OdDbGeoMapFieldsPE
Definition DbGeoMap.h:172
ODDB_DECLARE_MEMBERS(OdDbGeoMap)
void subClose() ODRX_OVERRIDE
OdGeoMapResolution resolution() const
double imageWidth() const
OdResult subGetGeomExtents(OdGeExtents3d &extents) const ODRX_OVERRIDE
bool subWorldDraw(OdGiWorldDraw *pWorldDraw) const ODRX_OVERRIDE
OdGeVector2d imageSize(bool bGetCachedValue=false) const ODRX_OVERRIDE
OdResult dwgInFields(OdDbDwgFiler *pFiler) ODRX_OVERRIDE
void dragStatus(const OdDb::DragStat) ODRX_OVERRIDE
OdGePoint3d imageBottomLeftPt() const
virtual OdGiRasterImagePtr image(bool load=true) const
OdResult dxfInFields(OdDbDxfFiler *pFiler) ODRX_OVERRIDE
void dwgOutFields(OdDbDwgFiler *pFiler) const ODRX_OVERRIDE
void subViewportDraw(OdGiViewportDraw *pViewportDraw) const ODRX_OVERRIDE
OdResult setResolution(OdGeoMapResolution resolution)
virtual ~OdDbGeoMap()
void composeForLoad(OdDb::SaveType format, OdDb::DwgVersion version, OdDbAuditInfo *pAuditInfo) ODRX_OVERRIDE
double height() const
OdDbObjectId imageDefId() const ODRX_OVERRIDE
OdResult setMapType(OdGeoMapType mapType)
OdResult subErase(bool bErasing) ODRX_OVERRIDE
OdResult getVertices(OdGePoint3dArray &vertices) const ODRX_OVERRIDE
const OdGePoint2dArray & clipBoundary() const ODRX_OVERRIDE
void getOrientation(OdGePoint3d &origin, OdGeVector3d &u, OdGeVector3d &v) const ODRX_OVERRIDE
OdResult setBrightness(OdInt8 value) ODRX_OVERRIDE
OdResult subTransformBy(const OdGeMatrix3d &xform) ODRX_OVERRIDE
OdDbObjectPtr decomposeForSave(OdDb::DwgVersion ver, OdDbObjectId &replaceId, bool &exchangeXData) ODRX_OVERRIDE
void dxfOutFields(OdDbDxfFiler *pFiler) const ODRX_OVERRIDE
OdInt8 contrast() const ODRX_OVERRIDE
OdInt8 LOD() const
OdResult updateMapImage(bool bReset=false)
bool isOutOfDate() const
OdResult setContrast(OdInt8 value) ODRX_OVERRIDE
OdResult getImageVertices(OdGePoint3dArray &vertices) const
OdGeoMapType mapType() const
void updateMapImageIfNeeded(bool bReset=false) const
virtual OdResult load(bool modifyDatabase=true)
const GLfloat * v
Definition gles2_ext.h:315
GLint GLint GLint GLsizei GLsizei GLenum format
Definition gles2_ext.h:111
GLsizei const GLfloat * value
Definition gles2_ext.h:302
DwgVersion
Definition OdaDefs.h:47
SaveType
Definition DbObject.h:152