CFx SDK Documentation  2020SP3
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
OdDbRenderEntry::triangleCount
int triangleCount() const
OdDbRapidRTRenderSettings::OdDbRapidRTRenderSettings
OdDbRapidRTRenderSettings()
OdDbRenderGlobal::saveEnabled
bool saveEnabled() const
OdDbMentalRayRenderSettings::sampling
void sampling(int &min, int &max) const
OdDbMentalRayRenderSettings::setGISampleCount
OdResult setGISampleCount(int numPhotons)
OdDbRenderEnvironment::subSetAttributes
OdUInt32 subSetAttributes(OdGiDrawableTraits *pTraits) const
OdGiMrDiagnosticBSPMode
OdGiMrDiagnosticBSPMode
Definition: GiEnvironment.h:140
OdResult
OdResult
Definition: OdResult.h:29
OdCmEntityColor
Definition: CmColorBase.h:68
OdGiMrShadowMode
OdGiMrShadowMode
Definition: GiEnvironment.h:107
OdDbRenderEnvironment::fogBackgroundEnabled
bool fogBackgroundEnabled() const
OdDbMentalRayRenderSettings::operator==
virtual bool operator==(const OdDbMentalRayRenderSettings &settings)
OdDbRenderGlobal::setProcedureAndDestination
void setProcedureAndDestination(Procedure nProcedure, Destination nDestination)
OdString
Definition: OdString.h:95
OdDbDatabase
Definition: DbDatabase.h:421
OdDbRenderEntry::endTime
const OdDbDate & endTime() const
OdDbMentalRayRenderSettings::OdDbMentalRayRenderSettings
OdDbMentalRayRenderSettings()
OdGiMrExportMIMode
OdGiMrExportMIMode
Definition: GiEnvironment.h:173
OdDbRenderGlobal::setDestination
OdResult setDestination(Destination nDestination)
OdDbRenderSettings::~OdDbRenderSettings
virtual ~OdDbRenderSettings()
OdDbMentalRayRenderSettings::diagnosticBSPMode
OdGiMrDiagnosticBSPMode diagnosticBSPMode() const
OdDbMentalRayRenderSettings::setGISampleRadius
OdResult setGISampleRadius(double radius)
OdDbRenderEntry
Definition: DbRenderSettings.h:1206
OdDbMentalRayRenderSettings::fgSampleRadiusState
void fgSampleRadiusState(bool &useMin, bool &useMax, bool &inPixels) const
OdDbMentalRayRenderSettings::lightLuminanceScale
double lightLuminanceScale() const
name
GLuint const GLchar * name
Definition: gles2_ext.h:265
OdDbMentalRayRenderSettings::fgSampleRadius
void fgSampleRadius(double &minRadius, double &maxRadius) const
OdDbMentalRayRenderSettings::setLightLuminanceScale
OdResult setLightLuminanceScale(double fLuminance)
OdDbRenderEntry::materialCount
int materialCount() const
OdDbRenderEnvironment::drawable
OdGiDrawable * drawable()
OdDbMentalRayRenderSettings::setDiagnosticMode
void setDiagnosticMode(OdGiMrDiagnosticMode diagnosticMode)
OdDbRenderSettings::displayIndex
int displayIndex() const
OdDbRenderEntry::setDisplayIndex
void setDisplayIndex(int nDisplay)
oddbGetRenderEntriesDictionary
TOOLKIT_EXPORT OdDbDictionaryPtr oddbGetRenderEntriesDictionary(OdDbDatabase *pDb, OdDb::OpenMode mode, bool createIfNotFound=false)
OdDbRenderSettings::materialsEnabled
bool materialsEnabled() const
OdDbMentalRayRenderSettings::setTileOrder
void setTileOrder(OdGiMrTileOrder tileOrder)
OdDbRenderEntry::renderTime
float renderTime() const
OdDbRapidRTRenderSettingsPtr
OdSmartPtr< OdDbRapidRTRenderSettings > OdDbRapidRTRenderSettingsPtr
Definition: DbRenderSettings.h:1043
oddbGetRenderGlobalObjectId
TOOLKIT_EXPORT OdDbObjectId oddbGetRenderGlobalObjectId(OdDbDatabase *pDb, bool createIfNotFound=false)
OdDbMentalRayRenderSettings::giSampleCount
int giSampleCount() const
OdDbRenderEntry::setMemoryAmount
void setMemoryAmount(int nAmount)
OdDbRenderEntry::dimensions
void dimensions(int &w, int &h) const
OdDbMentalRayRenderSettings::shadowMapsEnabled
bool shadowMapsEnabled() const
OdDbMentalRayRenderSettings::setShadowSamplingMultiplier
OdResult setShadowSamplingMultiplier(ShadowSamplingMultiplier multiplier)
type
GLuint GLsizei GLsizei GLint GLenum * type
Definition: gles2_ext.h:274
OdDbRenderEnvironment::distances
void distances(double &dNear, double &dFar) const
OdDbRapidRTRenderSettings::setRenderTime
OdResult setRenderTime(int time)
OdDbMentalRayRenderSettings::tileOrder
OdGiMrTileOrder tileOrder() const
OdDbRenderGlobal::Destination
Destination
Definition: DbRenderSettings.h:1135
OdDbDate
Definition: DbDate.h:45
OdDbMentalRayRenderSettings::setShadowMode
void setShadowMode(OdGiMrShadowMode shadowMode)
OdDbRapidRTRenderSettings::setRenderTarget
OdResult setRenderTarget(RenderTarget target)
green
GLfloat green
Definition: gles2_ext.h:147
OdDbRenderSettings::setPreviewImageFileName
OdResult setPreviewImageFileName(const OdString &filename)
OdDbObjectId
Definition: DbObjectId.h:99
OdDbRenderSettings::setDescription
void setDescription(const OdString &description)
OdDbRenderSettings::previewImageFileName
OdString previewImageFileName() const
OdDbRenderSettings::setDisplayIndex
void setDisplayIndex(int displayIndex)
OdDbRenderGlobal::predefinedPresetsFirst
bool predefinedPresetsFirst() const
OdDbMentalRayRenderSettings::finalGatheringEnabled
bool finalGatheringEnabled() const
blue
GLfloat GLfloat blue
Definition: gles2_ext.h:147
OdDbMentalRayRenderSettings::ShadowSamplingMultiplier
ShadowSamplingMultiplier
Definition: DbRenderSettings.h:257
OdDbRapidRTRenderSettings::setLightingModel
OdResult setLightingModel(OdGiLightingMode mode)
OdDbMentalRayRenderSettings::setFinalGatheringMode
OdResult setFinalGatheringMode(OdGiMrFinalGatheringMode mode)
OdDbRenderGlobal::exposureType
OdGiMrExposureType exposureType() const
OdDbMentalRayRenderSettings::setSamplingFilter
OdResult setSamplingFilter(OdGiMrFilter filter, double width, double height)
OdDbRenderEnvironment::ODDB_DECLARE_MEMBERS
ODDB_DECLARE_MEMBERS(OdDbRenderEnvironment)
oddbGetRenderSettingsDictionary
TOOLKIT_EXPORT OdDbDictionaryPtr oddbGetRenderSettingsDictionary(OdDbDatabase *pDb, OdDb::OpenMode mode, bool createIfNotFound=false)
FacetModelerProfile2DBool::min
const T & min(const T &x, const T &y)
Definition: FMImpProfile2DBool.h:98
OdDbRenderEntry::setLightCount
void setLightCount(int nCount)
oddbGetRenderEnvironmentObjectId
TOOLKIT_EXPORT OdDbObjectId oddbGetRenderEnvironmentObjectId(OdDbDatabase *pDb, bool createIfNotFound=false)
OdDbMentalRayRenderSettings::tileSize
int tileSize() const
OdDbRenderSettings::setTextureSampling
void setTextureSampling(bool textureSampling)
OdDbRenderGlobal::destination
Destination destination()
OdDbRenderSettings::dwgOutFields
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdDbRenderEnvironment::setEnvironmentImageFileName
OdResult setEnvironmentImageFileName(const OdString &sFileName)
OdDbRenderEnvironment::dwgInFields
OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdDbRenderGlobal::procedureAndDestination
void procedureAndDestination(Procedure &nProcedure, Destination &nDestination) const
oddbGetActiveRenderSettingsObjectId
TOOLKIT_EXPORT OdDbObjectId oddbGetActiveRenderSettingsObjectId(OdDbDatabase *pDb, bool createIfNotFound=false)
OdDbRenderGlobal::dwgInFields
OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdDbRenderGlobal::~OdDbRenderGlobal
virtual ~OdDbRenderGlobal()
OdDbRapidRTRenderSettings::setRenderLevel
OdResult setRenderLevel(int level)
OdDbRenderEntry::setImageFileName
OdResult setImageFileName(const OdString &fileName)
OdDbRenderSettings::setIsPredefined
OdResult setIsPredefined(bool bSet)
OdDbMentalRayRenderSettings::subSetAttributes
virtual OdUInt32 subSetAttributes(OdGiDrawableTraits *pTraits) const
OdDbMentalRayRenderSettings::setMemoryLimit
OdResult setMemoryLimit(int memoryLimit)
OdDbMentalRayRenderSettings::rayTracingEnabled
bool rayTracingEnabled() const
OdGiMrDiagnosticGridMode
OdGiMrDiagnosticGridMode
Definition: GiEnvironment.h:125
OdDbRenderEntry::setStartTime
OdResult setStartTime(const OdDbDate &date)
OdDbRenderEntryPtr
OdSmartPtr< OdDbRenderEntry > OdDbRenderEntryPtr
Definition: DbRenderSettings.h:1262
OdDbRenderEntry::startTime
const OdDbDate & startTime() const
OdUInt32
unsigned int OdUInt32
Definition: OdPlatformSettings.h:783
OdDbMentalRayRenderSettings::dwgOutFields
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdDbRapidRTRenderSettings::renderTarget
RenderTarget renderTarget() const
OdDbMentalRayRenderSettings::dxfInFields
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdDbRenderSettings::dxfOutFields
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
OdDbMentalRayRenderSettings::setDiagnosticSamplesMode
void setDiagnosticSamplesMode(bool diagnosticSamplesMode)
OdDbRenderEntry::setTriangleCount
void setTriangleCount(int nCount)
OdDbRenderGlobal::setDimensions
OdResult setDimensions(int w, int h)
OdDbRenderEntry::presetName
OdString presetName() const
OdDbMentalRayRenderSettings::ODDB_DECLARE_MEMBERS
ODDB_DECLARE_MEMBERS(OdDbMentalRayRenderSettings)
OdDbMentalRayRenderSettings::setPhotonTraceDepth
OdResult setPhotonTraceDepth(int reflection, int refraction, int sum)
OdDbRenderEnvironment::fogEnabled
bool fogEnabled() const
OdDbRenderGlobal::setHighInfoLevel
void setHighInfoLevel(bool bHighInfoLevel)
OdDbRenderSettings::setShadowsEnabled
void setShadowsEnabled(bool shadowsEnabled)
OdDbRapidRTRenderSettings::dwgOutFields
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdDbRenderSettings::OdDbRenderSettings
OdDbRenderSettings()
OdDbRenderGlobalPtr
OdSmartPtr< OdDbRenderGlobal > OdDbRenderGlobalPtr
Definition: DbRenderSettings.h:1192
OdDbRenderGlobal::dxfInFields
OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdDbRenderEntry::OdDbRenderEntry
OdDbRenderEntry()
OdDbRenderEntry::memoryAmount
int memoryAmount() const
w
GLfloat GLfloat GLfloat GLfloat w
Definition: gles2_ext.h:320
OdDbRenderGlobal::dxfOutFields
void dxfOutFields(OdDbDxfFiler *pFiler) const
OdDbRenderEntry::dxfOutFields
void dxfOutFields(OdDbDxfFiler *pFiler) const
OdGiMrTileOrder
OdGiMrTileOrder
Definition: GiEnvironment.h:147
OdDbRenderEnvironmentPtr
OdSmartPtr< OdDbRenderEnvironment > OdDbRenderEnvironmentPtr
Definition: DbRenderSettings.h:1108
OdDbRapidRTRenderSettings::RenderTarget
RenderTarget
Definition: DbRenderSettings.h:897
OdDbMentalRayRenderSettings::setEnergyMultiplier
OdResult setEnergyMultiplier(float energyMultiplier)
OdDbRenderEntry::setEndTime
OdResult setEndTime(const OdDbDate &date)
OdDbMentalRayRenderSettings::setDiagnosticBSPMode
void setDiagnosticBSPMode(OdGiMrDiagnosticBSPMode diagnosticBSPMode)
OdDbMentalRayRenderSettings::diagnosticSamplesMode
bool diagnosticSamplesMode() const
OdDbRenderGlobal::dimensionName
OdString dimensionName() const
OdGiMrFinalGatheringMode
OdGiMrFinalGatheringMode
Definition: GiEnvironment.h:165
OdDbMentalRayRenderSettings::giSampleRadiusEnabled
bool giSampleRadiusEnabled() const
OdDbRenderGlobal::setExposureType
OdResult setExposureType(OdGiMrExposureType type)
OdDbRenderEnvironment::fogDensity
void fogDensity(double &dNear, double &dFar) const
OdDbRenderSettings::setMaterialsEnabled
void setMaterialsEnabled(bool materialsEnabled)
OdDbRenderSettings::backFacesEnabled
bool backFacesEnabled() const
OdSmartPtr
Definition: SmartPtr.h:58
OdDbMentalRayRenderSettings::setFinalGatheringEnabled
void setFinalGatheringEnabled(bool finalGatheringEnabled)
OdDbRapidRTRenderSettings::filterDimensions
void filterDimensions(float &width, float &height) const
Definition: DbRenderSettings.h:1020
OdDbRenderEntry::dimensionW
int dimensionW() const
Definition: DbRenderSettings.h:1227
OdDbRapidRTRenderSettings::setFilterDimensions
OdResult setFilterDimensions(float width, float height)
Definition: DbRenderSettings.h:1007
OdDbRapidRTRenderSettings::filterHeight
float filterHeight() const
OdDbRenderEntry::dimensionH
int dimensionH() const
Definition: DbRenderSettings.h:1228
oddbGetRenderEnvironmentObject
TOOLKIT_EXPORT OdDbRenderEnvironmentPtr oddbGetRenderEnvironmentObject(OdDbDatabase *pDb, OdDb::OpenMode mode, bool createIfNotFound=false)
OdDbRenderEnvironment::setFogBackgroundEnabled
void setFogBackgroundEnabled(bool bEnable)
OdDbRenderEnvironment::dxfOutFields
void dxfOutFields(OdDbDxfFiler *pFiler) const
OdDbRenderEnvironment::fogColor
OdCmEntityColor fogColor() const
OdDbRenderEnvironment::dxfInFields
OdResult dxfInFields(OdDbDxfFiler *pFiler)
oddbGetRenderRapidRTSettingsDictionary
TOOLKIT_EXPORT OdDbDictionaryPtr oddbGetRenderRapidRTSettingsDictionary(OdDbDatabase *pDb, OdDb::OpenMode mode, bool createIfNotFound=false)
OdDbMentalRayRenderSettings::giPhotonsPerLight
int giPhotonsPerLight() const
OdDbMentalRayRenderSettings::energyMultiplier
float energyMultiplier() const
OdDbRapidRTRenderSettings::ODDB_DECLARE_MEMBERS
ODDB_DECLARE_MEMBERS(OdDbRapidRTRenderSettings)
OdGiMrFilter
OdGiMrFilter
Definition: GiEnvironment.h:97
OdDbRenderEnvironment::setEnvironmentImageEnabled
void setEnvironmentImageEnabled(bool bEnabled)
OdDbMentalRayRenderSettings::diagnosticPhotonMode
OdGiMrDiagnosticPhotonMode diagnosticPhotonMode() const
OdDbRapidRTRenderSettings::subSetAttributes
virtual OdUInt32 subSetAttributes(OdGiDrawableTraits *pTraits) const
OdDbMentalRayRenderSettings::setRayTracingEnabled
void setRayTracingEnabled(bool rayTracingEnabled)
OdDbMentalRayRenderSettings::giSampleRadius
double giSampleRadius() const
OdDbRenderSettings::subSetAttributes
virtual OdUInt32 subSetAttributes(OdGiDrawableTraits *pTraits) const
OdDbRenderGlobal::dwgOutFields
void dwgOutFields(OdDbDwgFiler *pFiler) const
OdDbRapidRTRenderSettings::dwgInFields
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdDbRenderSettings::diagnosticBackgroundEnabled
bool diagnosticBackgroundEnabled() const
OdDbRenderEnvironment::setFogEnabled
void setFogEnabled(bool bEnable)
OdDbMentalRayRenderSettings::dwgInFields
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdDbRenderGlobal::setSaveFileName
OdResult setSaveFileName(const OdString &sFileName)
OdDbRenderSettings::setDiagnosticBackgroundEnabled
void setDiagnosticBackgroundEnabled(bool diagnosticBackgroundEnabled)
OdDbRenderEnvironment::environmentImageEnabled
bool environmentImageEnabled() const
OdGiDrawable
Definition: GiDrawable.h:49
OdDbMentalRayRenderSettings::photonTraceDepth
void photonTraceDepth(int &reflection, int &refraction, int &sum) const
OdDbRenderEnvironment::setDistances
OdResult setDistances(double dNear, double dFar)
OdDbRenderEntry::setDimensions
OdResult setDimensions(int w, int h)
OdDbRenderEntry::ODDB_DECLARE_MEMBERS
ODDB_DECLARE_MEMBERS(OdDbRenderEntry)
OdDbRapidRTRenderSettings::renderTime
int renderTime() const
OdDbRenderSettings::drawable
virtual OdGiDrawable * drawable()
OdDbMentalRayRenderSettings::exportMIMode
OdGiMrExportMIMode exportMIMode() const
OdDbMentalRayRenderSettings::finalGatheringMode
OdGiMrFinalGatheringMode finalGatheringMode() const
FacetModelerProfile2DBool::max
const T & max(const T &x, const T &y)
Definition: FMImpProfile2DBool.h:105
OdDbRapidRTRenderSettings::setFilterWidth
OdResult setFilterWidth(float width)
OdDbMentalRayRenderSettings::setGlobalIlluminationEnabled
void setGlobalIlluminationEnabled(bool globalIlluminationEnabled)
OdGiFilterType
OdGiFilterType
Definition: GiEnvironment.h:312
OdDbRenderEntry::setMaterialCount
void setMaterialCount(int nCount)
OdDbRenderGlobal::setSaveEnabled
void setSaveEnabled(bool bEnabled)
OdDbRapidRTRenderSettings::operator==
virtual bool operator==(const OdDbRapidRTRenderSettings &settings)
OdDbMentalRayRenderSettings::memoryLimit
int memoryLimit() const
OdDbRenderSettings::isPredefined
bool isPredefined() const
height
GLint GLenum GLsizei GLsizei height
Definition: gles2_ext.h:110
OdDbRenderGlobal::krCrop
@ krCrop
Definition: DbRenderSettings.h:1130
OdDbMentalRayRenderSettings::SamplingFilter
void SamplingFilter(OdGiMrFilter &filter, double &width, double &height) const
width
GLint GLenum GLsizei width
Definition: gles2_ext.h:110
OdDbDxfFiler
Definition: DbFiler.h:194
OdDbRenderEntry::viewName
OdString viewName() const
OdDbRenderEnvironment::setFogDensity
OdResult setFogDensity(double dNear, double dFar)
OdDbMentalRayRenderSettings::rayTraceDepth
void rayTraceDepth(int &reflection, int &refraction, int &sum) const
OdDbRapidRTRenderSettings::filterWidth
float filterWidth() const
OdDbRenderEntry::displayIndex
int displayIndex() const
OdPdfPublish::eOk
@ eOk
Definition: PdfPublishCommon.h:42
OdDbRenderGlobal::OdDbRenderGlobal
OdDbRenderGlobal()
OdGiMrDiagnosticPhotonMode
OdGiMrDiagnosticPhotonMode
Definition: GiEnvironment.h:133
OdDbRapidRTRenderSettings::renderLevel
int renderLevel() const
OdDbMentalRayRenderSettings::setSamplingContrastColor
OdResult setSamplingContrastColor(float red, float green, float blue, float alpha)
OdDbRenderSettings
Definition: DbRenderSettings.h:44
OdDbRenderSettings::description
OdString description() const
OdDbMentalRayRenderSettings::samplingContrastColor
void samplingContrastColor(float &red, float &green, float &blue, float &alpha) const
OdDbRenderEntry::imageFileName
OdString imageFileName() const
OdDbMentalRayRenderSettings::setFGSampleRadius
OdResult setFGSampleRadius(double minRadius, double maxRadius)
OdDbRenderGlobal::procedure
Procedure procedure()
OdDbRenderGlobal::ODDB_DECLARE_MEMBERS
ODDB_DECLARE_MEMBERS(OdDbRenderGlobal)
oddbGetRenderEntriesDictionaryId
TOOLKIT_EXPORT OdDbObjectId oddbGetRenderEntriesDictionaryId(OdDbDatabase *pDb, bool createIfNotFound=false)
OdDbRenderSettings::shadowsEnabled
bool shadowsEnabled() const
OdDbRenderSettings::name
OdString name() const
OdDbMentalRayRenderSettings::setDiagnosticGridMode
OdResult setDiagnosticGridMode(OdGiMrDiagnosticGridMode diagnosticGridMode, float gridSpace)
OdDbRenderEnvironment::~OdDbRenderEnvironment
virtual ~OdDbRenderEnvironment()
OdDbRapidRTRenderSettings::dxfInFields
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdDbRenderEnvironment::environmentImageFileName
OdString environmentImageFileName() const
OdDbMentalRayRenderSettings::fgRayCount
int fgRayCount() const
OdDbRenderSettings::dwgInFields
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdDb::OpenMode
OpenMode
Definition: DbObjectId.h:54
OdDbMentalRayRenderSettings::setRayTraceDepth
OdResult setRayTraceDepth(int reflection, int refraction, int sum)
oddbGetRenderRapidRTSettingsDictionaryId
TOOLKIT_EXPORT OdDbObjectId oddbGetRenderRapidRTSettingsDictionaryId(OdDbDatabase *pDb, bool createIfNotFound=false)
OdDbRenderEntry::setRenderTime
void setRenderTime(float fTime)
OdDbMentalRayRenderSettings::setFGRayCount
OdResult setFGRayCount(int fgRayCount)
OdDbMentalRayRenderSettings::setSampling
OdResult setSampling(int min, int max)
OdGiDrawableTraits
Definition: Gi.h:71
OdDbRenderEnvironment::dwgOutFields
void dwgOutFields(OdDbDwgFiler *pFiler) const
OdDbRapidRTRenderSettings::lightingModel
OdGiLightingMode lightingModel() const
OdDbRenderGlobal::highInfoLevel
bool highInfoLevel() const
OdDbRenderEntry::dwgInFields
OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdDbRenderGlobal::Procedure
Procedure
Definition: DbRenderSettings.h:1128
oddbGetRenderPlotSettingsDictionaryId
TOOLKIT_EXPORT OdDbObjectId oddbGetRenderPlotSettingsDictionaryId(OdDbDatabase *pDb, bool createIfNotFound=false)
OdDbRenderGlobal::saveFileName
OdString saveFileName() const
OdDbRenderEntry::dwgOutFields
void dwgOutFields(OdDbDwgFiler *pFiler) const
OdDbRapidRTRenderSettings::setFilterType
OdResult setFilterType(OdGiFilterType type)
OdDbMentalRayRenderSettings::setFGRadiusState
void setFGRadiusState(bool useMin, bool useMax, bool inPixels)
OdDbRenderEntry::lightCount
int lightCount() const
oddbGetActiveRenderSettingsObject
TOOLKIT_EXPORT OdDbRenderSettingsPtr oddbGetActiveRenderSettingsObject(OdDbDatabase *pDb, OdDb::OpenMode mode, bool createIfNotFound=false)
OdDbMentalRayRenderSettings::dxfOutFields
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
OdDbRenderEnvironment
Definition: DbRenderSettings.h:1057
OdDbMentalRayRenderSettingsPtr
OdSmartPtr< OdDbMentalRayRenderSettings > OdDbMentalRayRenderSettingsPtr
Definition: DbRenderSettings.h:873
OdDbMentalRayRenderSettings::setExportMIFileName
OdResult setExportMIFileName(const OdString &filename)
OdDbMentalRayRenderSettings::globalIlluminationEnabled
bool globalIlluminationEnabled() const
level
GLint level
Definition: gles2_ext.h:110
OdDbRenderEntry::setPresetName
OdResult setPresetName(const OdString &name)
OdDbMentalRayRenderSettings::diagnosticGridMode
void diagnosticGridMode(OdGiMrDiagnosticGridMode &diagnosticGridMode, float &gridSpace) const
OdDbMentalRayRenderSettings::diagnosticMode
OdGiMrDiagnosticMode diagnosticMode() const
OdDbRenderSettings::dxfInFields
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdDbRenderEntry::setViewName
OdResult setViewName(const OdString &name)
OdDbRenderGlobal::setProcedure
OdResult setProcedure(Procedure nProcedure)
OdDbRenderGlobal::dimensions
void dimensions(int &w, int &h) const
oddbGetRenderSettingsDictionaryId
TOOLKIT_EXPORT OdDbObjectId oddbGetRenderSettingsDictionaryId(OdDbDatabase *pDb, bool createIfNotFound=false)
TOOLKIT_EXPORT
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
oddbGetActiveRenderRapidRTSettingsObjectId
TOOLKIT_EXPORT OdDbObjectId oddbGetActiveRenderRapidRTSettingsObjectId(OdDbDatabase *pDb, bool createIfNotFound=false)
OdGiLightingMode
OdGiLightingMode
Definition: GiEnvironment.h:304
OdDbRenderSettings::ODDB_DECLARE_MEMBERS
ODDB_DECLARE_MEMBERS(OdDbRenderSettings)
OdDbRapidRTRenderSettings::setFilterHeight
OdResult setFilterHeight(float height)
OdDbRenderSettings::textureSampling
bool textureSampling() const
OdDbMentalRayRenderSettings::setGIPhotonsPerLight
OdResult setGIPhotonsPerLight(int numPhotons)
OdGiMrExposureType
OdGiMrExposureType
Definition: GiEnvironment.h:158
OdDbRenderEnvironment::setFogColor
void setFogColor(const OdCmEntityColor &color)
OdDbRenderSettings::setBackFacesEnabled
void setBackFacesEnabled(bool backFacesEnabled)
OdDbMentalRayRenderSettings::exportMIEnabled
bool exportMIEnabled() const
OdDbRenderGlobal::setPredefinedPresetsFirst
void setPredefinedPresetsFirst(bool bPredefinedPresetsFirst)
GiEnvironment.h
OdDbMentalRayRenderSettings::setShadowMapsEnabled
void setShadowMapsEnabled(bool shadowMapsEnabled)
OdDbMentalRayRenderSettings::~OdDbMentalRayRenderSettings
virtual ~OdDbMentalRayRenderSettings()
oddbGetRenderPlotSettingsDictionary
TOOLKIT_EXPORT OdDbDictionaryPtr oddbGetRenderPlotSettingsDictionary(OdDbDatabase *pDb, OdDb::OpenMode mode, bool createIfNotFound=false)
alpha
GLfloat GLfloat GLfloat alpha
Definition: gles2_ext.h:147
oddbGetActiveRenderRapidRTSettingsObject
TOOLKIT_EXPORT OdDbRenderSettingsPtr oddbGetActiveRenderRapidRTSettingsObject(OdDbDatabase *pDb, OdDb::OpenMode mode, bool createIfNotFound=false)
OdDbRenderSettings::setName
OdResult setName(const OdString &name)
oddbGetRenderGlobalObject
TOOLKIT_EXPORT OdDbRenderGlobalPtr oddbGetRenderGlobalObject(OdDbDatabase *pDb, OdDb::OpenMode mode, bool createIfNotFound=false)
OdDbRapidRTRenderSettings::dxfOutFields
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
OdGiMrDiagnosticMode
OdGiMrDiagnosticMode
Definition: GiEnvironment.h:115
OdDbRenderGlobal
Definition: DbRenderSettings.h:1123
OdDbMentalRayRenderSettings::shadowSamplingMultiplier
ShadowSamplingMultiplier shadowSamplingMultiplier() const
OdDbMentalRayRenderSettings::setExportMIMode
OdResult setExportMIMode(OdGiMrExportMIMode eExportMIMode)
OdDbMentalRayRenderSettings::setExportMIEnabled
void setExportMIEnabled(bool exportMIEnabled)
OdDbRapidRTRenderSettings
Definition: DbRenderSettings.h:891
OdDbMentalRayRenderSettings::setGISampleRadiusEnabled
void setGISampleRadiusEnabled(bool giSampleRadiusEnabled)
OdDbRapidRTRenderSettings::krTime
@ krTime
Definition: DbRenderSettings.h:899
OdDbObject
Definition: DbObject.h:211
OdDbDwgFiler
Definition: DbFiler.h:1031
OdDbRapidRTRenderSettings::filterType
OdGiFilterType filterType() const
OdDbMentalRayRenderSettings
Definition: DbRenderSettings.h:251
OdDbMentalRayRenderSettings::setDiagnosticPhotonMode
void setDiagnosticPhotonMode(OdGiMrDiagnosticPhotonMode diagnosticPhotonMode)
OdDbRenderSettingsPtr
OdSmartPtr< OdDbRenderSettings > OdDbRenderSettingsPtr
Definition: DbRenderSettings.h:233
OdDbRapidRTRenderSettings::~OdDbRapidRTRenderSettings
virtual ~OdDbRapidRTRenderSettings()
OdDbRenderEntry::dxfInFields
OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdDbRenderSettings::operator==
virtual bool operator==(const OdDbRenderSettings &settings)
OdDbMentalRayRenderSettings::setTileSize
OdResult setTileSize(int tileSize)
OdDbRenderEntry::~OdDbRenderEntry
virtual ~OdDbRenderEntry()
OdDbRenderEnvironment::OdDbRenderEnvironment
OdDbRenderEnvironment()
OdDbMentalRayRenderSettings::exportMIFileName
OdString exportMIFileName() const
OdDbMentalRayRenderSettings::shadowMode
OdGiMrShadowMode shadowMode() const