CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdDbGeoMap Class Reference

#include <DbGeoMap.h>

Inheritance diagram for OdDbGeoMap:
OdDbRasterImage OdDbImage OdDbEntity OdDbObject OdGiDrawable OdRxObject

Public Member Functions

 ODDB_DECLARE_MEMBERS (OdDbGeoMap)
 
 OdDbGeoMap ()
 
virtual ~OdDbGeoMap ()
 
OdGePoint3d bottomLeftPt () const
 
double height () const
 
double width () const
 
OdGePoint3d imageBottomLeftPt () const
 
double imageHeight () const
 
double imageWidth () const
 
OdGeoMapResolution resolution () const
 
OdResult setResolution (OdGeoMapResolution resolution)
 
OdInt8 LOD () const
 
OdGeoMapType mapType () const
 
OdResult setMapType (OdGeoMapType mapType)
 
bool isOutOfDate () const
 
OdResult updateMapImage (bool bReset=false)
 
OdResult dwgInFields (OdDbDwgFiler *pFiler) ODRX_OVERRIDE
 
void dwgOutFields (OdDbDwgFiler *pFiler) const ODRX_OVERRIDE
 
OdResult dxfInFields (OdDbDxfFiler *pFiler) ODRX_OVERRIDE
 
void dxfOutFields (OdDbDxfFiler *pFiler) const ODRX_OVERRIDE
 
OdDbObjectPtr decomposeForSave (OdDb::DwgVersion ver, OdDbObjectId &replaceId, bool &exchangeXData) ODRX_OVERRIDE
 
void composeForLoad (OdDb::SaveType format, OdDb::DwgVersion version, OdDbAuditInfo *pAuditInfo) ODRX_OVERRIDE
 
OdResult subErase (bool bErasing) ODRX_OVERRIDE
 
void subClose () ODRX_OVERRIDE
 
OdResult subTransformBy (const OdGeMatrix3d &xform) ODRX_OVERRIDE
 
OdDbObjectId imageDefId () const ODRX_OVERRIDE
 
OdResult getVertices (OdGePoint3dArray &vertices) const ODRX_OVERRIDE
 
OdResult getImageVertices (OdGePoint3dArray &vertices) const
 
OdGeVector2d imageSize (bool bGetCachedValue=false) const ODRX_OVERRIDE
 
const OdGePoint2dArrayclipBoundary () const ODRX_OVERRIDE
 
OdResult setBrightness (OdInt8 value) ODRX_OVERRIDE
 
OdInt8 brightness () const ODRX_OVERRIDE
 
OdResult setContrast (OdInt8 value) ODRX_OVERRIDE
 
OdInt8 contrast () const ODRX_OVERRIDE
 
OdResult setFade (OdInt8 value) ODRX_OVERRIDE
 
OdInt8 fade () const ODRX_OVERRIDE
 
virtual OdGiRasterImagePtr image (bool load=true) const
 
void getOrientation (OdGePoint3d &origin, OdGeVector3d &u, OdGeVector3d &v) const ODRX_OVERRIDE
 
bool setOrientation (const OdGePoint3d &ptOrigin, const OdGeVector3d &u, const OdGeVector3d &v) ODRX_OVERRIDE
 
void dragStatus (const OdDb::DragStat) ODRX_OVERRIDE
 
- Public Member Functions inherited from OdDbRasterImage
 ODDB_DECLARE_MEMBERS (OdDbRasterImage)
 
 OdDbRasterImage ()
 
virtual void setImageDefId (OdDbObjectId imageDefId)
 
virtual void setReactorId (OdDbObjectId reactorId)
 
virtual OdDbObjectId reactorId () const
 
virtual void setClipBoundary (const OdGePoint2dArray &clipPoints)
 
bool isClipped () const
 
virtual void setClipBoundaryToWholeImage ()
 
ClipBoundaryType clipBoundaryType () const
 
virtual OdGeMatrix3d getPixelToModelTransform () const
 
virtual void setDisplayOpt (ImageDisplayOpt optionIndex, bool value)
 
virtual bool isSetDisplayOpt (ImageDisplayOpt option) const
 
virtual OdGeVector2d scale () const
 
virtual void setClipInverted (bool val)
 
virtual bool isClipInverted () const
 
virtual OdUInt32 subSetAttributes (OdGiDrawableTraits *pTraits) const
 
virtual OdResult subGetClassID (void *pClsid) const ODRX_OVERRIDE
 
virtual OdResult subExplode (OdRxObjectPtrArray &entitySet) const ODRX_OVERRIDE
 
virtual OdDbObjectPtr subDeepClone (OdDbIdMapping &ownerIdMap, OdDbObject *, bool bPrimary) const ODRX_OVERRIDE
 
- Public Member Functions inherited from OdDbImage
 ODDB_DECLARE_MEMBERS (OdDbImage)
 
 OdDbImage ()
 
- Public Member Functions inherited from OdDbEntity
 ODDB_DECLARE_MEMBERS (OdDbEntity)
 
 OdDbEntity ()
 
OdDbObjectId blockId () const
 
OdCmColor color () const
 
virtual OdResult setColor (const OdCmColor &color, bool doSubents=true)
 
OdUInt16 colorIndex () const
 
virtual OdCmEntityColor entityColor () const
 
virtual OdResult setColorIndex (OdUInt16 colorIndex, bool doSubents=true)
 
OdDbObjectId colorId () const
 
virtual OdResult setColorId (OdDbObjectId colorId, bool doSubents=true)
 
