Nori  23
Microfacet Class Reference
Inheritance diagram for Microfacet:
Collaboration diagram for Microfacet:

Public Member Functions

 Microfacet (const PropertyList &propList)
 
float evalBeckmann (const Normal3f &m) const
 Evaluate the microfacet normal distribution D.
 
float smithBeckmannG1 (const Vector3f &v, const Normal3f &m) const
 Evaluate Smith's shadowing-masking function G1.
 
virtual Color3f eval (const BSDFQueryRecord &bRec) const override
 Evaluate the BRDF for the given pair of directions.
 
virtual float pdf (const BSDFQueryRecord &bRec) const override
 Evaluate the sampling density of sample() wrt. solid angles.
 
virtual Color3f sample (BSDFQueryRecord &bRec, const Point2f &_sample) const override
 Sample the BRDF.
 
virtual std::string toString () const override
 Return a brief string summary of the instance (for debugging purposes)
 
- Public Member Functions inherited from BSDF
virtual EClassType getClassType () const override
 Return the type of object (i.e. Mesh/BSDF/etc.) provided by this instance.
 
virtual bool isDiffuse () const
 Return whether or not this BRDF is diffuse. This is primarily used by photon mapping to decide whether or not to store photons on a surface.
 
- Public Member Functions inherited from NoriObject
virtual ~NoriObject ()
 Virtual destructor.
 
virtual void addChild (NoriObject *child)
 Add a child object to the current instance. More...
 
virtual void setParent (NoriObject *parent)
 Set the parent object. More...
 
virtual void activate ()
 Perform some action associated with the object. More...
 
void setIdName (const std::string &name)
 Allow to assign a name to the object.
 
const std::string & getIdName () const
 

Additional Inherited Members

- Public Types inherited from NoriObject
enum  EClassType {
  EScene = 0 , EMesh , ETexture , EBSDF ,
  EPhaseFunction , EEmitter , EMedium , ECamera ,
  EIntegrator , ESampler , ETest , EReconstructionFilter ,
  EClassTypeCount
}
 
- Static Public Member Functions inherited from NoriObject
static std::string classTypeName (EClassType type)
 Turn a class type into a human-readable string.
 
- Protected Attributes inherited from NoriObject
std::string m_idname
 

Detailed Description

Definition at line 25 of file microfacet.cpp.


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