#include <perfectspecularbrdf.h>
Inheritance diagram for toxic::PerfectSpecularBRDF:

Public Member Functions | |
| virtual | ~PerfectSpecularBRDF () |
| virtual PerfectSpecularBRDF * | Clone () const |
| virtual bool | IsDiffuse () const |
| virtual bool | IsSpecular () const |
| virtual sheep::Real | Evaluate (const Context &context, const sheep::Vector3 &incoming, const sheep::Vector3 &outgoing) const |
| virtual sheep::Real | EvaluateSpecular (const Context &context, const sheep::Vector3 &incoming, sheep::Vector3 *outgoing) const |
| virtual void | Sample (const Context &context, const sheep::Vector3 &incoming, sheep::Vector3 *outgoing, sheep::Real *prob, sheep::Real *value) const |
| virtual sheep::Real | ComputeScatteringProbability (const sheep::Vector3 &incoming, const sheep::Vector3 &outgoing) const |
| virtual sheep::Real | ComputeReflectance (const Context &context) const |
| Computes and returns the hemispherical hemispherical reflectance. | |
| virtual sheep::Real | ComputeReflectance (const Context &context, const sheep::Vector3 &incoming) const |
|
|
Incoming and outgoing directions are both always expressed in the upper part of the unit hemisphere, and they are always unit-length. Definition at line 42 of file perfectspecularbrdf.h. |
|
|
Implements sheep::IClonable< IBDF >. Definition at line 27 of file perfectspecularbrdf.cpp. |
|
||||||||||||
|
Computes and returns the directional hemispherical reflectance. The incoming direction is expressed in local space.
Reimplemented from toxic::IBDF. Definition at line 180 of file perfectspecularbrdf.h. |
|
|
Computes and returns the hemispherical hemispherical reflectance.
Reimplemented from toxic::IBDF. Definition at line 173 of file perfectspecularbrdf.h. |
|
||||||||||||
|
Computes the probability of scattering from 'incoming' direction to 'outgoing' direction. Both incoming and outgoing directions are expressed in local space. Reimplemented from toxic::IBDF. Definition at line 161 of file perfectspecularbrdf.h. |
|
||||||||||||||||
|
Evaluates the function. Both the incoming and outgoing directions are expressed in local space. Implements toxic::IBDF. Definition at line 112 of file perfectspecularbrdf.h. |
|
||||||||||||||||
|
Reimplemented from toxic::IBDF. Definition at line 120 of file perfectspecularbrdf.h. |
|
|
Reimplemented from toxic::IBDF. Definition at line 46 of file perfectspecularbrdf.h. |
|
|
Reimplemented from toxic::IBDF. Definition at line 47 of file perfectspecularbrdf.h. |
|
||||||||||||||||||||||||
|
Samples the function in order to obtain an outgoing direction, given an incoming direction. The probability with which the direction has been chosen is also computed. Both incoming and outgoing directions are expressed in local space. Reimplemented from toxic::IBDF. Definition at line 138 of file perfectspecularbrdf.h. |
1.3.6