OdCmTransparency transparency () const
 
virtual OdResult setTransparency (const OdCmTransparency &transparency, bool doSubents=true)
 
OdString plotStyleName () const
 
OdDb::PlotStyleNameType getPlotStyleNameId (OdDbObjectId &plotStyleNameId) const
 
virtual OdResult setPlotStyleName (const OdString &plotStyleName, bool doSubents=true)
 
virtual OdResult setPlotStyleName (OdDb::PlotStyleNameType plotStyleNameType, OdDbObjectId plotStyleNameId=OdDbObjectId::kNull, bool doSubents=true)
 
OdString layer () const
 
OdDbObjectId layerId () const
 
virtual OdResult setLayer (const OdString &layerName, bool doSubents=true, bool allowHiddenLayer=false)
 
virtual OdResult setLayer (OdDbObjectId layerId, bool doSubents=true, bool allowHiddenLayer=false)
 
OdString linetype () const
 
OdDbObjectId linetypeId () const
 
virtual OdResult setLinetype (const OdString &linetypeName, bool doSubents=true)
 
virtual OdResult setLinetype (OdDbObjectId linetypeID, bool doSubents=true)
 
OdString material () const
 
OdDbObjectId materialId () const
 
virtual OdResult setMaterial (const OdString &materialName, bool doSubents=true)
 
virtual OdResult setMaterial (OdDbObjectId materialID, bool doSubents=true)
 
OdDbObjectId visualStyleId (VisualStyleType vstype=kFullVisualStyle) const
 
virtual OdResult setVisualStyle (OdDbObjectId visualStyleId, VisualStyleType vstype=kFullVisualStyle, bool doSubents=true)
 
virtual const OdGiMappermaterialMapper () const
 
virtual void setMaterialMapper (const OdGiMapper *mapper, bool doSubents=true)
 
double linetypeScale () const
 
virtual OdResult setLinetypeScale (double linetypeScale, bool doSubents=true)
 
OdDb::Visibility visibility () const
 
ODRX_SEALED_VIRTUAL OdResult setVisibility (OdDb::Visibility visibility, bool doSubents=true) ODRX_FINAL
 
OdDb::Visibility tempVisibility () const
 
void setTempVisibility (OdDb::Visibility visibility)
 
OdDb::LineWeight lineWeight () const
 
virtual OdResult setLineWeight (OdDb::LineWeight lineWeight, bool doSubents=true)
 
virtual bool castShadows () const
 
virtual void setCastShadows (bool castShadows)
 
virtual bool receiveShadows () const
 
virtual void setReceiveShadows (bool receiveShadows)
 
virtual OdDb::CollisionType collisionType () const
 
void setPropertiesFrom (const OdDbEntity *pSource, bool doSubents=true)
 
virtual bool isPlanar () const
 
virtual OdResult getPlane (OdGePlane &plane, OdDb::Planarity &planarity) const
 
void subHandOverTo (OdDbObject *pNewObject)
 
ODRX_SEALED_VIRTUAL OdResult transformBy (const OdGeMatrix3d &xfm) ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult getTransformedCopy (const OdGeMatrix3d &xfm, OdDbEntityPtr &pCopy) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult explode (OdRxObjectPtrArray &entitySet) const ODRX_FINAL
 
virtual OdResult explodeToBlock (OdDbBlockTableRecord *pBlockRecord, OdDbObjectIdArray *ids=0)
 
virtual OdResult explodeGeometry (OdRxObjectPtrArray &entitySet) const
 
virtual OdResult explodeGeometryToBlock (OdDbBlockTableRecord *pBlockRecord, OdDbObjectIdArray *ids=0)
 
void setDatabaseDefaults (OdDbDatabase *pDb=0, bool doSubents=false)
 
virtual void subSetDatabaseDefaults (OdDbDatabase *pDb, bool doSubents)
 
virtual void applyPartialUndo (OdDbDwgFiler *pUndoFiler, OdRxClass *pClassObj)
 
void appendToOwner (OdDbIdPair &idPair, OdDbObject *pOwnerObject, OdDbIdMapping &ownerIdMap)
 
virtual OdResult dxfIn (OdDbDxfFiler *pFiler)
 
virtual void dxfOut (OdDbDxfFiler *pFiler) const
 
virtual OdResult dxfInFields_R12 (OdDbDxfFiler *pFiler)
 
virtual void dxfOutFields_R12 (OdDbDxfFiler *pFiler) const
 
virtual OdGiDrawabledrawable ()
 
virtual void subList () const
 
void subSwapIdWith (const OdDbObjectId &otherId, bool swapXdata=false, bool swapExtDict=false)
 
virtual OdResult subOpen (OdDb::OpenMode mode) ODRX_OVERRIDE
 
void recordGraphicsModified (bool graphicsModified=true)
 
virtual void copyFrom (const OdRxObject *pSource)
 
ODRX_SEALED_VIRTUAL void list () const ODRX_FINAL
 
virtual OdResult getGeomExtents (OdGeExtents3d &extents) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL void highlight (bool bDoIt=true, const OdDbFullSubentPath *pSubId=0, bool highlightAll=false) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult getOsnapPoints (OdDb::OsnapMode osnapMode, OdGsMarker gsSelectionMark, const OdGePoint3d &pickPoint, const OdGePoint3d &lastPoint, const OdGeMatrix3d &xWorldToEye, OdGePoint3dArray &snapPoints) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult getOsnapPoints (OdDb::OsnapMode osnapMode, OdGsMarker gsSelectionMark, const OdGePoint3d &pickPoint, const OdGePoint3d &lastPoint, const OdGeMatrix3d &xWorldToEye, OdGePoint3dArray &snapPoints, const OdGeMatrix3d &insertionMat) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL bool isContentSnappable () const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult getGripPoints (OdGePoint3dArray &gripPoints) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult moveGripPointsAt (const OdIntArray &indices, const OdGeVector3d &offset) ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult getGripPoints (OdDbGripDataPtrArray &grips, const double curViewUnitSize, const int gripSize, const OdGeVector3d &curViewDir, const int bitFlags) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult moveGripPointsAt (const OdDbVoidPtrArray &grips, const OdGeVector3d &offset, int bitFlags) ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult getStretchPoints (OdGePoint3dArray &stretchPoints) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult moveStretchPointsAt (const OdIntArray &indices, const OdGeVector3d &offset) ODRX_FINAL
 
ODRX_SEALED_VIRTUAL void gripStatus (const OdDb::GripStat status) ODRX_FINAL
 
ODRX_SEALED_VIRTUAL bool cloneMeForDragging () ODRX_FINAL
 
ODRX_SEALED_VIRTUAL bool hideMeForDragging () const ODRX_FINAL
 
virtual void saveAs (OdGiWorldDraw *pWd, OdDb::DwgVersion ver) const
 
ODRX_SEALED_VIRTUAL OdResult getCompoundObjectTransform (OdGeMatrix3d &xM) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult intersectWith (const OdDbEntity *pEnt, OdDb::Intersect intType, OdGePoint3dArray &points, OdGsMarker thisGsMarker=0, OdGsMarker otherGsMarker=0) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult intersectWith (const OdDbEntity *pEnt, OdDb::Intersect intType, const OdGePlane &projPlane, OdGePoint3dArray &points, OdGsMarker thisGsMarker=0, OdGsMarker otherGsMarker=0) const ODRX_FINAL
 
OdResult boundingBoxIntersectWith (const OdDbEntity *pEnt, OdDb::Intersect intType, OdGePoint3dArray &points, OdGsMarker thisGsMarker, OdGsMarker otherGsMarker) const
 
OdResult boundingBoxIntersectWith (const OdDbEntity *pEnt, OdDb::Intersect intType, const OdGePlane &projPlane, OdGePoint3dArray &points, OdGsMarker thisGsMarker, OdGsMarker otherGsMarker) const
 
ODRX_SEALED_VIRTUAL OdResult getSubentPathsAtGsMarker (OdDb::SubentType type, OdGsMarker gsMark, const OdGePoint3d &pickPoint, const OdGeMatrix3d &xfm, OdDbFullSubentPathArray &subentPaths, const OdDbObjectIdArray *pEntAndInsertStack=0) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult getGsMarkersAtSubentPath (const OdDbFullSubentPath &subPath, OdGsMarkerArray &gsMarkers) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult getGripPointsAtSubentPath (const OdDbFullSubentPath &path, OdDbGripDataPtrArray &grips, const double curViewUnitSize, const int gripSize, const OdGeVector3d &curViewDir, const OdUInt32 bitflags) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult moveGripPointsAtSubentPaths (const OdDbFullSubentPathArray &paths, const OdDbVoidPtrArray &gripAppData, const OdGeVector3d &offset, const OdUInt32 bitflags) ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult deleteSubentPaths (const OdDbFullSubentPathArray &paths) ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult addSubentPaths (const OdDbFullSubentPathArray &paths) ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdDbEntityPtr subentPtr (const OdDbFullSubentPath &path) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult transformSubentPathsBy (const OdDbFullSubentPathArray &paths, const OdGeMatrix3d &xform) ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult getSubentClassId (const OdDbFullSubentPath &path, void *clsId) ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult getSubentPathGeomExtents (const OdDbFullSubentPath &path, OdGeExtents3d &extents) ODRX_FINAL
 
ODRX_SEALED_VIRTUAL void subentGripStatus (OdDb::GripStat status, const OdDbFullSubentPath &subentity) ODRX_FINAL
 
virtual OdGeMatrix3d getEcs () const
 
- Public Member Functions inherited from OdDbObject
 ODDB_DECLARE_MEMBERS (OdDbObject)
 
 ~OdDbObject ()
 
virtual void addRef () override
 
virtual void release () ODRX_NOEXCEPT override
 
virtual long numRefs () const override
 
OdDbObjectId objectId () const
 
OdDbHandle getDbHandle () const
 
OdDbHandle handle () const
 
OdDbObjectId ownerId () const
 
virtual void setOwnerId (OdDbObjectId ownerId)
 
OdDbDatabasedatabase () const
 
void createExtensionDictionary ()
 
OdDbObjectId extensionDictionary () const
 
bool releaseExtensionDictionary ()
 
OdDbXrecordPtr createXrecord (const OdString &xrecordName, OdDb::DuplicateRecordCloning style=OdDb::kDrcIgnore)
 
void upgradeOpen ()
 
void downgradeOpen ()
 
void cancel ()
 
OdResult erase (bool eraseIt=true)
 
void handOverTo (OdDbObject *pNewObject, bool keepXData=true, bool keepExtDict=true)
 
void swapIdWith (OdDbObjectId otherId, bool swapXdata=false, bool swapExtDict=false)
 
virtual void audit (OdDbAuditInfo *pAuditInfo)
 
void dwgIn (OdDbDwgFiler *pFiler)
 
void dwgOut (OdDbDwgFiler *pFiler) const
 
virtual OdDb::DuplicateRecordCloning mergeStyle () const
 
virtual OdResBufPtr xData (const OdString &regappName=OdString::kEmpty) const
 
virtual void setXData (const OdResBuf *pRb)
 
bool hasXData (const OdChar *regappName=nullptr) const
 
bool isEraseStatusToggled () const
 
bool isErased () const
 
bool isReadEnabled () const
 
bool isWriteEnabled () const
 
bool isNotifyEnabled () const
 
bool isModified () const
 
bool isModifiedXData () const
 
bool isModifiedGraphics () const
 
bool isNewObject () const
 
bool isNotifying () const
 
bool isUndoing () const
 
bool isReallyClosing () const
 
bool isDBRO () const
 
void assertReadEnabled () const
 
void assertWriteEnabled (bool autoUndo=true, bool recordModified=true)
 
void assertNotifyEnabled () const
 
void disableUndoRecording (bool disable)
 
bool isUndoRecordingDisabled () const
 
OdDbDwgFilerundoFiler ()
 
void addReactor (OdDbObjectReactor *pReactor) const
 
void removeReactor (OdDbObjectReactor *pReactor) const
 
virtual void addPersistentReactor (const OdDbObjectId &objId)
 
virtual void removePersistentReactor (const OdDbObjectId &objId)
 
bool hasPersistentReactor (const OdDbObjectId &objId) const
 
OdDbObjectIdArray getPersistentReactors () const
 
OdDbObjectReactorArray getTransientReactors () const
 
virtual void recvPropagateModify (const OdDbObject *pSubObj)
 
virtual void xmitPropagateModify () const
 
ODRX_SEALED_VIRTUAL OdDbObjectPtr deepClone (OdDbIdMapping &idMap, OdDbObject *pOwner, bool bPrimary=true) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdDbObjectPtr wblockClone (OdDbIdMapping &idMap, OdDbObject *pOwner, bool bPrimary=true) const ODRX_FINAL
 
void setOdDbObjectIdsInFlux ()
 
bool isOdDbObjectIdsInFlux () const
 
virtual void copied (const OdDbObject *pObject, const OdDbObject *pNewObject)
 
virtual void erased (const OdDbObject *pObject, bool erasing=true)
 
virtual void goodbye (const OdDbObject *pObject)
 
virtual void openedForModify (const OdDbObject *pObject)
 
virtual void modified (const OdDbObject *pObject)
 
virtual void subObjModified (const OdDbObject *pObject, const OdDbObject *pSubObj)
 
virtual void modifyUndone (const OdDbObject *pObject)
 
virtual void modifiedXData (const OdDbObject *pObject)
 
virtual void unappended (const OdDbObject *pObject)
 
virtual void reappended (const OdDbObject *pObject)
 
bool isAProxy () const
 
virtual void objectClosed (const OdDbObjectId &objectId)
 
virtual void modifiedGraphics (const OdDbObject *pObject)
 
bool hasSaveVersionOverride () const
 
void setHasSaveVersionOverride (bool hasSaveVersionOverride)
 
virtual OdDb::DwgVersion getObjectSaveVersion (const OdDbFiler *pFiler, OdDb::MaintReleaseVer *pMaintVer=0) const
 
virtual OdDbObjectPtr decomposeForSave (OdDb::SaveType format, OdDb::DwgVersion ver, OdDbObjectId &replaceId, bool &exchangeXData)
 
void convertForSave (OdDb::DwgVersion ver)
 
virtual bool isPersistent () const
 
virtual OdDbStub * id () const
 
ODRX_SEALED_VIRTUAL OdResult getClassID (void *pClsid) const ODRX_FINAL
 
void setGsNode (OdGsCache *pNode)
 
OdGsCachegsNode () const
 
void xDataTransformBy (const OdGeMatrix3d &xfm)
 
bool hasFields () const
 
OdDbObjectId getField (const OdString &fieldName) const
 
OdDbObjectPtr getField (const OdString &fieldName, OdDb::OpenMode mode) const
 
virtual OdDbObjectId setField (const OdString &fieldName, OdDbField *pField)
 
virtual OdResult removeField (OdDbObjectId fieldId)
 
virtual OdDbObjectId removeField (const OdString &fieldName)
 
OdDbObjectId getFieldDictionary () const
 
OdDbObjectPtr getFieldDictionary (OdDb::OpenMode mode) const
 
virtual OdRxClasssaveAsClass (OdRxClass *pClass) const
 
- Public Member Functions inherited from OdGiDrawable
 ODRX_DECLARE_MEMBERS (OdGiDrawable)
 
virtual DrawableType drawableType () const
 
ODRX_SEALED_VIRTUAL OdUInt32 setAttributes (OdGiDrawableTraits *pTraits) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL bool worldDraw (OdGiWorldDraw *pWd) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL void viewportDraw (OdGiViewportDraw *pVd) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdUInt32 viewportDrawLogicalFlags (OdGiViewportDraw *pVd) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdUInt32 regenSupportFlags () const ODRX_FINAL
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () const
 
bool isKindOf (const OdRxClass *pClass) const
 
virtual OdRxObjectPtr clone () const
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 

Protected Member Functions

bool subWorldDraw (OdGiWorldDraw *pWorldDraw) const ODRX_OVERRIDE
 
void subViewportDraw (OdGiViewportDraw *pViewportDraw) const ODRX_OVERRIDE
 
OdResult subGetGeomExtents (OdGeExtents3d &extents) const ODRX_OVERRIDE
 
void updateMapImageIfNeeded (bool bReset=false) const
 
- Protected Member Functions inherited from OdDbEntity
virtual OdDbObjectPtr subWblockClone (OdDbIdMapping &ownerIdMap, OdDbObject *, bool bPrimary) const ODRX_OVERRIDE
 
virtual OdResult subGetTransformedCopy (const OdGeMatrix3d &xfm, OdDbEntityPtr &pCopy) const
 
virtual OdResult subGetCompoundObjectTransform (OdGeMatrix3d &xM) const
 
virtual bool subCloneMeForDragging ()
 
virtual bool subHideMeForDragging () const
 
virtual void subGripStatus (const OdDb::GripStat status)
 
virtual OdResult subGetOsnapPoints (OdDb::OsnapMode osnapMode, OdGsMarker gsSelectionMark, const OdGePoint3d &pickPoint, const OdGePoint3d &lastPoint, const OdGeMatrix3d &xWorldToEye, OdGePoint3dArray &snapPoints) const
 
virtual OdResult subGetOsnapPoints (OdDb::OsnapMode osnapMode, OdGsMarker gsSelectionMark, const OdGePoint3d &pickPoint, const OdGePoint3d &lastPoint, const OdGeMatrix3d &xWorldToEye, OdGePoint3dArray &snapPoints, const OdGeMatrix3d &insertionMat) const
 
virtual bool subIsContentSnappable () const
 
virtual OdResult subGetGripPoints (OdGePoint3dArray &gripPoints) const
 
virtual OdResult subMoveGripPointsAt (const OdIntArray &indices, const OdGeVector3d &offset)
 
virtual OdResult subGetGripPoints (OdDbGripDataPtrArray &grips, const double curViewUnitSize, const int gripSize, const OdGeVector3d &curViewDir, const int bitFlags) const
 
virtual OdResult subMoveGripPointsAt (const OdDbVoidPtrArray &grips, const OdGeVector3d &offset, int bitFlags)
 
virtual OdResult subGetStretchPoints (OdGePoint3dArray &stretchPoints) const
 
virtual OdResult subMoveStretchPointsAt (const OdIntArray &indices, const OdGeVector3d &offset)
 
virtual OdResult subIntersectWith (const OdDbEntity *pEnt, OdDb::Intersect intType, OdGePoint3dArray &points, OdGsMarker thisGsMarker=0, OdGsMarker otherGsMarker=0) const
 
virtual OdResult subIntersectWith (const OdDbEntity *pEnt, OdDb::Intersect intType, const OdGePlane &projPlane, OdGePoint3dArray &points, OdGsMarker thisGsMarker=0, OdGsMarker otherGsMarker=0) const
 
virtual void subHighlight (bool bDoIt=true, const OdDbFullSubentPath *pSubId=0, bool highlightAll=false) const
 
virtual OdDb::Visibility subVisibility () const
 
virtual OdResult subSetVisibility (OdDb::Visibility visibility, bool doSubents=true)
 
virtual OdResult subDeleteSubentPaths (const OdDbFullSubentPathArray &paths)
 
virtual OdResult subAddSubentPaths (const OdDbFullSubentPathArray &paths)
 
virtual OdResult subMoveGripPointsAtSubentPaths (const OdDbFullSubentPathArray &paths, const OdDbVoidPtrArray &gripAppData, const OdGeVector3d &offset, const OdUInt32 bitflags)
 
virtual OdResult subGetGripPointsAtSubentPath (const OdDbFullSubentPath &path, OdDbGripDataPtrArray &grips, const double curViewUnitSize, const int gripSize, const OdGeVector3d &curViewDir, const OdUInt32 bitflags) const
 
virtual OdResult subGetSubentPathsAtGsMarker (OdDb::SubentType type, OdGsMarker gsMark, const OdGePoint3d &pickPoint, const OdGeMatrix3d &xfm, OdDbFullSubentPathArray &subentPaths, const OdDbObjectIdArray *pEntAndInsertStack=0) const
 
virtual OdResult subGetGsMarkersAtSubentPath (const OdDbFullSubentPath &subPath, OdGsMarkerArray &gsMarkers) const
 
virtual OdDbEntityPtr subSubentPtr (const OdDbFullSubentPath &path) const
 
virtual OdResult subTransformSubentPathsBy (const OdDbFullSubentPathArray &paths, const OdGeMatrix3d &xform)
 
virtual OdResult subGetSubentClassId (const OdDbFullSubentPath &path, void *clsId) const
 
virtual OdResult subGetSubentPathGeomExtents (const OdDbFullSubentPath &path, OdGeExtents3d &extents) const
 
virtual void subSubentGripStatus (OdDb::GripStat status, const OdDbFullSubentPath &subentity)
 
- Protected Member Functions inherited from OdDbObject
 OdDbObject ()
 
- Protected Member Functions inherited from OdGiDrawable
 OdGiDrawable ()
 
virtual OdUInt32 subViewportDrawLogicalFlags (OdGiViewportDraw *vd) const
 
virtual OdUInt32 subRegenSupportFlags () const
 

Friends

class OdDbGeoMapFieldsPE
 

Additional Inherited Members

- Public Types inherited from OdDbRasterImage
enum  ClipBoundaryType { kInvalid , kRect , kPoly }
 
