CFx SDK Documentation  2020SP3
GiEnvironment.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 _GIENVIRONMENT_H_INCLUDED_
25 #define _GIENVIRONMENT_H_INCLUDED_
26 
27 #include "Gi.h"
28 #include "GiMaterial.h"
29 
30 class OdGiSkyParameters;
31 
38 {
39 public:
41 
42  virtual void setEnable(bool bEnable) = 0;
43  virtual bool enable() const = 0;
44  virtual void setIsBackground(bool bEnable) = 0;
45  virtual bool isBackground() const = 0;
46  virtual void setFogColor(const OdCmEntityColor& color) = 0;
47  virtual OdCmEntityColor fogColor() const = 0;
48  virtual void setNearDistance(double nearDist) = 0;
49  virtual double nearDistance() const = 0;
50  virtual void setFarDistance(double farDist) = 0;
51  virtual double farDistance() const = 0;
52  virtual void setNearPercentage(double nearPct) = 0;
53  virtual double nearPercentage() const = 0;
54  virtual void setFarPercentage(double farPct) = 0;
55  virtual double farPercentage() const = 0;
56  virtual void setEnvironmentMap(const OdGiMaterialTexture* m) = 0;
57  virtual OdGiMaterialTexture* environmentMap() const = 0;
58 };
59 
64 
65 
72 {
73 public:
75 
76  virtual void setMaterialEnabled(bool enabled) = 0;
77  virtual bool materialEnabled() const = 0;
78  virtual void setTextureSampling(bool enabled) = 0;
79  virtual bool textureSampling() const = 0;
80  virtual void setBackFacesEnabled(bool enabled) = 0;
81  virtual bool backFacesEnabled() const = 0;
82  virtual void setShadowsEnabled(bool enabled) = 0;
83  virtual bool shadowsEnabled() const = 0;
84  virtual void setDiagnosticBackgroundEnabled(bool enabled) = 0;
85  virtual bool diagnosticBackgroundEnabled() const = 0;
86  virtual void setModelScaleFactor(double scaleFactor) = 0;
87  virtual double modelScaleFactor() const = 0;
88 };
89 
94 
95 
96 typedef enum
97 {
98  krBox = 0,
100  krGauss = 2,
102  krLanczos = 4
103 }
105 
106 typedef enum
107 {
108  krSimple = 0,
109  krSorted = 1,
110  krSegments = 2
111 }
113 
114 typedef enum
115 {
116  krOff = 0,
117  krGrid = 1,
118  krPhoton = 2,
120  krBSP = 4
121 }
123 
124 typedef enum
125 {
126  krObject = 0,
127  krWorld = 1,
128  krCamera = 2
129 }
131 
132 typedef enum
133 {
135  krIrradiance = 1
136 }
138 
139 typedef enum
140 {
141  krDepth = 0,
142  krSize = 1
143 }
145 
146 typedef enum
147 {
149  krSpiral = 1,
153  krBottomToTop = 5
154 }
156 
157 typedef enum
158 {
160  krLogarithmic = 1
161 }
163 
164 typedef enum
165 {
169 }
171 
172 typedef enum
173 {
176  krExportMIOnly = 2
177 }
179 
186 {
187 public:
189 
190  virtual void setSampling(int min, int max) = 0;
191  virtual void sampling(int& min, int& max) const = 0;
192 
193  virtual void setSamplingFilter(OdGiMrFilter filter, double width, double height) = 0;
194  virtual void SamplingFilter(OdGiMrFilter& filter, double& width, double& height) const = 0;
195 
196  virtual void setSamplingContrastColor(float r, float g, float b, float a) = 0;
197  virtual void samplingContrastColor(float& r, float& g, float& b, float& a) const = 0;
198 
199  virtual void setShadowMode(OdGiMrShadowMode mode) = 0;
200  virtual OdGiMrShadowMode shadowMode() const = 0;
201 
202  virtual void setShadowMapEnabled(bool enabled) = 0;
203  virtual bool shadowMapEnabled() const = 0;
204 
205  virtual void setRayTraceEnabled(bool enabled) = 0;
206  virtual bool rayTraceEnabled() const = 0;
207 
208  virtual void setRayTraceDepth(int reflection, int refraction, int sum) = 0;
209  virtual void rayTraceDepth(int& reflection, int& refraction, int& sum) const = 0;
210 
211  virtual void setGlobalIlluminationEnabled(bool enabled) = 0;
212  virtual bool globalIlluminationEnabled() const = 0;
213 
214  virtual void setGISampleCount(int num) = 0;
215  virtual int giSampleCount() const = 0;
216 
217  virtual void setGISampleRadiusEnabled(bool enabled) = 0;
218  virtual bool giSampleRadiusEnabled() const = 0;
219 
220  virtual void setGISampleRadius(double radius) = 0;
221  virtual double giSampleRadius() const = 0;
222 
223  virtual void setGIPhotonsPerLight(int num) = 0;
224  virtual int giPhotonsPerLight() const = 0;
225 
226  virtual void setPhotonTraceDepth(int reflection, int refraction, int sum) = 0;
227  virtual void photonTraceDepth(int& reflection, int& refraction, int& sum) const = 0;
228 
229  virtual void setFinalGatheringEnabled(bool enabled) = 0;
230  virtual bool finalGatheringEnabled() const = 0;
231 
232  virtual void setFGRayCount(int num) = 0;
233  virtual int fgRayCount() const = 0;
234 
235  virtual void setFGRadiusState(bool bMin, bool bMax, bool bPixels) = 0;
236  virtual void fgSampleRadiusState(bool& bMin, bool& bMax, bool& bPixels) = 0;
237 
238  virtual void setFGSampleRadius(double min, double max) = 0;
239  virtual void fgSampleRadius(double& min, double& max) const = 0;
240 
241  virtual void setLightLuminanceScale(double luminance) = 0;
242  virtual double lightLuminanceScale() const = 0;
243 
244  virtual void setDiagnosticMode(OdGiMrDiagnosticMode mode) = 0;
246 
247  virtual void setDiagnosticGridMode(OdGiMrDiagnosticGridMode mode, float fSize) = 0;
248  virtual void diagnosticGridMode(OdGiMrDiagnosticGridMode& mode, float& fSize) const = 0;
249 
252 
255 
256  virtual void setExportMIEnabled(bool enabled) = 0;
257  virtual bool exportMIEnabled() const = 0;
258 
259  virtual void setExportMIFileName(const OdString& miName) = 0;
260  virtual OdString exportMIFileName() const = 0;
261 
262  virtual void setTileSize(int size) = 0;
263  virtual int tileSize() const = 0;
264 
265  virtual void setTileOrder(OdGiMrTileOrder order) = 0;
266  virtual OdGiMrTileOrder tileOrder() const = 0;
267 
268  virtual void setMemoryLimit(int limit) = 0;
269  virtual int memoryLimit() const = 0;
270 
271  virtual void setEnergyMultiplier(float fScale) = 0;
272  virtual float energyMultiplier() const = 0;
273 
274  virtual void setProgressMonitor(void* pMonitor) = 0;
275  virtual const void* progressMonitor() const = 0;
276 
278  virtual OdGiMrExposureType exposureType() const = 0;
279 
282 
283  virtual void setShadowSamplingMultiplier(double multiplier) = 0;
284  virtual double shadowSamplingMultiplier() const = 0;
285 
286  virtual void setExportMIMode(OdGiMrExportMIMode mode) = 0;
287  virtual OdGiMrExportMIMode exportMIMode() const = 0;
288 };
289 
294 
295 
296 typedef enum
297 {
300 }
302 
303 typedef enum
304 {
306  krEBasic = 1,
307  krEAdvanced = 2
308 }
310 
311 typedef enum
312 {
313  krEBox = 0,
317  krEMitchell = 4
318 }
320 
327 {
328 public:
330 
331  virtual void setQuitCondition(OdGiQuitCondition condition) = 0;
332  virtual OdGiQuitCondition quitCondition() const = 0;
333 
334  virtual void setDesiredRenderLevel(int level) = 0;
335  virtual int desiredRenderLevel() const = 0;
336 
337  virtual void setDesiredRenderTime(int time) = 0;
338  virtual int desiredRenderTime() const = 0;
339 
340  virtual void setLightingMode(OdGiLightingMode mode) = 0;
341  virtual OdGiLightingMode lightingMode() const = 0;
342 
343  virtual void setFilterType(OdGiFilterType type) = 0;
344  virtual OdGiFilterType filterType() const = 0;
345 
346  virtual void setFilterWidth(float width) = 0;
347  virtual float filterWidth() const = 0;
348 
349  virtual void setFilterHeight(float height) = 0;
350  virtual float filterHeight() const = 0;
351 };
352 
357 
358 
365 {
366 public:
368 
369  virtual void setColorSolid(const OdCmEntityColor& color) = 0;
370  virtual OdCmEntityColor colorSolid() const = 0;
371 };
372 
377 
378 
385 {
386 public:
388 
389  virtual void setColorTop(const OdCmEntityColor& color) = 0;
390  virtual OdCmEntityColor colorTop() const = 0;
391 
392  virtual void setColorMiddle(const OdCmEntityColor& color) = 0;
393  virtual OdCmEntityColor colorMiddle() const = 0;
394 
395  virtual void setColorBottom(const OdCmEntityColor& color) = 0;
396  virtual OdCmEntityColor colorBottom() const = 0;
397 
398  virtual void setHorizon(double horizon) = 0;
399  virtual double horizon() const = 0;
400 
401  virtual void setHeight(double height) = 0;
402  virtual double height() const = 0;
403 
404  virtual void setRotation(double rotation) = 0;
405  virtual double rotation() const = 0;
406 };
407 
412 
413 
420 {
421 public:
423 
424  virtual void setImageFilename(const OdString& filename) = 0;
425  virtual const OdString& imageFilename() const = 0;
426 
427  virtual void setFitToScreen(bool bFitToScreen) = 0;
428  virtual bool fitToScreen() const = 0;
429 
430  virtual void setMaintainAspectRatio(bool bMaintainAspectRatio) = 0;
431  virtual bool maintainAspectRatio() const = 0;
432 
433  virtual void setUseTiling(bool bUseTiling) = 0;
434  virtual bool useTiling() const = 0;
435 
436  virtual void setXOffset(double xOffset) = 0;
437  virtual double xOffset() const = 0;
438 
439  virtual void setYOffset(double yOffset) = 0;
440  virtual double yOffset() const = 0;
441 
442  virtual void setXScale(double xScale) = 0;
443  virtual double xScale() const = 0;
444 
445  virtual void setYScale(double yScale) = 0;
446  virtual double yScale() const = 0;
447 };
448 
453 
454 
461 {
462 public:
464 
465  virtual void setColorSkyZenith(const OdCmEntityColor& color) = 0;
466  virtual OdCmEntityColor colorSkyZenith() const = 0;
467 
468  virtual void setColorSkyHorizon(const OdCmEntityColor& color) = 0;
469  virtual OdCmEntityColor colorSkyHorizon() const = 0;
470 
471  virtual void setColorUndergroundHorizon(const OdCmEntityColor& color) = 0;
473 
474  virtual void setColorUndergroundAzimuth(const OdCmEntityColor& color) = 0;
476 
477  virtual void setColorGroundPlaneNear(const OdCmEntityColor& color) = 0;
479 
480  virtual void setColorGroundPlaneFar(const OdCmEntityColor& color) = 0;
482 };
483 
488 
489 
497 {
498 public:
500 
501  virtual void setSkyParameters(const OdGiSkyParameters& params) = 0;
502  virtual void skyParameters(OdGiSkyParameters& params) const = 0;
503 };
504 
509 
510 
518 {
519 public:
521 
522  virtual void setEnable(bool bEnable) = 0;
523  virtual bool enable() const = 0;
524 
525  virtual void setIBLImageName(const OdString& filename) = 0;
526  virtual const OdString& IBLImageName() const = 0;
527 
528  virtual void setRotation(double rotation) = 0;
529  virtual double rotation() const = 0;
530 
531  virtual void setDisplayImage(bool bDisplay) = 0;
532  virtual bool displayImage() const = 0;
533 
534  virtual void setSecondaryBackground(OdDbStub* bgId) = 0;
535  virtual OdDbStub* secondaryBackground() const = 0;
536 };
537 
542 
543 #endif // _GIENVIRONMENT_H_INCLUDED_
OdGiMentalRayRenderSettingsTraits::shadowSamplingMultiplier
virtual double shadowSamplingMultiplier() const =0
OdGiRapidRTRenderSettingsTraits::setLightingMode
virtual void setLightingMode(OdGiLightingMode mode)=0
krCamera
@ krCamera
Definition: GiEnvironment.h:128
FIRSTDLL_EXPORT
#define FIRSTDLL_EXPORT
Definition: RootExport.h:39
OdGiMentalRayRenderSettingsTraits::finalGatheringMode
virtual OdGiMrFinalGatheringMode finalGatheringMode() const =0
OdGiRenderEnvironmentTraits::enable
virtual bool enable() const =0
OdGiMentalRayRenderSettingsTraits::exposureType
virtual OdGiMrExposureType exposureType() const =0
OdGiMrDiagnosticBSPMode
OdGiMrDiagnosticBSPMode
Definition: GiEnvironment.h:140
OdGiRapidRTRenderSettingsTraits::setFilterHeight
virtual void setFilterHeight(float height)=0
OdGiMentalRayRenderSettingsTraits::SamplingFilter
virtual void SamplingFilter(OdGiMrFilter &filter, double &width, double &height) const =0
OdCmEntityColor
Definition: CmColorBase.h:68
OdGiMrShadowMode
OdGiMrShadowMode
Definition: GiEnvironment.h:107
OdGiGradientBackgroundTraits::colorBottom
virtual OdCmEntityColor colorBottom() const =0
OdGiGradientBackgroundTraits::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdGiGradientBackgroundTraits)
OdGiImageBackgroundTraits::setFitToScreen
virtual void setFitToScreen(bool bFitToScreen)=0
OdGiMentalRayRenderSettingsTraits::giSampleCount
virtual int giSampleCount() const =0
OdString
Definition: OdString.h:95
OdGiMentalRayRenderSettingsTraits::setGISampleRadiusEnabled
virtual void setGISampleRadiusEnabled(bool enabled)=0
OdGiGroundPlaneBackgroundTraits::setColorSkyZenith
virtual void setColorSkyZenith(const OdCmEntityColor &color)=0
OdGiGradientBackgroundTraits::setColorTop
virtual void setColorTop(const OdCmEntityColor &color)=0
OdGiMrExportMIMode
OdGiMrExportMIMode
Definition: GiEnvironment.h:173
OdGiMentalRayRenderSettingsTraits::exportMIMode
virtual OdGiMrExportMIMode exportMIMode() const =0
OdGiGroundPlaneBackgroundTraits::colorGroundPlaneNear
virtual OdCmEntityColor colorGroundPlaneNear() const =0
OdGiSolidBackgroundTraits::setColorSolid
virtual void setColorSolid(const OdCmEntityColor &color)=0
OdGiGradientBackgroundTraitsPtr
OdSmartPtr< OdGiGradientBackgroundTraits > OdGiGradientBackgroundTraitsPtr
Definition: GiEnvironment.h:411
OdGiMentalRayRenderSettingsTraits::giSampleRadiusEnabled
virtual bool giSampleRadiusEnabled() const =0
OdGiGradientBackgroundTraits::height
virtual double height() const =0
OdGiRenderSettingsTraits::setBackFacesEnabled
virtual void setBackFacesEnabled(bool enabled)=0
OdGiMentalRayRenderSettingsTraits::diagnosticGridMode
virtual void diagnosticGridMode(OdGiMrDiagnosticGridMode &mode, float &fSize) const =0
OdGiGroundPlaneBackgroundTraits::colorSkyHorizon
virtual OdCmEntityColor colorSkyHorizon() const =0
OdGiMentalRayRenderSettingsTraits::setGISampleCount
virtual void setGISampleCount(int num)=0
OdGiMentalRayRenderSettingsTraits::setGIPhotonsPerLight
virtual void setGIPhotonsPerLight(int num)=0
krSimple
@ krSimple
Definition: GiEnvironment.h:108
OdGiRapidRTRenderSettingsTraits::lightingMode
virtual OdGiLightingMode lightingMode() const =0
OdGiMentalRayRenderSettingsTraits::diagnosticBSPMode
virtual OdGiMrDiagnosticBSPMode diagnosticBSPMode() const =0
OdGiImageBackgroundTraits::fitToScreen
virtual bool fitToScreen() const =0
OdGiMentalRayRenderSettingsTraits::setSamplingContrastColor
virtual void setSamplingContrastColor(float r, float g, float b, float a)=0
OdGiRenderSettingsTraits::diagnosticBackgroundEnabled
virtual bool diagnosticBackgroundEnabled() const =0
OdGiMentalRayRenderSettingsTraits::setExportMIMode
virtual void setExportMIMode(OdGiMrExportMIMode mode)=0
OdGiMentalRayRenderSettingsTraits::setExportMIFileName
virtual void setExportMIFileName(const OdString &miName)=0
krOff
@ krOff
Definition: GiEnvironment.h:116
krBox
@ krBox
Definition: GiEnvironment.h:98
OdGiIBLBackgroundTraits::IBLImageName
virtual const OdString & IBLImageName() const =0
OdGiMentalRayRenderSettingsTraits::setMemoryLimit
virtual void setMemoryLimit(int limit)=0
OdGiMentalRayRenderSettingsTraits::setGISampleRadius
virtual void setGISampleRadius(double radius)=0
type
GLuint GLsizei GLsizei GLint GLenum * type
Definition: gles2_ext.h:274
OdGiIBLBackgroundTraits::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdGiIBLBackgroundTraits)
OdGiSkyBackgroundTraits::setSkyParameters
virtual void setSkyParameters(const OdGiSkyParameters &params)=0
krEAdvanced
@ krEAdvanced
Definition: GiEnvironment.h:307
OdGiMentalRayRenderSettingsTraitsPtr
OdSmartPtr< OdGiMentalRayRenderSettingsTraits > OdGiMentalRayRenderSettingsTraitsPtr
Definition: GiEnvironment.h:293
OdGiImageBackgroundTraits::setXScale
virtual void setXScale(double xScale)=0
OdGiMentalRayRenderSettingsTraits::photonTraceDepth
virtual void photonTraceDepth(int &reflection, int &refraction, int &sum) const =0
OdGiRenderSettingsTraits::setTextureSampling
virtual void setTextureSampling(bool enabled)=0
OdGiMentalRayRenderSettingsTraits::rayTraceDepth
virtual void rayTraceDepth(int &reflection, int &refraction, int &sum) const =0
OdGiRapidRTRenderSettingsTraits::filterType
virtual OdGiFilterType filterType() const =0
krEMitchell
@ krEMitchell
Definition: GiEnvironment.h:317
krFinalGatherAuto
@ krFinalGatherAuto
Definition: GiEnvironment.h:168
krPhoton
@ krPhoton
Definition: GiEnvironment.h:118
OdGiGroundPlaneBackgroundTraits::setColorUndergroundAzimuth
virtual void setColorUndergroundAzimuth(const OdCmEntityColor &color)=0
OdGiSkyBackgroundTraits::skyParameters
virtual void skyParameters(OdGiSkyParameters &params) const =0
krWorld
@ krWorld
Definition: GiEnvironment.h:127
OdGiRenderSettingsTraits::setModelScaleFactor
virtual void setModelScaleFactor(double scaleFactor)=0
OdGiRapidRTRenderSettingsTraits::quitCondition
virtual OdGiQuitCondition quitCondition() const =0
OdGiRenderSettingsTraits::setDiagnosticBackgroundEnabled
virtual void setDiagnosticBackgroundEnabled(bool enabled)=0
OdGiGradientBackgroundTraits::setHeight
virtual void setHeight(double height)=0
OdGiSolidBackgroundTraits::colorSolid
virtual OdCmEntityColor colorSolid() const =0
OdGiSkyBackgroundTraits::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdGiSkyBackgroundTraits)
FacetModelerProfile2DBool::min
const T & min(const T &x, const T &y)
Definition: FMImpProfile2DBool.h:98
OdGiRenderSettingsTraits::setMaterialEnabled
virtual void setMaterialEnabled(bool enabled)=0
OdGiGradientBackgroundTraits::rotation
virtual double rotation() const =0
OdGiIBLBackgroundTraits::setEnable
virtual void setEnable(bool bEnable)=0
OdGiMentalRayRenderSettingsTraits::tileSize
virtual int tileSize() const =0
krLogarithmic
@ krLogarithmic
Definition: GiEnvironment.h:160
OdGiMentalRayRenderSettingsTraits::setSamplingFilter
virtual void setSamplingFilter(OdGiMrFilter filter, double width, double height)=0
krELanczos
@ krELanczos
Definition: GiEnvironment.h:316
OdGiMentalRayRenderSettingsTraits::setTileSize
virtual void setTileSize(int size)=0
OdGiMentalRayRenderSettingsTraits::setLightLuminanceScale
virtual void setLightLuminanceScale(double luminance)=0
OdGiRenderEnvironmentTraits
Definition: GiEnvironment.h:38
OdGiMentalRayRenderSettingsTraits::setDiagnosticPhotonMode
virtual void setDiagnosticPhotonMode(OdGiMrDiagnosticPhotonMode mode)=0
OdGiGradientBackgroundTraits::setHorizon
virtual void setHorizon(double horizon)=0
OdGiMentalRayRenderSettingsTraits::setDiagnosticMode
virtual void setDiagnosticMode(OdGiMrDiagnosticMode mode)=0
OdGiMentalRayRenderSettingsTraits::giPhotonsPerLight
virtual int giPhotonsPerLight() const =0
OdGiMentalRayRenderSettingsTraits::progressMonitor
virtual const void * progressMonitor() const =0
OdGiImageBackgroundTraits::useTiling
virtual bool useTiling() const =0
krSize
@ krSize
Definition: GiEnvironment.h:142
OdGiMrDiagnosticGridMode
OdGiMrDiagnosticGridMode
Definition: GiEnvironment.h:125
OdGiRapidRTRenderSettingsTraits::setDesiredRenderLevel
virtual void setDesiredRenderLevel(int level)=0
OdGiRenderEnvironmentTraits::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdGiRenderEnvironmentTraits)
OdGiImageBackgroundTraitsPtr
OdSmartPtr< OdGiImageBackgroundTraits > OdGiImageBackgroundTraitsPtr
Definition: GiEnvironment.h:452
OdGiMentalRayRenderSettingsTraits::samplingContrastColor
virtual void samplingContrastColor(float &r, float &g, float &b, float &a) const =0
OdGiRapidRTRenderSettingsTraits::setDesiredRenderTime
virtual void setDesiredRenderTime(int time)=0
OdGiGradientBackgroundTraits::setRotation
virtual void setRotation(double rotation)=0
OdGiRenderEnvironmentTraits::nearPercentage
virtual double nearPercentage() const =0
krSpiral
@ krSpiral
Definition: GiEnvironment.h:149
OdGiRapidRTRenderSettingsTraits::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdGiRapidRTRenderSettingsTraits)
size
GLsizeiptr size
Definition: gles2_ext.h:182
OdGiRenderSettingsTraits::modelScaleFactor
virtual double modelScaleFactor() const =0
OdGiGradientBackgroundTraits
Definition: GiEnvironment.h:385
OdGiGradientBackgroundTraits::setColorBottom
virtual void setColorBottom(const OdCmEntityColor &color)=0
OdGiMentalRayRenderSettingsTraits::setFGSampleRadius
virtual void setFGSampleRadius(double min, double max)=0
OdGiMentalRayRenderSettingsTraits::fgRayCount
virtual int fgRayCount() const =0
krEQuitByRenderLevel
@ krEQuitByRenderLevel
Definition: GiEnvironment.h:298
krTopToBottom
@ krTopToBottom
Definition: GiEnvironment.h:152
OdGiGroundPlaneBackgroundTraitsPtr
OdSmartPtr< OdGiGroundPlaneBackgroundTraits > OdGiGroundPlaneBackgroundTraitsPtr
Definition: GiEnvironment.h:487
krLanczos
@ krLanczos
Definition: GiEnvironment.h:102
OdGiMentalRayRenderSettingsTraits::setExportMIEnabled
virtual void setExportMIEnabled(bool enabled)=0
OdGiMentalRayRenderSettingsTraits::fgSampleRadius
virtual void fgSampleRadius(double &min, double &max) const =0
krExportMIOnly
@ krExportMIOnly
Definition: GiEnvironment.h:176
OdGiMentalRayRenderSettingsTraits::diagnosticMode
virtual OdGiMrDiagnosticMode diagnosticMode() const =0
krExportMIWithRender
@ krExportMIWithRender
Definition: GiEnvironment.h:175
OdGiMentalRayRenderSettingsTraits::setFGRadiusState
virtual void setFGRadiusState(bool bMin, bool bMax, bool bPixels)=0
OdGiRenderSettingsTraits::setShadowsEnabled
virtual void setShadowsEnabled(bool enabled)=0
OdGiGroundPlaneBackgroundTraits::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdGiGroundPlaneBackgroundTraits)
OdGiImageBackgroundTraits::yOffset
virtual double yOffset() const =0
OdGiGroundPlaneBackgroundTraits::colorUndergroundHorizon
virtual OdCmEntityColor colorUndergroundHorizon() const =0
OdGiMrTileOrder
OdGiMrTileOrder
Definition: GiEnvironment.h:147
krLeftToRight
@ krLeftToRight
Definition: GiEnvironment.h:150
OdGiIBLBackgroundTraits::setSecondaryBackground
virtual void setSecondaryBackground(OdDbStub *bgId)=0
OdGiMentalRayRenderSettingsTraits::energyMultiplier
virtual float energyMultiplier() const =0
OdGiRenderSettingsTraits::textureSampling
virtual bool textureSampling() const =0
OdGiGradientBackgroundTraits::colorMiddle
virtual OdCmEntityColor colorMiddle() const =0
OdGiImageBackgroundTraits::xScale
virtual double xScale() const =0
krGrid
@ krGrid
Definition: GiEnvironment.h:117
krFinalGatherOn
@ krFinalGatherOn
Definition: GiEnvironment.h:167
OdGiMentalRayRenderSettingsTraits::setSampling
virtual void setSampling(int min, int max)=0
OdGiMentalRayRenderSettingsTraits::diagnosticPhotonMode
virtual OdGiMrDiagnosticPhotonMode diagnosticPhotonMode() const =0
OdGiMrFinalGatheringMode
OdGiMrFinalGatheringMode
Definition: GiEnvironment.h:165
OdGiMentalRayRenderSettingsTraits::setShadowMode
virtual void setShadowMode(OdGiMrShadowMode mode)=0
OdGiIBLBackgroundTraits::enable
virtual bool enable() const =0
OdGiMentalRayRenderSettingsTraits::sampling
virtual void sampling(int &min, int &max) const =0
OdGiGroundPlaneBackgroundTraits::setColorSkyHorizon
virtual void setColorSkyHorizon(const OdCmEntityColor &color)=0
OdGiIBLBackgroundTraitsPtr
OdSmartPtr< OdGiIBLBackgroundTraits > OdGiIBLBackgroundTraitsPtr
Definition: GiEnvironment.h:541
OdGiMentalRayRenderSettingsTraits::lightLuminanceScale
virtual double lightLuminanceScale() const =0
OdGiMentalRayRenderSettingsTraits::setFinalGatheringEnabled
virtual void setFinalGatheringEnabled(bool enabled)=0
OdGiImageBackgroundTraits::imageFilename
virtual const OdString & imageFilename() const =0
OdSmartPtr
Definition: SmartPtr.h:58
OdGiRenderEnvironmentTraits::nearDistance
virtual double nearDistance() const =0
krBottomToTop
@ krBottomToTop
Definition: GiEnvironment.h:153
OdGiImageBackgroundTraits::setYOffset
virtual void setYOffset(double yOffset)=0
OdGiRapidRTRenderSettingsTraits::setFilterWidth
virtual void setFilterWidth(float width)=0
OdGiImageBackgroundTraits::setImageFilename
virtual void setImageFilename(const OdString &filename)=0
OdGiIBLBackgroundTraits::rotation
virtual double rotation() const =0
krExportMIOff
@ krExportMIOff
Definition: GiEnvironment.h:174
OdGiRenderSettingsTraits::shadowsEnabled
virtual bool shadowsEnabled() const =0
OdGiRenderEnvironmentTraits::setFogColor
virtual void setFogColor(const OdCmEntityColor &color)=0
OdGiRenderEnvironmentTraits::farDistance
virtual double farDistance() const =0
OdGiMentalRayRenderSettingsTraits::exportMIEnabled
virtual bool exportMIEnabled() const =0
OdGiSolidBackgroundTraitsPtr
OdSmartPtr< OdGiSolidBackgroundTraits > OdGiSolidBackgroundTraitsPtr
Definition: GiEnvironment.h:376
OdGiGroundPlaneBackgroundTraits::setColorGroundPlaneNear
virtual void setColorGroundPlaneNear(const OdCmEntityColor &color)=0
OdGiMentalRayRenderSettingsTraits::setDiagnosticBSPMode
virtual void setDiagnosticBSPMode(OdGiMrDiagnosticBSPMode mode)=0
krEQuitByRenderTime
@ krEQuitByRenderTime
Definition: GiEnvironment.h:299
OdGiMrFilter
OdGiMrFilter
Definition: GiEnvironment.h:97
OdGiMentalRayRenderSettingsTraits::setEnergyMultiplier
virtual void setEnergyMultiplier(float fScale)=0
OdGiSkyBackgroundTraitsPtr
OdSmartPtr< OdGiSkyBackgroundTraits > OdGiSkyBackgroundTraitsPtr
Definition: GiEnvironment.h:508
OdGiImageBackgroundTraits::setMaintainAspectRatio
virtual void setMaintainAspectRatio(bool bMaintainAspectRatio)=0
OdGiMentalRayRenderSettingsTraits::setPhotonTraceDepth
virtual void setPhotonTraceDepth(int reflection, int refraction, int sum)=0
OdGiRapidRTRenderSettingsTraits::desiredRenderTime
virtual int desiredRenderTime() const =0
OdGiRenderEnvironmentTraits::farPercentage
virtual double farPercentage() const =0
krHilbert
@ krHilbert
Definition: GiEnvironment.h:148
krObject
@ krObject
Definition: GiEnvironment.h:126
OdGiMentalRayRenderSettingsTraits::rayTraceEnabled
virtual bool rayTraceEnabled() const =0
OdGiMentalRayRenderSettingsTraits::setProgressMonitor
virtual void setProgressMonitor(void *pMonitor)=0
OdGiRenderEnvironmentTraits::fogColor
virtual OdCmEntityColor fogColor() const =0
OdGiRenderEnvironmentTraits::environmentMap
virtual OdGiMaterialTexture * environmentMap() const =0
GiMaterial.h
OdGiRenderSettingsTraits::backFacesEnabled
virtual bool backFacesEnabled() const =0
OdGiGradientBackgroundTraits::setColorMiddle
virtual void setColorMiddle(const OdCmEntityColor &color)=0
OdGiMentalRayRenderSettingsTraits::fgSampleRadiusState
virtual void fgSampleRadiusState(bool &bMin, bool &bMax, bool &bPixels)=0
OdGiGradientBackgroundTraits::colorTop
virtual OdCmEntityColor colorTop() const =0
krEGaussian
@ krEGaussian
Definition: GiEnvironment.h:315
OdGiGroundPlaneBackgroundTraits
Definition: GiEnvironment.h:461
OdGiRenderEnvironmentTraits::setFarDistance
virtual void setFarDistance(double farDist)=0
FacetModelerProfile2DBool::max
const T & max(const T &x, const T &y)
Definition: FMImpProfile2DBool.h:105
OdGiSolidBackgroundTraits
Definition: GiEnvironment.h:365
krEBox
@ krEBox
Definition: GiEnvironment.h:313
OdGiFilterType
OdGiFilterType
Definition: GiEnvironment.h:312
OdGiRapidRTRenderSettingsTraits::setFilterType
virtual void setFilterType(OdGiFilterType type)=0
OdGiRapidRTRenderSettingsTraits::setQuitCondition
virtual void setQuitCondition(OdGiQuitCondition condition)=0
krSegments
@ krSegments
Definition: GiEnvironment.h:110
krBSP
@ krBSP
Definition: GiEnvironment.h:120
height
GLint GLenum GLsizei GLsizei height
Definition: gles2_ext.h:110
width
GLint GLenum GLsizei width
Definition: gles2_ext.h:110
OdGiImageBackgroundTraits::setUseTiling
virtual void setUseTiling(bool bUseTiling)=0
krIrradiance
@ krIrradiance
Definition: GiEnvironment.h:135
OdGiRenderEnvironmentTraits::setFarPercentage
virtual void setFarPercentage(double farPct)=0
OdGiMentalRayRenderSettingsTraits::setTileOrder
virtual void setTileOrder(OdGiMrTileOrder order)=0
OdGiRenderEnvironmentTraitsPtr
OdSmartPtr< OdGiRenderEnvironmentTraits > OdGiRenderEnvironmentTraitsPtr
Definition: GiEnvironment.h:63
OdGiIBLBackgroundTraits
Definition: GiEnvironment.h:518
OdGiRenderSettingsTraitsPtr
OdSmartPtr< OdGiRenderSettingsTraits > OdGiRenderSettingsTraitsPtr
Definition: GiEnvironment.h:93
OdGiMrDiagnosticPhotonMode
OdGiMrDiagnosticPhotonMode
Definition: GiEnvironment.h:133
OdGiRapidRTRenderSettingsTraits
Definition: GiEnvironment.h:327
OdGiRenderSettingsTraits::materialEnabled
virtual bool materialEnabled() const =0
OdGiImageBackgroundTraits::yScale
virtual double yScale() const =0
OdGiMaterialTexture
Definition: GiMaterial.h:713
krMitchell
@ krMitchell
Definition: GiEnvironment.h:101
OdGiMentalRayRenderSettingsTraits::shadowMapEnabled
virtual bool shadowMapEnabled() const =0
OdGiMentalRayRenderSettingsTraits::setRayTraceDepth
virtual void setRayTraceDepth(int reflection, int refraction, int sum)=0
OdGiIBLBackgroundTraits::setDisplayImage
virtual void setDisplayImage(bool bDisplay)=0
OdGiRenderSettingsTraits
Definition: GiEnvironment.h:72
params
GLenum GLint * params
Definition: gles2_ext.h:184
OdGiMentalRayRenderSettingsTraits::memoryLimit
virtual int memoryLimit() const =0
OdGiSolidBackgroundTraits::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdGiSolidBackgroundTraits)
OdGiMentalRayRenderSettingsTraits::setRayTraceEnabled
virtual void setRayTraceEnabled(bool enabled)=0
ODRX_ABSTRACT
#define ODRX_ABSTRACT
Definition: OdPlatformSettings.h:117
OdGiMentalRayRenderSettingsTraits::setShadowSamplingMultiplier
virtual void setShadowSamplingMultiplier(double multiplier)=0
OdGiRapidRTRenderSettingsTraits::filterHeight
virtual float filterHeight() const =0
krEBasic
@ krEBasic
Definition: GiEnvironment.h:306
OdGiMentalRayRenderSettingsTraits::setDiagnosticGridMode
virtual void setDiagnosticGridMode(OdGiMrDiagnosticGridMode mode, float fSize)=0
OdGiRenderEnvironmentTraits::setEnvironmentMap
virtual void setEnvironmentMap(const OdGiMaterialTexture *m)=0
OdGiSkyParameters
Definition: GiLightTraits.h:499
OdGiImageBackgroundTraits::maintainAspectRatio
virtual bool maintainAspectRatio() const =0
OdGiGroundPlaneBackgroundTraits::colorUndergroundAzimuth
virtual OdCmEntityColor colorUndergroundAzimuth() const =0
OdGiMentalRayRenderSettingsTraits::exportMIFileName
virtual OdString exportMIFileName() const =0
OdGiMentalRayRenderSettingsTraits::shadowMode
virtual OdGiMrShadowMode shadowMode() const =0
OdGiMentalRayRenderSettingsTraits::setExposureType
virtual void setExposureType(OdGiMrExposureType type)=0
OdGiDrawableTraits
Definition: Gi.h:71
OdGiRapidRTRenderSettingsTraits::desiredRenderLevel
virtual int desiredRenderLevel() const =0
OdGiMentalRayRenderSettingsTraits::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdGiMentalRayRenderSettingsTraits)
krSamples
@ krSamples
Definition: GiEnvironment.h:119
krFinalGatherOff
@ krFinalGatherOff
Definition: GiEnvironment.h:166
OdGiQuitCondition
OdGiQuitCondition
Definition: GiEnvironment.h:297
OdGiRapidRTRenderSettingsTraitsPtr
OdSmartPtr< OdGiRapidRTRenderSettingsTraits > OdGiRapidRTRenderSettingsTraitsPtr
Definition: GiEnvironment.h:356
OdGiIBLBackgroundTraits::setRotation
virtual void setRotation(double rotation)=0
OdGiGradientBackgroundTraits::horizon
virtual double horizon() const =0
OdGiIBLBackgroundTraits::setIBLImageName
virtual void setIBLImageName(const OdString &filename)=0
OdGiRenderEnvironmentTraits::setIsBackground
virtual void setIsBackground(bool bEnable)=0
OdGiMentalRayRenderSettingsTraits::globalIlluminationEnabled
virtual bool globalIlluminationEnabled() const =0
level
GLint level
Definition: gles2_ext.h:110
OdGiRapidRTRenderSettingsTraits::filterWidth
virtual float filterWidth() const =0
krSorted
@ krSorted
Definition: GiEnvironment.h:109
OdGiRenderEnvironmentTraits::setNearDistance
virtual void setNearDistance(double nearDist)=0
krESimplistic
@ krESimplistic
Definition: GiEnvironment.h:305
OdGiMentalRayRenderSettingsTraits
Definition: GiEnvironment.h:186
OdGiRenderEnvironmentTraits::isBackground
virtual bool isBackground() const =0
OdGiMentalRayRenderSettingsTraits::setShadowMapEnabled
virtual void setShadowMapEnabled(bool enabled)=0
OdGiImageBackgroundTraits::setYScale
virtual void setYScale(double yScale)=0
krDensity
@ krDensity
Definition: GiEnvironment.h:134
krAutomatic
@ krAutomatic
Definition: GiEnvironment.h:159
OdGiLightingMode
OdGiLightingMode
Definition: GiEnvironment.h:304
OdGiMrExposureType
OdGiMrExposureType
Definition: GiEnvironment.h:158
OdGiMentalRayRenderSettingsTraits::finalGatheringEnabled
virtual bool finalGatheringEnabled() const =0
krRightToLeft
@ krRightToLeft
Definition: GiEnvironment.h:151
OdGiImageBackgroundTraits::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdGiImageBackgroundTraits)
OdGiMentalRayRenderSettingsTraits::setFinalGatheringMode
virtual void setFinalGatheringMode(OdGiMrFinalGatheringMode mode)=0
krGauss
@ krGauss
Definition: GiEnvironment.h:100
OdGiIBLBackgroundTraits::secondaryBackground
virtual OdDbStub * secondaryBackground() const =0
OdGiSkyBackgroundTraits
Definition: GiEnvironment.h:497
OdGiMentalRayRenderSettingsTraits::setFGRayCount
virtual void setFGRayCount(int num)=0
krETriangle
@ krETriangle
Definition: GiEnvironment.h:314
krTriangle
@ krTriangle
Definition: GiEnvironment.h:99
OdGiRenderEnvironmentTraits::setNearPercentage
virtual void setNearPercentage(double nearPct)=0
OdGiImageBackgroundTraits::setXOffset
virtual void setXOffset(double xOffset)=0
OdGiGroundPlaneBackgroundTraits::setColorUndergroundHorizon
virtual void setColorUndergroundHorizon(const OdCmEntityColor &color)=0
OdGiMrDiagnosticMode
OdGiMrDiagnosticMode
Definition: GiEnvironment.h:115
OdGiGroundPlaneBackgroundTraits::colorGroundPlaneFar
virtual OdCmEntityColor colorGroundPlaneFar() const =0
krDepth
@ krDepth
Definition: GiEnvironment.h:141
OdGiMentalRayRenderSettingsTraits::giSampleRadius
virtual double giSampleRadius() const =0
OdGiIBLBackgroundTraits::displayImage
virtual bool displayImage() const =0
OdGiMentalRayRenderSettingsTraits::tileOrder
virtual OdGiMrTileOrder tileOrder() const =0
OdGiGroundPlaneBackgroundTraits::colorSkyZenith
virtual OdCmEntityColor colorSkyZenith() const =0
OdGiRenderEnvironmentTraits::setEnable
virtual void setEnable(bool bEnable)=0
OdGiGroundPlaneBackgroundTraits::setColorGroundPlaneFar
virtual void setColorGroundPlaneFar(const OdCmEntityColor &color)=0
Gi.h
OdGiImageBackgroundTraits
Definition: GiEnvironment.h:420
OdGiMentalRayRenderSettingsTraits::setGlobalIlluminationEnabled
virtual void setGlobalIlluminationEnabled(bool enabled)=0
OdGiImageBackgroundTraits::xOffset
virtual double xOffset() const =0
OdGiRenderSettingsTraits::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdGiRenderSettingsTraits)