CFx SDK Documentation 2024 SP0
|
#include <GiViewportTraits.h>
Static Public Member Functions | |
static double | convertExposureToBrightness (double fExposure) |
static double | convertBrightnessToExposure (double fBrightness) |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Additional Inherited Members | |
Public Types inherited from OdGiToneOperatorParameters | |
enum | ExteriorDaylightMode { kDaylightOff = 0 , kDaylightOn = 1 , kDaylightAuto = 2 } |
Class that contains photographic exposure parameters. Corresponding C++ library: TD_Gi <group OdGi_Classes>
Definition at line 320 of file GiViewportTraits.h.
OdGiPhotographicExposureParameters::OdGiPhotographicExposureParameters | ( | ) |
Default constructor for the OdGiPhotographicExposureParameters class. Sets default properties of OdGiToneOperatorParameters and initializes the following data members:
Value Description m_fExposure true Exposure value. m_fWhitePoint false White point in Kelvins which affects the chromaticity of a scene.
OdGiPhotographicExposureParameters::OdGiPhotographicExposureParameters | ( | const OdGiPhotographicExposureParameters & | params | ) |
Copy constructor for the OdGiPhotographicExposureParameters class. Copies the data members of the passed object.
params | [in] Photographic exposure parameters to copy. |
|
inlinevirtual |
Destructor for the OdGiPhotographicExposureParameters class.
Definition at line 344 of file GiViewportTraits.h.
|
static |
Returns the converted brightness value to an exposure.
fBrightness | [in] Brightness value to convert. |
|
static |
Returns the converted exposure to a brightness value.
fExposure | [in] Exposure value to convert. |
|
virtual |
Retrieves the exposure value.
OdGiPhotographicExposureParameters::ODRX_DECLARE_MEMBERS | ( | OdGiPhotographicExposureParameters | ) |
bool OdGiPhotographicExposureParameters::operator!= | ( | const OdGiPhotographicExposureParameters & | params | ) | const |
Inequality operator for the OdGiPhotographicExposureParameters class.
params | [in] Tone operator parameters to compare. |
OdGiPhotographicExposureParameters & OdGiPhotographicExposureParameters::operator= | ( | const OdGiPhotographicExposureParameters & | params | ) |
Assignment operator for the OdGiPhotographicExposureParameters class. Returns a reference to this object with new assigned parameters.
params | [in] Parameters to assign. |
bool OdGiPhotographicExposureParameters::operator== | ( | const OdGiPhotographicExposureParameters & | params | ) | const |
Equality operator for the OdGiPhotographicExposureParameters class.
params | [in] Tone operator parameters to compare. |
|
virtual |
Sets the brightness for the parent OdGiToneOperatorParameters.
fBrightness | [in] Brightness in range 0.0..200.0. |
Reimplemented from OdGiToneOperatorParameters.
|
virtual |
Sets the exposure value. This value is a combination of a camera shutter speed and f-number (depth of field).
fExposure | [in] Photographic exposure in range -6.0..21.0. |
|
virtual |
Sets the white point which affects the chromaticity of a scene.
fWhitePoint | [in] White point in kelvins in range 1000.0..20000.0. |
|
virtual |
Retrieves the white point in kelvins.
OdCmEntityColor OdGiPhotographicExposureParameters::whitePointToColor | ( | ) | const |
Returns the converted white point to a color.