The spica renderer
Public Member Functions | List of all members
spica::SpecularReflection Class Reference

Specular reflection (Metal-like effect). More...

#include <bxdf.h>

Inheritance diagram for spica::SpecularReflection:
spica::BxDF spica::Uncopyable

Public Member Functions

 SpecularReflection (const Spectrum &ref, Fresnel *fresnel)
 
Spectrum f (const Vector3d &wo, const Vector3d &wi) const override
 
Spectrum sample (const Vector3d &wo, Vector3d *wi, const Point2d &rands, double *pdf, BxDFType *sampledType) const override
 
double pdf (const Vector3d &wo, const Vector3d &wi) const override
 
- Public Member Functions inherited from spica::BxDF
 BxDF (BxDFType type=BxDFType::None)
 
BxDFType type () const
 
- Public Member Functions inherited from spica::Uncopyable
 Uncopyable (const Uncopyable &)=delete
 
Uncopyableoperator= (const Uncopyable &)=delete
 

Detailed Description

Specular reflection (Metal-like effect).


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