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;
442 OdDbRasterImageDefFileAccessReactor() {}
472 const OdString& pActivePath,
bool& replacePath,
OdString& replacementPath) = 0;
485 bool& replacePath,
OdString& replacementPath) = 0;
OdSmartPtr< OdDbRasterImageDef > OdDbRasterImageDefPtr
OdSmartPtr< OdDbRasterImageDefReactor > OdDbRasterImageDefReactorPtr
OdResult dwgInFields(OdDbDwgFiler *pFiler)
virtual void unload(bool modifyDatabase=true)
virtual void setImage(OdGiRasterImage *pImage, bool modifyDatabase=true)
void dwgOutFields(OdDbDwgFiler *pFiler) const
virtual void setResolutionUnits(enum OdGiRasterImage::Units)
virtual OdGeVector2d resolutionMMPerPixel() const
virtual void subHandOverTo(OdDbObject *pNewObject)
static int classVersion()
virtual OdGiRasterImage::Units resolutionUnits() const
virtual OdGeVector2d size() const
OdGiRasterImage::Units Units
OdString activeFileName() const
static OdDbObjectId createImageDictionary(OdDbDatabase *pDb)
OdResult setSourceFileName(const OdString &pathName)
OdResult setActiveFileName(const OdString &pPathName)
void updateEntities() const
static OdString suggestName(const OdDbDictionary *pImageDictionary, const OdString &strFilePath, int nMaxLength=kMaxSuggestNameSize)
virtual OdGiRasterImagePtr image(bool load=true)
ODDB_DECLARE_MEMBERS(OdDbRasterImageDef)
OdString sourceFileName() const
void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual OdResult setResolutionMMPerPixel(const OdGeVector2d &)
OdResult subErase(bool erasing)
virtual OdResult load(bool modifyDatabase=true)
virtual bool isLoaded() const
int entityCount(bool *pbLocked=NULL) const
OdResult dxfInFields(OdDbDxfFiler *pFiler)
static OdDbObjectId imageDictionary(OdDbDatabase *pDb)
void dxfOutFields(OdDbDxfFiler *pFiler) const
void erased(const OdDbObject *pObject, bool erasing=true)
OdDbRasterImageDefReactor()
void dwgOutFields(OdDbDwgFiler *pFiler) const
static int classVersion()
ODDB_DECLARE_MEMBERS(OdDbRasterImageDefReactor)
void modified(const OdDbObject *pObject)
OdResult dwgInFields(OdDbDwgFiler *pFiler)
virtual bool onDeleteImage(const OdDbRasterImageDef *pImageDef, DeleteImageEvent event, bool cancelAllowed)
OdResult dxfInFields(OdDbDxfFiler *pFiler)
static void setEnable(bool enable)
OdDbRasterImageDefTransReactor()
ODRX_DECLARE_MEMBERS(OdDbRasterImageDefTransReactor)
virtual bool onDeleteImage(const OdDbRasterImageDef *pImageDef, OdDbRasterImageDefReactor::DeleteImageEvent event, bool cancelAllowed)=0
ODRX_DECLARE_MEMBERS(OdGiDrawable)