#include <BXDF.h>
Public Member Functions | |
BXDF (const RGBColor &s, const RGBColor &d, const RGBColor &t, const BXDFType &bt) | |
virtual | ~BXDF () |
virtual RGBColor | eval (const Vec3D &wOut, const Vec3D &wInc, const Vec3D &normal) const =0 |
virtual RGBColor | evalDiffuse (const Vec3D &wOut, const Vec3D &wInc, const Vec3D &normal) const =0 |
virtual RGBColor | evalSpecular (const Vec3D &wOut, const Vec3D &wInc, const Vec3D &normal) const =0 |
virtual bool | specular () const =0 |
virtual bool | glossy () const =0 |
virtual bool | diffuse () const =0 |
virtual bool | fresnel () const =0 |
const RGBColor & | getKs () const |
const RGBColor & | getKd () const |
const RGBColor & | getKt () const |
Public Attributes | |
const BXDFType | type |
Protected Attributes | |
RGBColor | ks |
RGBColor | kd |
RGBColor | kt |
Definition at line 17 of file BXDF.h.
virtual RGBColor rcrt::BXDF::eval | ( | const Vec3D & | wOut, | |
const Vec3D & | wInc, | |||
const Vec3D & | normal | |||
) | const [pure virtual] |
Implemented in rcrt::CookTorrance, rcrt::Lambertian, and rcrt::Phong.
virtual RGBColor rcrt::BXDF::evalDiffuse | ( | const Vec3D & | wOut, | |
const Vec3D & | wInc, | |||
const Vec3D & | normal | |||
) | const [pure virtual] |
Implemented in rcrt::CookTorrance, rcrt::Lambertian, and rcrt::Phong.
virtual RGBColor rcrt::BXDF::evalSpecular | ( | const Vec3D & | wOut, | |
const Vec3D & | wInc, | |||
const Vec3D & | normal | |||
) | const [pure virtual] |
Implemented in rcrt::CookTorrance, rcrt::Lambertian, and rcrt::Phong.
virtual bool rcrt::BXDF::specular | ( | ) | const [pure virtual] |
Implemented in rcrt::CookTorrance, rcrt::Lambertian, and rcrt::Phong.
virtual bool rcrt::BXDF::glossy | ( | ) | const [pure virtual] |
Implemented in rcrt::CookTorrance, rcrt::Lambertian, and rcrt::Phong.
virtual bool rcrt::BXDF::diffuse | ( | ) | const [pure virtual] |
Implemented in rcrt::CookTorrance, rcrt::Lambertian, and rcrt::Phong.
virtual bool rcrt::BXDF::fresnel | ( | ) | const [pure virtual] |
Implemented in rcrt::CookTorrance, rcrt::Lambertian, and rcrt::Phong.
RGBColor rcrt::BXDF::ks [protected] |
Definition at line 20 of file BXDF.h.
Referenced by rcrt::Phong::evalSpecular(), rcrt::CookTorrance::evalSpecular(), and getKs().
RGBColor rcrt::BXDF::kd [protected] |
Definition at line 21 of file BXDF.h.
Referenced by rcrt::Phong::eval(), rcrt::Lambertian::eval(), rcrt::CookTorrance::eval(), rcrt::Phong::evalDiffuse(), rcrt::Lambertian::evalDiffuse(), rcrt::CookTorrance::evalDiffuse(), and getKd().
RGBColor rcrt::BXDF::kt [protected] |
const BXDFType rcrt::BXDF::type |