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

Public Member Functions

 BSDF (const SurfaceInteraction &isect, double eta=1.0)
 
void add (BxDF *b)
 
int numComponents (BxDFType type=BxDFType::All) const
 
Spectrum f (const Vector3d &woWorld, const Vector3d &wiWorld, BxDFType type=BxDFType::All) const
 
Spectrum sample (const Vector3d &woWorld, Vector3d *wiWorld, const Point2d &rands, double *pdf, BxDFType type=BxDFType::All, BxDFType *sampledType=nullptr) const
 
double pdf (const Vector3d &wo, const Vector3d &wi, BxDFType type=BxDFType::All) const
 
bool hasType (BxDFType type) const
 
double eta () const
 

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