Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph::ExactConductorFresnel Class Reference

Conductor-dielectric interface Fresnel effect. More...

#include <ExactConductorFresnel.h>

Inheritance diagram for ph::ExactConductorFresnel:
ph::ConductorFresnel ph::FresnelEffect

Public Member Functions

 ExactConductorFresnel (real iorOuter, const math::Spectrum &iorInnerN, const math::Spectrum &iorInnerK)
 
 ExactConductorFresnel (real iorOuter, const std::vector< real > &iorWavelengthsNm, const std::vector< real > &iorInnerNs, const std::vector< real > &iorInnerKs)
 
math::Spectrum calcReflectance (real cosThetaIncident) const override
 
- Public Member Functions inherited from ph::ConductorFresnel
 ConductorFresnel ()=default
 
- Public Member Functions inherited from ph::FresnelEffect
virtual ~FresnelEffect ()=default
 
math::Spectrum calcTransmittance (real cosThetaIncident) const
 

Detailed Description

Conductor-dielectric interface Fresnel effect.

The formulae used are exact ones, i.e., no approximation is made.

Constructor & Destructor Documentation

◆ ExactConductorFresnel() [1/2]

ph::ExactConductorFresnel::ExactConductorFresnel ( real iorOuter,
const math::Spectrum & iorInnerN,
const math::Spectrum & iorInnerK )

◆ ExactConductorFresnel() [2/2]

ph::ExactConductorFresnel::ExactConductorFresnel ( real iorOuter,
const std::vector< real > & iorWavelengthsNm,
const std::vector< real > & iorInnerNs,
const std::vector< real > & iorInnerKs )

Member Function Documentation

◆ calcReflectance()

math::Spectrum ph::ExactConductorFresnel::calcReflectance ( real cosThetaIncident) const
overridevirtual
Parameters
cosThetaIncidentCosine of the incident angle.
Returns
The reflectance of the interface on the specified angle.
Note
cosThetaIncident is signed, so inner and outer sides can be determined.

Implements ph::ConductorFresnel.


The documentation for this class was generated from the following files: