CFx SDK Documentation
2023 SP0
|
#include <DbRasterVariables.h>
Static Public Member Functions | |
static OdDbRasterVariablesPtr | openRasterVariables (OdDbDatabase *pDb, OdDb::OpenMode openMode=OdDb::kForRead) |
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 represents RasterVariables objects in an OdDbDatabase instance.
<group OdDb_Classes>
Definition at line 50 of file DbRasterVariables.h.
Enumerator | |
---|---|
kImageFrameInvalid | |
kImageFrameOff | |
kImageFrameAbove | |
kImageFrameBelow | |
kImageFrameOnNoPlot |
Definition at line 58 of file DbRasterVariables.h.
Enumerator | |
---|---|
kImageQualityInvalid | |
kImageQualityDraft | |
kImageQualityHigh |
Definition at line 68 of file DbRasterVariables.h.
OdDbRasterVariables::OdDbRasterVariables | ( | ) |
|
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 |
Returns the image frame display (DXF 70).
Value Description kImageFrameInvalid -1 Invalid kImageFrameOff 0 Frame is off kImageFrameAbove 1 Frame is above the image kImageFrameBelow 2 Frame is below the image
|
virtual |
Returns the image display quality (DXF 71).
Value Description kImageQualityInvalid -1 Invalid kImageQualityDraft 0 Draft quality kImageQualityHigh 1 High quality
OdDbRasterVariables::ODDB_DECLARE_MEMBERS | ( | OdDbRasterVariables | ) |
|
static |
Opens the RasterVariables object in the specified database. Creates a RasterVariables object if one does not exist.
openMode | [in] Mode in which to open the RasterVariables object. |
pDb | [in] Pointer to the database containg the RasterVariables object. |
|
virtual |
Sets the image frame display (DXF 70).
imageFrame | [in] Image frame display. |
Value Description kImageFrameOff 0 Frame is off kImageFrameAbove 1 Frame is above the image kImageFrameBelow 2 Frame is below the image
|
virtual |
Sets the image display quality (DXF 71).
imageQuality | [in] Image Quality. |
Value Description kImageQualityInvalid -1 Invalid kImageQualityDraft 0 Draft quality kImageQualityHigh 1 High quality
|
virtual |
Specifies the real-world units corresponding to drawing units (DXF 72).
units | [in] Real-world units. |
Value OdDbRasterImageDef::kNone 0 OdDbRasterImageDef::kMillimeter 1 OdDbRasterImageDef::kCentimeter 2 OdDbRasterImageDef::kMeter 3 OdDbRasterImageDef::kKilometer 4 OdDbRasterImageDef::kInch 5 OdDbRasterImageDef::kFoot 6 OdDbRasterImageDef::kYard 7 OdDbRasterImageDef::kMile 8 OdDbRasterImageDef::kMicroinches 9 OdDbRasterImageDef::kMils 10 OdDbRasterImageDef::kAngstroms 11 OdDbRasterImageDef::kNanometers 12 OdDbRasterImageDef::kMicrons 13 OdDbRasterImageDef::kDecimeters 14 OdDbRasterImageDef::kDekameters 15 OdDbRasterImageDef::kHectometers 16 OdDbRasterImageDef::kGigameters 17 OdDbRasterImageDef::kAstronomical 18 OdDbRasterImageDef::kLightYears 19 OdDbRasterImageDef::kParsecs 20
|
virtual |
Returns the real-world units corresponding to drawing units (DXF 72).
Value OdDbRasterImageDef::kNone 0 OdDbRasterImageDef::kMillimeter 1 OdDbRasterImageDef::kCentimeter 2 OdDbRasterImageDef::kMeter 3 OdDbRasterImageDef::kKilometer 4 OdDbRasterImageDef::kInch 5 OdDbRasterImageDef::kFoot 6 OdDbRasterImageDef::kYard 7 OdDbRasterImageDef::kMile 8 OdDbRasterImageDef::kMicroinches 9 OdDbRasterImageDef::kMils 10 OdDbRasterImageDef::kAngstroms 11 OdDbRasterImageDef::kNanometers 12 OdDbRasterImageDef::kMicrons 13 OdDbRasterImageDef::kDecimeters 14 OdDbRasterImageDef::kDekameters 15 OdDbRasterImageDef::kHectometers 16 OdDbRasterImageDef::kGigameters 17 OdDbRasterImageDef::kAstronomical 18 OdDbRasterImageDef::kLightYears 19 OdDbRasterImageDef::kParsecs 20