CFx SDK Documentation  2020SP3
DbRasterVariables.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, Open Design Alliance (the "Alliance").
3 // All rights reserved.
4 //
5 // This software and its documentation and related materials are owned by
6 // the Alliance. The software may only be incorporated into application
7 // programs owned by members of the Alliance, subject to a signed
8 // Membership Agreement and Supplemental Software License Agreement with the
9 // Alliance. The structure and organization of this software are the valuable
10 // trade secrets of the Alliance and its suppliers. The software is also
11 // protected by copyright law and international treaty provisions. Application
12 // programs incorporating this software must include the following statement
13 // with their copyright notices:
14 //
15 // This application incorporates Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2017 by Open Design Alliance.
18 // All rights reserved.
19 //
20 // By use of this software, its documentation or related materials, you
21 // acknowledge and accept the above terms.
23 
24 #ifndef __IMGVARS_H
25 #define __IMGVARS_H
27 #include "TD_PackPush.h"
28 
30 
31 #include "DbRasterImageDef.h"
32 
37 
51 {
52 public:
53 
55 
57 
59  {
60  kImageFrameInvalid = -1, // Invalid
61  kImageFrameOff = 0, // Frame is off
62  kImageFrameAbove = 1, // Frame is above the image
63  kImageFrameBelow = 2, // Frame is below the image
64  // New in R24 (AC24 support)
65  kImageFrameOnNoPlot = 3 // Frame is above the image, but not drawn during plotting
66  };
67 
69  {
70  kImageQualityInvalid = -1, // Invalid
71  kImageQualityDraft = 0, // Draft quality
72  kImageQualityHigh = 1 // High quality
73  };
74 
76  OdDbDwgFiler* pFiler);
77 
78  virtual void dwgOutFields(
79  OdDbDwgFiler* pFiler) const;
80 
82  OdDbDxfFiler* pFiler);
83 
84  virtual void dxfOutFields
85  (OdDbDxfFiler* pFiler) const;
86 
102  virtual FrameSettings imageFrame() const;
103 
119  virtual void setImageFrame(
120  FrameSettings imageFrame );
121 
135  virtual ImageQuality imageQuality() const;
136 
151  virtual void setImageQuality(
152  ImageQuality imageQuality );
153 
186 
220  virtual void setUserScale(
222 
233  OdDbDatabase* pDb,
234  OdDb::OpenMode openMode = OdDb::kForRead);
235 };
236 //FELIX_CHANGE_BEGIN
237 #include "TD_PackPop.h"
238 //FELIX_CHANGE_END
239 #endif
OdResult
OdResult
Definition: OdResult.h:29
OdDbDatabase
Definition: DbDatabase.h:421
OdDbRasterVariables
Definition: DbRasterVariables.h:51
OdDbRasterVariables::OdDbRasterVariables
OdDbRasterVariables()
DbRasterImageDef.h
OdDbRasterVariables::openRasterVariables
static OdDbRasterVariablesPtr openRasterVariables(OdDbDatabase *pDb, OdDb::OpenMode openMode=OdDb::kForRead)
OdDbRasterVariables::dwgInFields
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdDbRasterVariables::FrameSettings
FrameSettings
Definition: DbRasterVariables.h:59
OdDbRasterVariables::imageFrame
virtual FrameSettings imageFrame() const
OdDbRasterVariables::userScale
virtual OdDbRasterImageDef::Units userScale() const
TD_PackPop.h
OdDbRasterVariables::setImageFrame
virtual void setImageFrame(FrameSettings imageFrame)
OdDbRasterVariables::imageQuality
virtual ImageQuality imageQuality() const
OdDb::kForRead
@ kForRead
Definition: DbObjectId.h:56
OdSmartPtr
Definition: SmartPtr.h:58
OdDbRasterVariables::dxfInFields
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdDbRasterVariables::setUserScale
virtual void setUserScale(OdDbRasterImageDef::Units units)
OdDbRasterVariables::ODDB_DECLARE_MEMBERS
ODDB_DECLARE_MEMBERS(OdDbRasterVariables)
OdDbRasterVariablesPtr
OdSmartPtr< OdDbRasterVariables > OdDbRasterVariablesPtr
Definition: DbRasterVariables.h:29
OdDbRasterVariables::dxfOutFields
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
OdDbDxfFiler
Definition: DbFiler.h:194
OdDb::OpenMode
OpenMode
Definition: DbObjectId.h:54
OdGiRasterImage::Units
Units
Definition: GiRasterImage.h:42
OdDbRasterVariables::dwgOutFields
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdDbRasterVariables::setImageQuality
virtual void setImageQuality(ImageQuality imageQuality)
TOOLKIT_EXPORT
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdDbObject
Definition: DbObject.h:211
OdDbDwgFiler
Definition: DbFiler.h:1031
OdDbRasterVariables::ImageQuality
ImageQuality
Definition: DbRasterVariables.h:69