CFx SDK Documentation  2023 SP0
DbRenderSettings.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 _DbRenderSettings_h_Included_
25 #define _DbRenderSettings_h_Included_
26 
27 #include "Gi/GiEnvironment.h"
28 
44 {
45 public:
47 
50 
54  virtual OdGiDrawable* drawable();
55 
65 
69  OdString name() const;
70 
75  void setDescription(const OdString& description);
76 
81 
90  void setDisplayIndex(int displayIndex);
91 
99  int displayIndex() const;
100 
101 
111  void setMaterialsEnabled(bool materialsEnabled);
112 
121  bool materialsEnabled() const;
122 
127  void setTextureSampling(bool textureSampling);
128 
132  bool textureSampling() const;
133 
143  void setBackFacesEnabled(bool backFacesEnabled);
144 
148  bool backFacesEnabled() const;
149 
159  void setShadowsEnabled(bool shadowsEnabled);
160 
164  bool shadowsEnabled() const;
165 
166 
178 
187 
196  void setDiagnosticBackgroundEnabled(bool diagnosticBackgroundEnabled);
197 
202 
210 
214  bool isPredefined() const;
215 
216  // OdDbObject functions
217 
219  virtual void dwgOutFields(OdDbDwgFiler* pFiler) const;
221  virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
222 
223  // OdGiDrawable functions
224 
226 
227  virtual bool operator==(const OdDbRenderSettings& settings);
228 };
229 
234 
235 
251 {
252 public:
257  {
258  kSamplingMultiplierZero = 0, // 0
259  kSamplingMultiplierOneEighth = 1, // 1/8
260  kSamplingMultiplierOneFourth = 2, // 1/4
261  kSamplingMultiplierOneHalf = 3, // 1/2
262  kSamplingMultiplierOne = 4, // 1
263  kSamplingMultiplierTwo = 5 // 2
264  };
265 public:
267 
269 
271 
287 
299  void sampling(int& min, int& max) const;
300 
320  double height);
321 
328  void SamplingFilter(OdGiMrFilter& filter, double& width, double& height)
329  const;
330 
347  OdResult setSamplingContrastColor(float red, float green, float blue, float alpha);
348 
356  void samplingContrastColor(float& red, float& green, float& blue, float& alpha) const;
357 
363  void setShadowMode(OdGiMrShadowMode shadowMode);
364 
369 
376  void setShadowMapsEnabled(bool shadowMapsEnabled);
377 
381  bool shadowMapsEnabled() const;
382 
389  void setRayTracingEnabled(bool rayTracingEnabled);
390 
394  bool rayTracingEnabled() const;
395 
415  OdResult setRayTraceDepth(int reflection, int refraction,
416  int sum);
417 
425  void rayTraceDepth(int& reflection, int& refraction, int& sum) const;
426 
436  void setGlobalIlluminationEnabled(bool globalIlluminationEnabled);
437 
443 
456  OdResult setGISampleCount(int numPhotons);
457 
462  int giSampleCount() const;
463 
474  void setGISampleRadiusEnabled(bool giSampleRadiusEnabled);
475 
480  bool giSampleRadiusEnabled() const;
481 
496  OdResult setGISampleRadius(double radius);
497 
502  double giSampleRadius() const;
503 
514 
519  int giPhotonsPerLight() const;
520 
540  OdResult setPhotonTraceDepth(int reflection, int refraction,
541  int sum);
542 
550  void photonTraceDepth(int& reflection, int& refraction, int& sum) const;
551 
558  void setFinalGatheringEnabled(bool finalGatheringEnabled);
559 
563  bool finalGatheringEnabled() const;
564 
577  OdResult setFGRayCount(int fgRayCount);
578 
586  int fgRayCount() const;
587 
597  void setFGRadiusState(bool useMin, bool useMax, bool inPixels);
598 
606  void fgSampleRadiusState(bool& useMin, bool& useMax, bool& inPixels) const;
607 
619  OdResult setFGSampleRadius(double minRadius, double maxRadius);
620 
626  void fgSampleRadius(double& minRadius, double& maxRadius) const;
627 
638  OdResult setEnergyMultiplier(float energyMultiplier);
639 
645  float energyMultiplier() const;
646 
652 
658 
668  OdGiMrDiagnosticGridMode diagnosticGridMode, float gridSpace);
669 
676  OdGiMrDiagnosticGridMode& diagnosticGridMode, float& gridSpace) const;
677 
685  OdGiMrDiagnosticPhotonMode diagnosticPhotonMode);
686 
691 
698  void setDiagnosticSamplesMode(bool diagnosticSamplesMode);
699 
705  bool diagnosticSamplesMode() const;
706 
714 
722 
731  void setExportMIEnabled(bool exportMIEnabled);
732 
736  bool exportMIEnabled() const;
737 
750 
755 
766  OdResult setTileSize(int tileSize);
767 
771  int tileSize() const;
772 
779  void setTileOrder(OdGiMrTileOrder tileOrder);
780 
785 
786 
797  OdResult setMemoryLimit(int memoryLimit);
798 
802  int memoryLimit() const;
803 
811 
816 
823  OdResult setLightLuminanceScale(double fLuminance);
824 
828  double lightLuminanceScale() const;
829 
837 
842 
850 
855 
856  // OdDbObject functions
857 
859  virtual void dwgOutFields(OdDbDwgFiler* pFiler) const;
861  virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
862 
863  // OdGiDrawable functions
864 
866 
867  virtual bool operator==(const OdDbMentalRayRenderSettings& settings);
868 };
869 
874 
875 
891 {
892 public:
897  {
898  krLevel = 0, // Quit by level
899  krTime, // Quit by time
900  krInfinite // Quit never
901  };
902 public:
904 
906 
908 
916 
921 
929 
933  int renderLevel() const;
934 
942 
946  int renderTime() const;
947 
955 
960 
968 
973 
981 
985  float filterWidth() const;
986 
994 
998  float filterHeight() const;
999 
1008  {
1009  OdResult result = setFilterWidth(width);
1010  if (result == eOk)
1011  result = setFilterHeight(height);
1012  return result;
1013  }
1014 
1020  void filterDimensions(float &width, float &height) const
1021  {
1022  width = filterWidth();
1023  height = filterHeight();
1024  }
1025 
1026  // OdDbObject functions
1027 
1029  virtual void dwgOutFields(OdDbDwgFiler* pFiler) const;
1031  virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
1032 
1033  // OdGiDrawable functions
1034 
1036 
1037  virtual bool operator==(const OdDbRapidRTRenderSettings& settings);
1038 };
1039 
1044 
1045 
1057 {
1058 public:
1060 
1063 
1064  void setFogEnabled(bool bEnable);
1065 
1066  bool fogEnabled() const;
1067 
1068  void setFogBackgroundEnabled(bool bEnable);
1069 
1070  bool fogBackgroundEnabled() const;
1071 
1072  void setFogColor(const OdCmEntityColor& color);
1073 
1075 
1076  OdResult setFogDensity(double dNear, double dFar);
1077 
1078  void fogDensity(double& dNear, double& dFar) const;
1079 
1080  OdResult setDistances(double dNear, double dFar);
1081 
1082  void distances(double& dNear, double& dFar) const;
1083 
1084  void setEnvironmentImageEnabled(bool bEnabled);
1085 
1087 
1089 
1091 
1092  // OdDbObject functions
1093 
1096  void dwgOutFields(OdDbDwgFiler* pFiler) const;
1098  void dxfOutFields(OdDbDxfFiler* pFiler) const;
1099 
1100  // OdGiDrawable functions
1101 
1103 };
1104 
1109 
1110 
1123 {
1124 public:
1126 
1128  {
1129  krView = 0,
1131  krSelected
1132  };
1133 
1135  {
1136  krWindow = 0,
1137  krViewport
1138  };
1139 
1142 
1143  void setProcedureAndDestination(Procedure nProcedure, Destination nDestination);
1144 
1145  void procedureAndDestination(Procedure& nProcedure, Destination& nDestination) const;
1146 
1148 
1150 
1152 
1154 
1155  void setSaveEnabled(bool bEnabled);
1156 
1157  bool saveEnabled() const;
1158 
1159  OdResult setSaveFileName(const OdString& sFileName);
1160 
1162 
1163  OdResult setDimensions(int w, int h);
1164 
1165  void dimensions(int& w, int& h) const;
1166 
1167  void setPredefinedPresetsFirst(bool bPredefinedPresetsFirst);
1168 
1170 
1171  void setHighInfoLevel(bool bHighInfoLevel);
1172 
1173  bool highInfoLevel() const;
1174 
1176 
1178 
1180 
1181  // OdDbObject functions
1182 
1184  void dwgOutFields(OdDbDwgFiler* pFiler) const;
1186  void dxfOutFields(OdDbDxfFiler* pFiler) const;
1187 };
1188 
1193 
1194 
1206 {
1207 public:
1209 
1211  virtual ~OdDbRenderEntry();
1212 
1215 
1216  void setDisplayIndex(int nDisplay);
1217  int displayIndex() const;
1218 
1221 
1224 
1225  OdResult setDimensions(int w, int h);
1226  void dimensions(int &w, int &h) const;
1227  int dimensionW() const { int w, h; dimensions(w, h); return w; }
1228  int dimensionH() const { int w, h; dimensions(w, h); return h; }
1229 
1231  const OdDbDate &startTime() const;
1232 
1234  const OdDbDate &endTime() const;
1235 
1236  void setRenderTime(float fTime);
1237  float renderTime() const;
1238 
1239  void setMemoryAmount(int nAmount);
1240  int memoryAmount() const;
1241 
1242  void setMaterialCount(int nCount);
1243  int materialCount() const;
1244 
1245  void setLightCount(int nCount);
1246  int lightCount() const;
1247 
1248  void setTriangleCount(int nCount);
1249  int triangleCount() const;
1250 
1251  // OdDbObject functions
1252 
1254  void dwgOutFields(OdDbDwgFiler* pFiler) const;
1256  void dxfOutFields(OdDbDxfFiler* pFiler) const;
1257 };
1258 
1263 
1264 
1281 
1282 #endif
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
TOOLKIT_EXPORT OdDbRenderSettingsPtr oddbGetActiveRenderRapidRTSettingsObject(OdDbDatabase *pDb, OdDb::OpenMode mode, bool createIfNotFound=false)
OdSmartPtr< OdDbRenderEntry > OdDbRenderEntryPtr
OdSmartPtr< OdDbRapidRTRenderSettings > OdDbRapidRTRenderSettingsPtr
TOOLKIT_EXPORT OdDbObjectId oddbGetRenderGlobalObjectId(OdDbDatabase *pDb, bool createIfNotFound=false)
TOOLKIT_EXPORT OdDbObjectId oddbGetRenderSettingsDictionaryId(OdDbDatabase *pDb, bool createIfNotFound=false)
TOOLKIT_EXPORT OdDbObjectId oddbGetActiveRenderSettingsObjectId(OdDbDatabase *pDb, bool createIfNotFound=false)
TOOLKIT_EXPORT OdDbDictionaryPtr oddbGetRenderRapidRTSettingsDictionary(OdDbDatabase *pDb, OdDb::OpenMode mode, bool createIfNotFound=false)
TOOLKIT_EXPORT OdDbDictionaryPtr oddbGetRenderEntriesDictionary(OdDbDatabase *pDb, OdDb::OpenMode mode, bool createIfNotFound=false)
TOOLKIT_EXPORT OdDbRenderSettingsPtr oddbGetActiveRenderSettingsObject(OdDbDatabase *pDb, OdDb::OpenMode mode, bool createIfNotFound=false)
TOOLKIT_EXPORT OdDbObjectId oddbGetRenderPlotSettingsDictionaryId(OdDbDatabase *pDb, bool createIfNotFound=false)
TOOLKIT_EXPORT OdDbObjectId oddbGetRenderEnvironmentObjectId(OdDbDatabase *pDb, bool createIfNotFound=false)
TOOLKIT_EXPORT OdDbDictionaryPtr oddbGetRenderSettingsDictionary(OdDbDatabase *pDb, OdDb::OpenMode mode, bool createIfNotFound=false)
OdSmartPtr< OdDbRenderGlobal > OdDbRenderGlobalPtr
OdSmartPtr< OdDbMentalRayRenderSettings > OdDbMentalRayRenderSettingsPtr
OdSmartPtr< OdDbRenderSettings > OdDbRenderSettingsPtr
TOOLKIT_EXPORT OdDbObjectId oddbGetActiveRenderRapidRTSettingsObjectId(OdDbDatabase *pDb, bool createIfNotFound=false)
TOOLKIT_EXPORT OdDbDictionaryPtr oddbGetRenderPlotSettingsDictionary(OdDbDatabase *pDb, OdDb::OpenMode mode, bool createIfNotFound=false)
TOOLKIT_EXPORT OdDbObjectId oddbGetRenderEntriesDictionaryId(OdDbDatabase *pDb, bool createIfNotFound=false)
TOOLKIT_EXPORT OdDbRenderGlobalPtr oddbGetRenderGlobalObject(OdDbDatabase *pDb, OdDb::OpenMode mode, bool createIfNotFound=false)
OdSmartPtr< OdDbRenderEnvironment > OdDbRenderEnvironmentPtr
TOOLKIT_EXPORT OdDbObjectId oddbGetRenderRapidRTSettingsDictionaryId(OdDbDatabase *pDb, bool createIfNotFound=false)
TOOLKIT_EXPORT OdDbRenderEnvironmentPtr oddbGetRenderEnvironmentObject(OdDbDatabase *pDb, OdDb::OpenMode mode, bool createIfNotFound=false)
OdGiMrDiagnosticMode
OdGiMrDiagnosticPhotonMode
OdGiMrExposureType
OdGiMrFinalGatheringMode
OdGiMrDiagnosticBSPMode
OdGiFilterType
OdGiMrDiagnosticGridMode
OdGiMrExportMIMode
OdGiLightingMode
OdGiMrFilter
Definition: GiEnvironment.h:97
OdGiMrShadowMode
OdGiMrTileOrder
unsigned int OdUInt32
OdResult
Definition: OdResult.h:29
bool globalIlluminationEnabled() const
OdResult setFinalGatheringMode(OdGiMrFinalGatheringMode mode)
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
double giSampleRadius() const
OdResult setSamplingFilter(OdGiMrFilter filter, double width, double height)
OdResult setDiagnosticGridMode(OdGiMrDiagnosticGridMode diagnosticGridMode, float gridSpace)
void fgSampleRadius(double &minRadius, double &maxRadius) const
OdResult setSamplingContrastColor(float red, float green, float blue, float alpha)
OdResult setPhotonTraceDepth(int reflection, int refraction, int sum)
OdResult setLightLuminanceScale(double fLuminance)
OdResult setTileSize(int tileSize)
OdResult setMemoryLimit(int memoryLimit)
OdGiMrShadowMode shadowMode() const
ODDB_DECLARE_MEMBERS(OdDbMentalRayRenderSettings)
bool giSampleRadiusEnabled() const
OdGiMrFinalGatheringMode finalGatheringMode() const
OdResult setGISampleRadius(double radius)
OdGiMrDiagnosticBSPMode diagnosticBSPMode() const
void setRayTracingEnabled(bool rayTracingEnabled)
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdResult setExportMIFileName(const OdString &filename)
void setDiagnosticSamplesMode(bool diagnosticSamplesMode)
void rayTraceDepth(int &reflection, int &refraction, int &sum) const
void setDiagnosticPhotonMode(OdGiMrDiagnosticPhotonMode diagnosticPhotonMode)
void setFGRadiusState(bool useMin, bool useMax, bool inPixels)
OdString exportMIFileName() const
void SamplingFilter(OdGiMrFilter &filter, double &width, double &height) const
virtual bool operator==(const OdDbMentalRayRenderSettings &settings)
OdResult setRayTraceDepth(int reflection, int refraction, int sum)
void setFinalGatheringEnabled(bool finalGatheringEnabled)
OdResult setShadowSamplingMultiplier(ShadowSamplingMultiplier multiplier)
OdGiMrDiagnosticMode diagnosticMode() const
OdResult setFGSampleRadius(double minRadius, double maxRadius)
virtual OdUInt32 subSetAttributes(OdGiDrawableTraits *pTraits) const
OdResult setGIPhotonsPerLight(int numPhotons)
void setShadowMapsEnabled(bool shadowMapsEnabled)
double lightLuminanceScale() const
virtual ~OdDbMentalRayRenderSettings()
void diagnosticGridMode(OdGiMrDiagnosticGridMode &diagnosticGridMode, float &gridSpace) const
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
OdResult setFGRayCount(int fgRayCount)
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
void samplingContrastColor(float &red, float &green, float &blue, float &alpha) const
OdResult setSampling(int min, int max)
OdResult setExportMIMode(OdGiMrExportMIMode eExportMIMode)
OdGiMrDiagnosticPhotonMode diagnosticPhotonMode() const
void setExportMIEnabled(bool exportMIEnabled)
void setDiagnosticBSPMode(OdGiMrDiagnosticBSPMode diagnosticBSPMode)
void setGISampleRadiusEnabled(bool giSampleRadiusEnabled)
void setDiagnosticMode(OdGiMrDiagnosticMode diagnosticMode)
void photonTraceDepth(int &reflection, int &refraction, int &sum) const
void setShadowMode(OdGiMrShadowMode shadowMode)
OdGiMrTileOrder tileOrder() const
OdResult setGISampleCount(int numPhotons)
void setGlobalIlluminationEnabled(bool globalIlluminationEnabled)
bool diagnosticSamplesMode() const
void setTileOrder(OdGiMrTileOrder tileOrder)
ShadowSamplingMultiplier shadowSamplingMultiplier() const
OdResult setEnergyMultiplier(float energyMultiplier)
OdGiMrExportMIMode exportMIMode() const
float energyMultiplier() const
void sampling(int &min, int &max) const
void fgSampleRadiusState(bool &useMin, bool &useMax, bool &inPixels) const
bool finalGatheringEnabled() const
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdResult setFilterType(OdGiFilterType type)
RenderTarget renderTarget() const
OdGiLightingMode lightingModel() const
virtual bool operator==(const OdDbRapidRTRenderSettings &settings)
OdResult setRenderTime(int time)
OdResult setRenderLevel(int level)
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
ODDB_DECLARE_MEMBERS(OdDbRapidRTRenderSettings)
void filterDimensions(float &width, float &height) const
OdResult setLightingModel(OdGiLightingMode mode)
virtual OdUInt32 subSetAttributes(OdGiDrawableTraits *pTraits) const
virtual ~OdDbRapidRTRenderSettings()
OdResult setFilterWidth(float width)
OdGiFilterType filterType() const
OdResult setFilterDimensions(float width, float height)
OdResult setFilterHeight(float height)
OdResult setRenderTarget(RenderTarget target)
float filterHeight() const
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
void setTriangleCount(int nCount)
int dimensionH() const
OdString imageFileName() const
void setDisplayIndex(int nDisplay)
int displayIndex() const
OdResult dxfInFields(OdDbDxfFiler *pFiler)
int triangleCount() const
void setLightCount(int nCount)
const OdDbDate & endTime() const
const OdDbDate & startTime() const
void dxfOutFields(OdDbDxfFiler *pFiler) const
OdResult setDimensions(int w, int h)
OdResult setEndTime(const OdDbDate &date)
virtual ~OdDbRenderEntry()
OdString presetName() const
OdResult setStartTime(const OdDbDate &date)
OdResult setPresetName(const OdString &name)
void dwgOutFields(OdDbDwgFiler *pFiler) const
OdResult setViewName(const OdString &name)
float renderTime() const
int lightCount() const
OdDbRenderEntry()
void dimensions(int &w, int &h) const
int materialCount() const
OdString viewName() const
void setMaterialCount(int nCount)
void setRenderTime(float fTime)
int memoryAmount() const
OdResult setImageFileName(const OdString &fileName)
void setMemoryAmount(int nAmount)
OdResult dwgInFields(OdDbDwgFiler *pFiler)
ODDB_DECLARE_MEMBERS(OdDbRenderEntry)
int dimensionW() const
OdUInt32 subSetAttributes(OdGiDrawableTraits *pTraits) const
bool environmentImageEnabled() const
bool fogEnabled() const
OdString environmentImageFileName() const
OdResult dxfInFields(OdDbDxfFiler *pFiler)
void setEnvironmentImageEnabled(bool bEnabled)
ODDB_DECLARE_MEMBERS(OdDbRenderEnvironment)
OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdResult setFogDensity(double dNear, double dFar)
void setFogEnabled(bool bEnable)
OdCmEntityColor fogColor() const
void distances(double &dNear, double &dFar) const
OdGiDrawable * drawable()
void fogDensity(double &dNear, double &dFar) const
OdResult setEnvironmentImageFileName(const OdString &sFileName)
void dxfOutFields(OdDbDxfFiler *pFiler) const
bool fogBackgroundEnabled() const
virtual ~OdDbRenderEnvironment()
void setFogBackgroundEnabled(bool bEnable)
void setFogColor(const OdCmEntityColor &color)
OdResult setDistances(double dNear, double dFar)
void dwgOutFields(OdDbDwgFiler *pFiler) const
OdResult setExposureType(OdGiMrExposureType type)
OdResult setDimensions(int w, int h)
void setPredefinedPresetsFirst(bool bPredefinedPresetsFirst)
void setSaveEnabled(bool bEnabled)
OdGiMrExposureType exposureType() const
OdResult setSaveFileName(const OdString &sFileName)
OdString saveFileName() const
void setProcedureAndDestination(Procedure nProcedure, Destination nDestination)
OdResult dxfInFields(OdDbDxfFiler *pFiler)
Destination destination()
ODDB_DECLARE_MEMBERS(OdDbRenderGlobal)
virtual ~OdDbRenderGlobal()
OdResult setProcedure(Procedure nProcedure)
OdResult dwgInFields(OdDbDwgFiler *pFiler)
Procedure procedure()
void dxfOutFields(OdDbDxfFiler *pFiler) const
void dwgOutFields(OdDbDwgFiler *pFiler) const
void setHighInfoLevel(bool bHighInfoLevel)
OdString dimensionName() const
void dimensions(int &w, int &h) const
bool predefinedPresetsFirst() const
bool highInfoLevel() const
OdResult setDestination(Destination nDestination)
void procedureAndDestination(Procedure &nProcedure, Destination &nDestination) const
bool saveEnabled() const
OdResult setPreviewImageFileName(const OdString &filename)
void setMaterialsEnabled(bool materialsEnabled)
void setDisplayIndex(int displayIndex)
virtual ~OdDbRenderSettings()
int displayIndex() const
bool diagnosticBackgroundEnabled() const
virtual OdGiDrawable * drawable()
ODDB_DECLARE_MEMBERS(OdDbRenderSettings)
bool backFacesEnabled() const
OdString previewImageFileName() const
OdResult setName(const OdString &name)
OdResult setIsPredefined(bool bSet)
bool shadowsEnabled() const
bool materialsEnabled() const
void setBackFacesEnabled(bool backFacesEnabled)
OdString name() const
void setShadowsEnabled(bool shadowsEnabled)
void setTextureSampling(bool textureSampling)
bool isPredefined() const
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
virtual OdUInt32 subSetAttributes(OdGiDrawableTraits *pTraits) const
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
void setDiagnosticBackgroundEnabled(bool diagnosticBackgroundEnabled)
virtual bool operator==(const OdDbRenderSettings &settings)
bool textureSampling() const
OdString description() const
void setDescription(const OdString &description)
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
GLfloat GLfloat GLfloat alpha
Definition: gles2_ext.h:147
GLint level
Definition: gles2_ext.h:110
GLfloat GLfloat GLfloat GLfloat w
Definition: gles2_ext.h:320
GLint GLenum GLsizei width
Definition: gles2_ext.h:110
GLuint const GLchar * name
Definition: gles2_ext.h:265
GLuint GLsizei GLsizei GLint GLenum * type
Definition: gles2_ext.h:274
GLfloat GLfloat blue
Definition: gles2_ext.h:147
GLint GLenum GLsizei GLsizei height
Definition: gles2_ext.h:110
GLfloat green
Definition: gles2_ext.h:147
const T & min(const T &x, const T &y)
const T & max(const T &x, const T &y)
OpenMode
Definition: DbObjectId.h:54