CFx SDK Documentation
2020SP3
|
#include <DbRasterImageDef.h>
Static Public Member Functions | |
static void | setEnable (bool enable) |
static int | classVersion () |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Additional Inherited Members | |
Protected Member Functions inherited from OdDbObject | |
OdDbObject () | |
virtual OdResult | subGetClassID (void *pClsid) const |
virtual OdDbObjectPtr | subDeepClone (OdDbIdMapping &ownerIdMap, OdDbObject *pOwner, bool bPrimary) const |
virtual OdDbObjectPtr | subWblockClone (OdDbIdMapping &ownerIdMap, OdDbObject *pOwner, bool bPrimary) const |
Protected Member Functions inherited from OdGiDrawable | |
OdGiDrawable () | |
virtual OdUInt32 | subViewportDrawLogicalFlags (OdGiViewportDraw *vd) const |
virtual OdUInt32 | subRegenSupportFlags () const |
Protected Attributes inherited from OdDbObject | |
OdDbObjectImpl * | m_pImpl |
This class implements raster image definition reactor objects in an OdDbDatabase instance.
Modifications of image definition objects redraw their dependent raster image entities. Deletion of image definition objects delete their dependent raster image entities.
<group OdDb_Classes>
Definition at line 304 of file DbRasterImageDef.h.
Enumerator | |
---|---|
kUnload | |
kErase |
Definition at line 345 of file DbRasterImageDef.h.
OdDbRasterImageDefReactor::OdDbRasterImageDefReactor | ( | ) |
|
static |
Returns the version of the raster image associated with this object.
|
virtual |
Reads the .dwg file data of this object.
pFiler | [in] Filer object from which data are read. |
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 OdDbObject.
|
virtual |
Writes the .dwg file data of this object.
pFiler | [in] Pointer to the filer to which data are written. |
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 OdDbObject.
|
virtual |
Reads the DXF data of this object.
pFiler | [in] Pointer to the filer from which data are read. |
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 OdDbObject.
|
virtual |
Writes the DXF data of this object.
pFiler | [in] Pointer to the filer to which data are to be written. |
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 OdDbObject.
|
virtual |
Notification function called whenever an object has been erased or unerased.
pObject | [in] Pointer to the object that was erased/unerased. |
erasing | [in] True if and only if this object is being erased. |
Reimplemented from OdDbObject.
|
virtual |
Notification function called whenever an object is opened OdDb::kForWrite, a function has been called that could modify the content of this object, and this object is now being closed.
pObject | [in] Pointer to the object that is being closed after being modified. |
Reimplemented from OdDbObject.
OdDbRasterImageDefReactor::ODDB_DECLARE_MEMBERS | ( | OdDbRasterImageDefReactor | ) |
|
virtual |
Notification function called whenever an OdDbRasterImageDef object is about to be unloaded or erased.
pImageDef | [in] Pointer to the OdDbRasterImageDef object sending this notification. |
event | [in] Event triggering the notification. |
cancelAllowed | [in] True to enable user cancellation, false to disable. |
Value kUnload 1 kErase 2
|
static |
Controls notifications of OdDbRasterImage object events.
enable | [in] If and only if true, enables notifications. |