24 #ifndef _DbRenderSettings_h_Included_
25 #define _DbRenderSettings_h_Included_
258 kSamplingMultiplierZero = 0,
259 kSamplingMultiplierOneEighth = 1,
260 kSamplingMultiplierOneFourth = 2,
261 kSamplingMultiplierOneHalf = 3,
262 kSamplingMultiplierOne = 4,
263 kSamplingMultiplierTwo = 5
1011 result = setFilterHeight(
height);
1022 width = filterWidth();
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)
OdGiMrDiagnosticPhotonMode
bool globalIlluminationEnabled() const
bool shadowMapsEnabled() 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)
int giSampleCount() const
OdResult setTileSize(int tileSize)
OdResult setMemoryLimit(int memoryLimit)
OdGiMrShadowMode shadowMode() const
int giPhotonsPerLight() const
ODDB_DECLARE_MEMBERS(OdDbMentalRayRenderSettings)
bool giSampleRadiusEnabled() const
OdGiMrFinalGatheringMode finalGatheringMode() const
bool exportMIEnabled() 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)
OdDbMentalRayRenderSettings()
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)
bool rayTracingEnabled() const
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
OdDbRapidRTRenderSettings()
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
float filterWidth() 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)
OdString imageFileName() const
void setDisplayIndex(int nDisplay)
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)
void dimensions(int &w, int &h) const
int materialCount() const
OdString viewName() const
void setMaterialCount(int nCount)
void setRenderTime(float fTime)
OdResult setImageFileName(const OdString &fileName)
void setMemoryAmount(int nAmount)
OdResult dwgInFields(OdDbDwgFiler *pFiler)
ODDB_DECLARE_MEMBERS(OdDbRenderEntry)
OdUInt32 subSetAttributes(OdGiDrawableTraits *pTraits) const
bool environmentImageEnabled() 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)
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
OdResult setPreviewImageFileName(const OdString &filename)
void setMaterialsEnabled(bool materialsEnabled)
void setDisplayIndex(int displayIndex)
virtual ~OdDbRenderSettings()
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)
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
GLfloat GLfloat GLfloat GLfloat w
GLint GLenum GLsizei width
GLuint const GLchar * name
GLuint GLsizei GLsizei GLint GLenum * type
GLint GLenum GLsizei GLsizei height
const T & min(const T &x, const T &y)
const T & max(const T &x, const T &y)