enum  ImageDisplayOpt { kShow = 1 , kShowUnAligned = 2 , kClip = 4 , kTransparent = 8 }
 
- Public Types inherited from OdDbEntity
enum  VisualStyleType { kFullVisualStyle , kFaceVisualStyle , kEdgeVisualStyle }
 
- Public Types inherited from OdGiDrawable
enum  SetAttributesFlags {
  kDrawableNone = 0 , kDrawableIsAnEntity = 1 , kDrawableUsesNesting = 2 , kDrawableIsCompoundObject = 4 ,
  kDrawableViewIndependentViewportDraw = 8 , kDrawableIsInvisible = 16 , kDrawableHasAttributes = 32 , kDrawableRegenTypeDependantGeometry = 64 ,
  kDrawableIsDimension = (kDrawableIsAnEntity + kDrawableIsCompoundObject + 128) , kDrawableRegenDraw = 256 , kDrawableStandardDisplaySingleLOD = 512 , kDrawableShadedDisplaySingleLOD = 1024 ,
  kDrawableViewDependentViewportDraw = 2048 , kDrawableBlockDependentViewportDraw = 4096 , kDrawableIsExternalReference = 8192 , kDrawableNotPlottable = 16384 ,
  kDrawableNotAllowLCS = 32768 , kDrawableMergeControlOff = 65536 , kLastFlag = kDrawableMergeControlOff
}
 
enum  DrawableType {
  kGeometry = 0 , kDistantLight = 1 , kPointLight = 2 , kSpotLight = 3 ,
  kAmbientLight , kSolidBackground , kGradientBackground , kImageBackground ,
  kGroundPlaneBackground , kViewport , kWebLight , kSkyBackground ,
  kImageBasedLightingBackground , kEnvironmentBackground = 16 , kCustomBackground
}
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 
static void rxInit ()
 
static void rxUninit ()
 
- Protected Attributes inherited from OdDbObject
OdDbObjectImplm_pImpl
 

Detailed Description

This class represents an embedded raster image that is captured from a portion of a live map.

<group OdDb_Classes>

Definition at line 38 of file DbGeoMap.h.

Constructor & Destructor Documentation

◆ OdDbGeoMap()

OdDbGeoMap::OdDbGeoMap ( )

Default constructor.

◆ ~OdDbGeoMap()

virtual OdDbGeoMap::~OdDbGeoMap ( )
virtual

Default destructor.

Member Function Documentation

◆ bottomLeftPt()

OdGePoint3d OdDbGeoMap::bottomLeftPt ( ) const

Returns the bottom left corner point of the image frame.

◆ brightness()

OdInt8 OdDbGeoMap::brightness ( ) const
virtual

Returns the brightness value for this raster image entity (DXF 281).

Returns
Returns a value in the range [0.0 .. 100.0].

Reimplemented from OdDbRasterImage.

◆ clipBoundary()

const OdGePoint2dArray & OdDbGeoMap::clipBoundary ( ) const
virtual

Returns the clip boundary for this raster image entity (DXF 14, 24).

Remarks
The clip boundary is specified in pixel coordinates.

Reimplemented from OdDbRasterImage.

◆ composeForLoad()

void OdDbGeoMap::composeForLoad ( OdDb::SaveType format,
OdDb::DwgVersion version,
OdDbAuditInfo * pAuditInfo )
virtual

After loading from file, performs necessary actions which require accessing other Database objects. For example, processing round-trip data.

Parameters
format[in] File type.
version[in] Drawing version of file loaded.
pAuditInfo[in] Pointer to an OdDbAuditInfo object. Can be Null. Not Null if drawing is being loaded in Recover mode. If so, audit() will be called later.
Remarks
If an object in its dwgInFields() method accesses other database objects, it's non-thread-safe. Such objects can't be loaded in MT mode. To enable MT loading of custom objects, its dwgInFields() should not access other database objects. Such actions should be performed in composeForLoad(). composeForLoad() is called in single-thread mode after all thread-safe objects are loaded (their dwgInFields() were called in MT mode).

Being overridden in custom classes, the function first should call the parent class method. Parent class implementation takes care of parent class round-trip data and other actions which require access to other objects.

Reimplemented from OdDbObject.

◆ contrast()

OdInt8 OdDbGeoMap::contrast ( ) const
virtual

Returns the contrast value for this raster image entity (DXF 282).

Returns
Returns a value in the range [0.0 .. 100.0].

Reimplemented from OdDbRasterImage.

◆ decomposeForSave()

OdDbObjectPtr OdDbGeoMap::decomposeForSave ( OdDb::DwgVersion ver,
OdDbObjectId & replaceId,
bool & exchangeXData )
virtual

Determines the behavior for custom objects when saving to .dwg or .dxf file.

Parameters
ver[in] Drawing version to save as.
replaceId[out] Object ID of the object replacing this object.
exchangeXData[out] Set to true if and only if this function did not add XData to the replacement object.
Remarks
This function either

Returns an OdDbObjectPtr for a non- database -resident (NDBRO) replacement object, setting replaceId to OdDbObjectId::kNull. Returns NULL, setting replaceId for a database -resident (DBRO) replacement object.

Custom objects can decompose themselves into other objects, adding additional XData as required. The Drawings transfers XData from this object to the replacement object if and only if exchangeXData is true.

The default implementation returns NULL and sets replaceId to OdDbObjectId::kNull. This function can be overridden in custom classes.

The method is not intended to be called by client code. For processing owned objects use convertForSave() method.

Reimplemented from OdDbObject.

◆ dragStatus()

void OdDbGeoMap::dragStatus ( const OdDb::DragStat status)
virtual

Notification function called when this entity is involved in a drag operation.

Parameters
status[in] Status of the drag operation.

Reimplemented from OdDbEntity.

◆ dwgInFields()

OdResult OdDbGeoMap::dwgInFields ( OdDbDwgFiler * pFiler)
virtual

Reads the .dwg file data of this object.

Parameters
pFiler[in] Filer object from which data are read.
Returns
Returns the filer status.

This function is called by dwgIn() to allow the object to read its data.

When overriding this function:

1) Call assertWriteEnabled(). 2) Call the parent class's dwgInFields(pFiler). 3) If it returns eOK, continue; otherwise return whatever the parent's dwgInFields(pFiler) returned. 4) Call the OdDbDwgFiler(pFiler) methods to read each of the object's data items in the order they were written. 5) Return pFiler->filerStatus().

Reimplemented from OdDbRasterImage.

◆ dwgOutFields()

void OdDbGeoMap::dwgOutFields ( OdDbDwgFiler * pFiler) const
virtual

Writes the .dwg file data of this object.

Parameters
pFiler[in] Pointer to the filer to which data are written.
Remarks

This function is called by dwgIn() to allow the object to write its data.

When overriding this function:

1) Call assertReadEnabled(). 2) Call the parent class's dwgOutFields(pFiler). 3) Call the OdDbDwgFiler(pFiler) methods to write each of the object's data items in the order they were written.

Reimplemented from OdDbRasterImage.

◆ dxfInFields()

OdResult OdDbGeoMap::dxfInFields ( OdDbDxfFiler * pFiler)
virtual

Reads the DXF data of this object.

Parameters
pFiler[in] Pointer to the filer from which data are read.
Returns
Returns the filer status.

This function is called by dxfIn() to allow the object to read its data.

When overriding this function:

1) Call assertWriteEnabled(). 2) Call the parent class's dwgInFields(pFiler). 3) If it returns eOK, continue; otherwise return whatever the parent's dxfInFields(pFiler) returned. 4) Call the OdDbDxfFiler(pFiler) methods to read each of the object's data items in the order they were written. 5) Return pFiler->filerStatus().

Reimplemented from OdDbRasterImage.

◆ dxfOutFields()

void OdDbGeoMap::dxfOutFields ( OdDbDxfFiler * pFiler) const
virtual

Writes the DXF data of this object.

Parameters
pFiler[in] Pointer to the filer to which data are to be written.
Remarks

This function is called by dxfOut() to allow the object to write its data.

When overriding this function:

1) Call assertReadEnabled(). 2) Call the parent class's dxfOutFields(pFiler). 4) Use pFiler to call the OdDbDxfFiler methods to write each of the object's data items in the order they were written.

Reimplemented from OdDbRasterImage.

◆ fade()

OdInt8 OdDbGeoMap::fade ( ) const
virtual

Returns the fade value for this raster image entity (DXF 283).

Returns
Returns a value in the range [0.0 .. 100.0].

Reimplemented from OdDbRasterImage.

◆ getImageVertices()

OdResult OdDbGeoMap::getImageVertices ( OdGePoint3dArray & vertices) const

◆ getOrientation()

void OdDbGeoMap::getOrientation ( OdGePoint3d & origin,
OdGeVector3d & u,
OdGeVector3d & v ) const
virtual

Returns the orientation and origin of this raster image entity.

Parameters
origin[out] Receives the lower-left corner.
u[out] Receives the vector defining the image direction and width.
v[out] Receives the vector defining the direction of the height of the image.
Remarks
These vectors define the outer edges of the raster image entity.

Reimplemented from OdDbRasterImage.

◆ getVertices()

OdResult OdDbGeoMap::getVertices ( OdGePoint3dArray & vertices) const
virtual

Adds the frame vertices of this raster image entity to the specified array.

Parameters
vertices[in/out] Receives the vertices of the image frame.
Remarks
If isClipped(), these are the vertices of the clip boundary.

If !isClipped(), these are the corners of the image.

Reimplemented from OdDbRasterImage.

◆ height()

double OdDbGeoMap::height ( ) const

Returns the height of the image frame.

◆ image()

virtual OdGiRasterImagePtr OdDbGeoMap::image ( bool load = true) const
virtual

◆ imageBottomLeftPt()

OdGePoint3d OdDbGeoMap::imageBottomLeftPt ( ) const

Returns the bottom left corner of the embedded image.

◆ imageDefId()

OdDbObjectId OdDbGeoMap::imageDefId ( ) const
virtual

Returns the Object ID of the OdDbRasterImageDef object associated with this raster image entity (DXF 340).

Reimplemented from OdDbRasterImage.

◆ imageHeight()

double OdDbGeoMap::imageHeight ( ) const

Returns the height of the embedded image.

◆ imageSize()

OdGeVector2d OdDbGeoMap::imageSize ( bool getCachedValue = false) const
virtual

Returns the size in pixels of this raster image entity (DXF 13, 23).

Parameters
getCachedValue[in] True to always return cached value. False to return the value from the OdDbRasterImageDef object of available.

Reimplemented from OdDbRasterImage.

◆ imageWidth()

double OdDbGeoMap::imageWidth ( ) const

Returns the width of the embedded image.

◆ isOutOfDate()

bool OdDbGeoMap::isOutOfDate ( ) const

Returns a flag that indicates whether the image is up to date.

◆ LOD()

OdInt8 OdDbGeoMap::LOD ( ) const

Returns the LOD (Level Of Detail, zoom level) of the map image. Updating the image resets this value.

◆ mapType()

OdGeoMapType OdDbGeoMap::mapType ( ) const

Returns the current map type of the map image.

◆ ODDB_DECLARE_MEMBERS()

OdDbGeoMap::ODDB_DECLARE_MEMBERS ( OdDbGeoMap )

◆ resolution()

OdGeoMapResolution OdDbGeoMap::resolution ( ) const

Returns the resolution of the map image that is applied on top of the LOD.

◆ setBrightness()

OdResult OdDbGeoMap::setBrightness ( OdInt8 brightness)
virtual

Sets the brightness value for this raster image entity (DXF 281).

Parameters
brightness[in] Image brightness [0.0 .. 100.0].

Reimplemented from OdDbRasterImage.

◆ setContrast()

OdResult OdDbGeoMap::setContrast ( OdInt8 contrast)
virtual

Sets the contrast value for this raster image entity (DXF 282).

Parameters
contrast[in] Image contrast. [0.0 .. 100.0]

Reimplemented from OdDbRasterImage.

◆ setFade()

OdResult OdDbGeoMap::setFade ( OdInt8 fade)
virtual

Sets the fade value for this raster image entity (DXF 283).

Parameters
fade[in] Image fade. [0.0 .. 100.0].

Reimplemented from OdDbRasterImage.

◆ setMapType()

OdResult OdDbGeoMap::setMapType ( OdGeoMapType mapType)

Sets the current map type for the map image.

Parameters
mapType[in] Map type enum value.
Returns
eOk if successful, or an appropriate error code otherwise.

◆ setOrientation()

bool OdDbGeoMap::setOrientation ( const OdGePoint3d & origin,
const OdGeVector3d & u,
const OdGeVector3d & v )
virtual

Sets the orientation and origin of this raster image entity.

Parameters
origin[in] Lower-left corner.
u[in] Image width vector.
v[in] Image height vector.
Returns
Returns true if and only if successful.
Remarks
The actual height of the image is determined by the width and aspect ratio fo the original image.

These vectors define the outer edges of the raster image entity.

Reimplemented from OdDbRasterImage.

◆ setResolution()

OdResult OdDbGeoMap::setResolution ( OdGeoMapResolution resolution)

Sets the resolution for the map image that is applied on top of the LOD.

Parameters
resolution[in] Resolution enum value.
Returns
eOk if successful, or an appropriate error code otherwise.

◆ subClose()

void OdDbGeoMap::subClose ( )
virtual

Called as the first operation as this object is being closed, for database -resident objects only.

Remarks
This function is notified just before the current open operation is to be closed, giving this function the ability to perform necessary operatons.

When overriding this function:

1) If the OdDbObject's state is incorrect, throw exception.

2) Call parent class's subClose().

3) If other actions are required before close, do them.

The default implementation of this function does nothing. This function can be overridden in custom classes.

Reimplemented from OdDbRasterImage.

◆ subErase()

OdResult OdDbGeoMap::subErase ( bool erasing)
virtual

Called as the first operation as this object is being erased or unerased.

Parameters
erasing[in] A copy of the erasing argument passed to erase().
Remarks
This function is notified just before the current object is to be erased, giving this function the ability to cancel the erase.

Returns eOk if and only if erase() is to continue.

When overriding this function:

1) If the OdDbObject's state is incorrect, return something other than eOk.

2) If the parent class's subErase() returns anything other than eOk, immediately return it.

3) If other actions are required before erase, do them.

4) Return eOk.

If you must make changes to this object's state, either make them after step 2, or roll them back if step 2 returns other than eOk.

The default implementation of this function does nothing but return eOk. This function can be overridden in custom classes.

Reimplemented from OdDbEntity.

◆ subGetGeomExtents()

OdResult OdDbGeoMap::subGetGeomExtents ( OdGeExtents3d & extents) const
protectedvirtual

Reimplemented from OdDbRasterImage.

◆ subTransformBy()

OdResult OdDbGeoMap::subTransformBy ( const OdGeMatrix3d & xform)
virtual

Reimplemented from OdDbRasterImage.

◆ subViewportDraw()

void OdDbGeoMap::subViewportDraw ( OdGiViewportDraw * pViewportDraw) const
protectedvirtual

Reimplemented from OdDbRasterImage.

◆ subWorldDraw()

bool OdDbGeoMap::subWorldDraw ( OdGiWorldDraw * pWorldDraw) const
protectedvirtual

Reimplemented from OdDbRasterImage.

◆ updateMapImage()

OdResult OdDbGeoMap::updateMapImage ( bool bReset = false)

Updates the embedded image by recapturing an area from the live map.

Parameters
bReset[in] Indicates whether to capture the image in the optimal screen resolution. If true, the LOD and resolution are reset to optimal values.
Returns
eOk if successful, or an appropriate error code otherwise.

◆ updateMapImageIfNeeded()

void OdDbGeoMap::updateMapImageIfNeeded ( bool bReset = false) const
protected

◆ width()

double OdDbGeoMap::width ( ) const

Returns the width of the image frame.

Friends And Related Symbol Documentation

◆ OdDbGeoMapFieldsPE

friend class OdDbGeoMapFieldsPE
friend

Definition at line 172 of file DbGeoMap.h.


The documentation for this class was generated from the following file: