24#ifndef __OD_GI_VIEWPORT_TRAITS__
25#define __OD_GI_VIEWPORT_TRAITS__
251 bool m_bChromaticAdaptation;
252 bool m_bColorDifferentiation;
254 bool m_bProcessBackground;
255 double m_fBrightness;
416 double m_fWhitePoint;
475 kOneDistantLight = 0,
477 kTwoDistantLights = 1,
481 kUserDefinedLight = 3
bool operator!=(T left, const OdGiVariant::EnumType right)
bool operator==(T left, const OdGiVariant::EnumType right)
OdSmartPtr< OdGiViewportTraits > OdGiViewportTraitsPtr
OdSmartPtr< OdGiPhotographicExposureParameters > OdGiPhotographicExposureParametersPtr
OdSmartPtr< OdGiToneOperatorParameters > OdGiToneOperatorParametersPtr
ODRX_DECLARE_MEMBERS(OdGiPhotographicExposureParameters)
virtual bool setBrightness(double fBrightness)
static double convertExposureToBrightness(double fExposure)
OdGiPhotographicExposureParameters(const OdGiPhotographicExposureParameters ¶ms)
virtual double whitePoint() const
virtual bool setExposure(double fExposure)
virtual double exposure() const
static double convertBrightnessToExposure(double fBrightness)
virtual ~OdGiPhotographicExposureParameters()
OdGiPhotographicExposureParameters()
virtual bool setWhitePoint(double fWhitePoint)
OdCmEntityColor whitePointToColor() const
bool operator!=(const OdGiPhotographicExposureParameters ¶ms) const
OdGiPhotographicExposureParametersStatic()
bool operator==(const OdGiPhotographicExposureParameters ¶ms) const
OdGiPhotographicExposureParameters & operator=(const OdGiPhotographicExposureParameters ¶ms)
virtual double midTones() const
virtual const OdCmEntityColor & whiteColor() const
OdGiToneOperatorParameters()
virtual bool setContrast(double fContrast)
OdGiToneOperatorParameters(const OdGiToneOperatorParameters ¶ms)
virtual bool colorDifferentiation() const
virtual void setColorDifferentiation(bool bEnable)
virtual void setChromaticAdaptation(bool bEnable)
virtual bool setBrightness(double fBrightness)
virtual double contrast() const
virtual double brightness() const
virtual void setWhiteColor(const OdCmEntityColor &color)
virtual ExteriorDaylightMode exteriorDaylight() const
virtual bool isActive() const
virtual bool chromaticAdaptation() const
virtual ~OdGiToneOperatorParameters()
virtual bool setMidTones(double fMidTones)
ODRX_DECLARE_MEMBERS(OdGiToneOperatorParameters)
virtual void setProcessBackground(bool bProcessBg)
virtual bool processBackground() const
virtual bool setExteriorDaylight(ExteriorDaylightMode mode)
virtual void setIsActive(bool bActive)
OdGiToneOperatorParameters & operator=(const OdGiToneOperatorParameters ¶ms)
OdGiToneOperatorParametersStatic()
bool operator!=(const OdGiToneOperatorParameters ¶ms) const
bool operator==(const OdGiToneOperatorParameters ¶ms) const
virtual OdDbStub * renderEnvironment() const =0
virtual double brightness() const =0
virtual void setDefaultLightingShadowParameters(const OdGiShadowParameters ¶ms)=0
virtual OdGeVector3d userDefinedLightDirection() const =0
virtual void setUserDefinedLightDirection(const OdGeVector3d &lightDirection)=0
virtual void setBrightness(double brightness)=0
virtual void setRenderSettings(OdDbStub *rs)=0
virtual OdCmEntityColor defaultLightingColor() const =0
virtual void setAmbientLightColor(const OdCmEntityColor &color)=0
virtual void setContrast(double contrast)=0
virtual OdDbStub * background() const =0
virtual OdDbStub * renderSettings() const =0
ODRX_DECLARE_MEMBERS(OdGiViewportTraits)
virtual void setBackground(OdDbStub *bg)=0
virtual void setRenderEnvironment(OdDbStub *re)=0
virtual double contrast() const =0
virtual DefaultLightingType defaultLightingType() const =0
virtual void setDefaultLightingOn(bool b)=0
virtual void setDefaultLightingColor(const OdCmEntityColor &color)=0
virtual OdCmEntityColor ambientLightColor() const =0
virtual void toneOperatorParameters(OdGiToneOperatorParameters ¶ms)=0
virtual bool isDefaultLightingOn() const =0
virtual void defaultLightingShadowParameters(OdGiShadowParameters ¶ms) const =0
virtual void setToneOperatorParameters(const OdGiToneOperatorParameters ¶ms)=0
virtual void setDefaultLightingIntensity(double dIntensity)=0
virtual void setDefaultLightingType(DefaultLightingType)=0
virtual double defaultLightingIntensity() const =0