CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
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();
int triangleCount() const
OdDbRapidRTRenderSettings()
void sampling(int &min, int &max) const
OdResult setGISampleCount(int numPhotons)
OdUInt32 subSetAttributes(OdGiDrawableTraits *pTraits) const
bool fogBackgroundEnabled() const
virtual bool operator==(const OdDbMentalRayRenderSettings &settings)
void setProcedureAndDestination(Procedure nProcedure, Destination nDestination)
const OdDbDate & endTime() const
OdDbMentalRayRenderSettings()
OdResult setDestination(Destination nDestination)
virtual ~OdDbRenderSettings()
OdGiMrDiagnosticBSPMode diagnosticBSPMode() const
OdResult setGISampleRadius(double radius)
void fgSampleRadiusState(bool &useMin, bool &useMax, bool &inPixels) const
double lightLuminanceScale() const
GLuint const GLchar * name
void fgSampleRadius(double &minRadius, double &maxRadius) const
OdResult setLightLuminanceScale(double fLuminance)
int materialCount() const
OdGiDrawable * drawable()
void setDiagnosticMode(OdGiMrDiagnosticMode diagnosticMode)
void setDisplayIndex(int nDisplay)
TOOLKIT_EXPORT OdDbDictionaryPtr oddbGetRenderEntriesDictionary(OdDbDatabase *pDb, OdDb::OpenMode mode, bool createIfNotFound=false)
bool materialsEnabled() const
void setTileOrder(OdGiMrTileOrder tileOrder)
OdSmartPtr< OdDbRapidRTRenderSettings > OdDbRapidRTRenderSettingsPtr
TOOLKIT_EXPORT OdDbObjectId oddbGetRenderGlobalObjectId(OdDbDatabase *pDb, bool createIfNotFound=false)
int giSampleCount() const
void setMemoryAmount(int nAmount)
void dimensions(int &w, int &h) const
bool shadowMapsEnabled() const
OdResult setShadowSamplingMultiplier(ShadowSamplingMultiplier multiplier)
GLuint GLsizei GLsizei GLint GLenum * type
void distances(double &dNear, double &dFar) const
OdResult setRenderTime(int time)
OdGiMrTileOrder tileOrder() const
void setShadowMode(OdGiMrShadowMode shadowMode)
OdResult setRenderTarget(RenderTarget target)
OdResult setPreviewImageFileName(const OdString &filename)
void setDescription(const OdString &description)
OdString previewImageFileName() const
void setDisplayIndex(int displayIndex)
bool predefinedPresetsFirst() const
bool finalGatheringEnabled() const
OdResult setLightingModel(OdGiLightingMode mode)
OdResult setFinalGatheringMode(OdGiMrFinalGatheringMode mode)
OdGiMrExposureType exposureType() const
OdResult setSamplingFilter(OdGiMrFilter filter, double width, double height)
ODDB_DECLARE_MEMBERS(OdDbRenderEnvironment)
TOOLKIT_EXPORT OdDbDictionaryPtr oddbGetRenderSettingsDictionary(OdDbDatabase *pDb, OdDb::OpenMode mode, bool createIfNotFound=false)
const T & min(const T &x, const T &y)
void setLightCount(int nCount)
TOOLKIT_EXPORT OdDbObjectId oddbGetRenderEnvironmentObjectId(OdDbDatabase *pDb, bool createIfNotFound=false)
void setTextureSampling(bool textureSampling)
Destination destination()
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdResult setEnvironmentImageFileName(const OdString &sFileName)
OdResult dwgInFields(OdDbDwgFiler *pFiler)
void procedureAndDestination(Procedure &nProcedure, Destination &nDestination) const
TOOLKIT_EXPORT OdDbObjectId oddbGetActiveRenderSettingsObjectId(OdDbDatabase *pDb, bool createIfNotFound=false)
OdResult dwgInFields(OdDbDwgFiler *pFiler)
virtual ~OdDbRenderGlobal()
OdResult setRenderLevel(int level)
OdResult setImageFileName(const OdString &fileName)
OdResult setIsPredefined(bool bSet)
virtual OdUInt32 subSetAttributes(OdGiDrawableTraits *pTraits) const
OdResult setMemoryLimit(int memoryLimit)
bool rayTracingEnabled() const
OdResult setStartTime(const OdDbDate &date)
OdSmartPtr< OdDbRenderEntry > OdDbRenderEntryPtr
const OdDbDate & startTime() const
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
RenderTarget renderTarget() const
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
void setDiagnosticSamplesMode(bool diagnosticSamplesMode)
void setTriangleCount(int nCount)
OdResult setDimensions(int w, int h)
OdString presetName() const
ODDB_DECLARE_MEMBERS(OdDbMentalRayRenderSettings)
OdResult setPhotonTraceDepth(int reflection, int refraction, int sum)
void setHighInfoLevel(bool bHighInfoLevel)
void setShadowsEnabled(bool shadowsEnabled)
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdSmartPtr< OdDbRenderGlobal > OdDbRenderGlobalPtr
OdResult dxfInFields(OdDbDxfFiler *pFiler)
GLfloat GLfloat GLfloat GLfloat w
void dxfOutFields(OdDbDxfFiler *pFiler) const
void dxfOutFields(OdDbDxfFiler *pFiler) const
OdSmartPtr< OdDbRenderEnvironment > OdDbRenderEnvironmentPtr
OdResult setEnergyMultiplier(float energyMultiplier)
OdResult setEndTime(const OdDbDate &date)
void setDiagnosticBSPMode(OdGiMrDiagnosticBSPMode diagnosticBSPMode)
bool diagnosticSamplesMode() const
OdString dimensionName() const
bool giSampleRadiusEnabled() const
OdResult setExposureType(OdGiMrExposureType type)
void fogDensity(double &dNear, double &dFar) const
void setMaterialsEnabled(bool materialsEnabled)
bool backFacesEnabled() const
void setFinalGatheringEnabled(bool finalGatheringEnabled)
void filterDimensions(float &width, float &height) const
OdResult setFilterDimensions(float width, float height)
float filterHeight() const
TOOLKIT_EXPORT OdDbRenderEnvironmentPtr oddbGetRenderEnvironmentObject(OdDbDatabase *pDb, OdDb::OpenMode mode, bool createIfNotFound=false)
void setFogBackgroundEnabled(bool bEnable)
void dxfOutFields(OdDbDxfFiler *pFiler) const
OdCmEntityColor fogColor() const
OdResult dxfInFields(OdDbDxfFiler *pFiler)
TOOLKIT_EXPORT OdDbDictionaryPtr oddbGetRenderRapidRTSettingsDictionary(OdDbDatabase *pDb, OdDb::OpenMode mode, bool createIfNotFound=false)
int giPhotonsPerLight() const
float energyMultiplier() const
ODDB_DECLARE_MEMBERS(OdDbRapidRTRenderSettings)
void setEnvironmentImageEnabled(bool bEnabled)
OdGiMrDiagnosticPhotonMode diagnosticPhotonMode() const
virtual OdUInt32 subSetAttributes(OdGiDrawableTraits *pTraits) const
void setRayTracingEnabled(bool rayTracingEnabled)
double giSampleRadius() const
virtual OdUInt32 subSetAttributes(OdGiDrawableTraits *pTraits) const
void dwgOutFields(OdDbDwgFiler *pFiler) const
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
bool diagnosticBackgroundEnabled() const
void setFogEnabled(bool bEnable)
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdResult setSaveFileName(const OdString &sFileName)
void setDiagnosticBackgroundEnabled(bool diagnosticBackgroundEnabled)
bool environmentImageEnabled() const
void photonTraceDepth(int &reflection, int &refraction, int &sum) const
OdResult setDistances(double dNear, double dFar)
OdResult setDimensions(int w, int h)
ODDB_DECLARE_MEMBERS(OdDbRenderEntry)
virtual OdGiDrawable * drawable()
OdGiMrExportMIMode exportMIMode() const
OdGiMrFinalGatheringMode finalGatheringMode() const
const T & max(const T &x, const T &y)
OdResult setFilterWidth(float width)
void setGlobalIlluminationEnabled(bool globalIlluminationEnabled)
void setMaterialCount(int nCount)
void setSaveEnabled(bool bEnabled)
virtual bool operator==(const OdDbRapidRTRenderSettings &settings)
bool isPredefined() const
GLint GLenum GLsizei GLsizei height
void SamplingFilter(OdGiMrFilter &filter, double &width, double &height) const
GLint GLenum GLsizei width
OdString viewName() const
OdResult setFogDensity(double dNear, double dFar)
void rayTraceDepth(int &reflection, int &refraction, int &sum) const
float filterWidth() const
OdGiMrDiagnosticPhotonMode
OdResult setSamplingContrastColor(float red, float green, float blue, float alpha)
OdString description() const
void samplingContrastColor(float &red, float &green, float &blue, float &alpha) const
OdString imageFileName() const
OdResult setFGSampleRadius(double minRadius, double maxRadius)
ODDB_DECLARE_MEMBERS(OdDbRenderGlobal)
TOOLKIT_EXPORT OdDbObjectId oddbGetRenderEntriesDictionaryId(OdDbDatabase *pDb, bool createIfNotFound=false)
bool shadowsEnabled() const
OdResult setDiagnosticGridMode(OdGiMrDiagnosticGridMode diagnosticGridMode, float gridSpace)
virtual ~OdDbRenderEnvironment()
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdString environmentImageFileName() const
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdResult setRayTraceDepth(int reflection, int refraction, int sum)
TOOLKIT_EXPORT OdDbObjectId oddbGetRenderRapidRTSettingsDictionaryId(OdDbDatabase *pDb, bool createIfNotFound=false)
void setRenderTime(float fTime)
OdResult setFGRayCount(int fgRayCount)
OdResult setSampling(int min, int max)
void dwgOutFields(OdDbDwgFiler *pFiler) const
OdGiLightingMode lightingModel() const
bool highInfoLevel() const
OdResult dwgInFields(OdDbDwgFiler *pFiler)
TOOLKIT_EXPORT OdDbObjectId oddbGetRenderPlotSettingsDictionaryId(OdDbDatabase *pDb, bool createIfNotFound=false)
OdString saveFileName() const
void dwgOutFields(OdDbDwgFiler *pFiler) const
OdResult setFilterType(OdGiFilterType type)
void setFGRadiusState(bool useMin, bool useMax, bool inPixels)
TOOLKIT_EXPORT OdDbRenderSettingsPtr oddbGetActiveRenderSettingsObject(OdDbDatabase *pDb, OdDb::OpenMode mode, bool createIfNotFound=false)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
OdSmartPtr< OdDbMentalRayRenderSettings > OdDbMentalRayRenderSettingsPtr
OdResult setExportMIFileName(const OdString &filename)
bool globalIlluminationEnabled() const
OdResult setPresetName(const OdString &name)
void diagnosticGridMode(OdGiMrDiagnosticGridMode &diagnosticGridMode, float &gridSpace) const
OdGiMrDiagnosticMode diagnosticMode() const
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdResult setViewName(const OdString &name)
OdResult setProcedure(Procedure nProcedure)
void dimensions(int &w, int &h) const
TOOLKIT_EXPORT OdDbObjectId oddbGetRenderSettingsDictionaryId(OdDbDatabase *pDb, bool createIfNotFound=false)
TOOLKIT_EXPORT OdDbObjectId oddbGetActiveRenderRapidRTSettingsObjectId(OdDbDatabase *pDb, bool createIfNotFound=false)
ODDB_DECLARE_MEMBERS(OdDbRenderSettings)
OdResult setFilterHeight(float height)
bool textureSampling() const
OdResult setGIPhotonsPerLight(int numPhotons)
void setFogColor(const OdCmEntityColor &color)
void setBackFacesEnabled(bool backFacesEnabled)
bool exportMIEnabled() const
void setPredefinedPresetsFirst(bool bPredefinedPresetsFirst)
void setShadowMapsEnabled(bool shadowMapsEnabled)
virtual ~OdDbMentalRayRenderSettings()
TOOLKIT_EXPORT OdDbDictionaryPtr oddbGetRenderPlotSettingsDictionary(OdDbDatabase *pDb, OdDb::OpenMode mode, bool createIfNotFound=false)
GLfloat GLfloat GLfloat alpha
TOOLKIT_EXPORT OdDbRenderSettingsPtr oddbGetActiveRenderRapidRTSettingsObject(OdDbDatabase *pDb, OdDb::OpenMode mode, bool createIfNotFound=false)
OdResult setName(const OdString &name)
TOOLKIT_EXPORT OdDbRenderGlobalPtr oddbGetRenderGlobalObject(OdDbDatabase *pDb, OdDb::OpenMode mode, bool createIfNotFound=false)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
ShadowSamplingMultiplier shadowSamplingMultiplier() const
OdResult setExportMIMode(OdGiMrExportMIMode eExportMIMode)
void setExportMIEnabled(bool exportMIEnabled)
void setGISampleRadiusEnabled(bool giSampleRadiusEnabled)
OdGiFilterType filterType() const
void setDiagnosticPhotonMode(OdGiMrDiagnosticPhotonMode diagnosticPhotonMode)
OdSmartPtr< OdDbRenderSettings > OdDbRenderSettingsPtr
virtual ~OdDbRapidRTRenderSettings()
OdResult dxfInFields(OdDbDxfFiler *pFiler)
virtual bool operator==(const OdDbRenderSettings &settings)
OdResult setTileSize(int tileSize)
virtual ~OdDbRenderEntry()
OdString exportMIFileName() const
OdGiMrShadowMode shadowMode() const