CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
27 #ifndef __DBRASTERIMAGEDEF_H
28 #define __DBRASTERIMAGEDEF_H
115 bool modifyDatabase =
true);
127 bool modifyDatabase =
true);
218 kMaxSuggestNameSize = 2049
229 const OdString& strFilePath,
int nMaxLength = kMaxSuggestNameSize);
333 bool erasing =
true);
428 bool cancelAllowed ) = 0;
439 class TOOLKIT_EXPORT OdDbRasterImageDefFileAccessReactor : public OdDbObjectReactor
442 OdDbRasterImageDefFileAccessReactor() {}
472 const OdString& pActivePath,
bool& replacePath,
OdString& replacementPath) = 0;
485 bool& replacePath,
OdString& replacementPath) = 0;
515 #endif // __DBRASTERIMAGEDEF_H
virtual void unload(bool modifyDatabase=true)
virtual OdGeVector2d size() const
OdResult setSourceFileName(const OdString &pathName)
static int classVersion()
ODDB_DECLARE_MEMBERS(OdDbRasterImageDefReactor)
void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual bool isLoaded() const
void erased(const OdDbObject *pObject, bool erasing=true)
void updateEntities() const
ODDB_DECLARE_MEMBERS(OdDbRasterImageDef)
virtual void subHandOverTo(OdDbObject *pNewObject)
void dwgOutFields(OdDbDwgFiler *pFiler) const
OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdResult subErase(bool erasing)
virtual bool onDeleteImage(const OdDbRasterImageDef *pImageDef, DeleteImageEvent event, bool cancelAllowed)
static int classVersion()
virtual OdGiRasterImagePtr image(bool load=true)
OdDbRasterImageDefTransReactor()
OdSmartPtr< OdDbRasterImageDefReactor > OdDbRasterImageDefReactorPtr
virtual OdResult setResolutionMMPerPixel(const OdGeVector2d &)
OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdResult dwgInFields(OdDbDwgFiler *pFiler)
virtual OdResult load(bool modifyDatabase=true)
OdString sourceFileName() const
static OdString suggestName(const OdDbDictionary *pImageDictionary, const OdString &strFilePath, int nMaxLength=kMaxSuggestNameSize)
virtual OdGiRasterImage::Units resolutionUnits() const
virtual void setResolutionUnits(enum OdGiRasterImage::Units)
virtual OdGeVector2d resolutionMMPerPixel() const
void dwgOutFields(OdDbDwgFiler *pFiler) const
OdDbRasterImageDefReactor()
static OdDbObjectId imageDictionary(OdDbDatabase *pDb)
static OdDbObjectId createImageDictionary(OdDbDatabase *pDb)
int entityCount(bool *pbLocked=NULL) const
OdResult dwgInFields(OdDbDwgFiler *pFiler)
static void setEnable(bool enable)
virtual bool onDeleteImage(const OdDbRasterImageDef *pImageDef, OdDbRasterImageDefReactor::DeleteImageEvent event, bool cancelAllowed)=0
void modified(const OdDbObject *pObject)
void dxfOutFields(OdDbDxfFiler *pFiler) const
ODRX_DECLARE_MEMBERS(OdDbRasterImageDefTransReactor)
OdString activeFileName() const
OdGiRasterImage::Units Units
#define ODRX_DECLARE_MEMBERS(ClassName)
virtual void setImage(OdGiRasterImage *pImage, bool modifyDatabase=true)
OdSmartPtr< OdDbRasterImageDef > OdDbRasterImageDefPtr
OdResult setActiveFileName(const OdString &pPathName)