#include <debug.h>
Public Member Functions | |
Spectrum | Li (const Scene *scene, const RayDifferential &ray, const Sample *sample, float *alpha) const |
DebugIntegrator (DebugVariable v[3]) | |
virtual DebugIntegrator * | clone () const |
IntegrationSampler * | HasIntegrationSampler (IntegrationSampler *is) |
Static Public Member Functions | |
static SurfaceIntegrator * | CreateSurfaceIntegrator (const ParamSet ¶ms) |
Private Attributes | |
DebugVariable | debug_variable [3] |
Definition at line 48 of file debug.h.
lux::DebugIntegrator::DebugIntegrator | ( | DebugVariable | v[3] | ) | [inline] |
Definition at line 53 of file debug.h.
References debug_variable.
Referenced by clone(), and CreateSurfaceIntegrator().
DebugIntegrator * DebugIntegrator::clone | ( | ) | const [virtual] |
Definition at line 33 of file debug.cpp.
References DebugIntegrator().
SurfaceIntegrator * DebugIntegrator::CreateSurfaceIntegrator | ( | const ParamSet & | params | ) | [static] |
Definition at line 114 of file debug.cpp.
References lux::DEBUG_GEOM_NORMAL_X, lux::DEBUG_GEOM_NORMAL_Y, lux::DEBUG_GEOM_NORMAL_Z, lux::DEBUG_HIT_SOMETHING, lux::DEBUG_ONE, lux::DEBUG_SHAD_NORMAL_X, lux::DEBUG_SHAD_NORMAL_Y, lux::DEBUG_SHAD_NORMAL_Z, lux::DEBUG_U, lux::DEBUG_V, lux::DEBUG_ZERO, DebugIntegrator(), lux::ParamSet::FindOneString(), LUX_BADTOKEN, LUX_ERROR, and luxError.
IntegrationSampler* lux::DebugIntegrator::HasIntegrationSampler | ( | IntegrationSampler * | is | ) | [inline] |
Spectrum DebugIntegrator::Li | ( | const Scene * | scene, | |
const RayDifferential & | ray, | |||
const Sample * | sample, | |||
float * | alpha | |||
) | const [virtual] |
Implements lux::Integrator.
Definition at line 37 of file debug.cpp.
References lux::DEBUG_GEOM_NORMAL_X, lux::DEBUG_GEOM_NORMAL_Y, lux::DEBUG_GEOM_NORMAL_Z, lux::DEBUG_HIT_SOMETHING, lux::DEBUG_ONE, lux::DEBUG_SHAD_NORMAL_X, lux::DEBUG_SHAD_NORMAL_Y, lux::DEBUG_SHAD_NORMAL_Z, lux::DEBUG_U, lux::DEBUG_V, debug_variable, lux::DEBUG_ZERO, lux::Intersection::dg, lux::BSDF::dgShading, lux::Intersection::GetBSDF(), lux::Scene::Intersect(), LUX_CONSISTENCY, LUX_SEVERE, luxError, lux::DifferentialGeometry::nn, lux::DifferentialGeometry::u, lux::DifferentialGeometry::v, lux::Normal::x, lux::Normal::y, and lux::Normal::z.
DebugVariable lux::DebugIntegrator::debug_variable[3] [private] |
Definition at line 63 of file debug.h.
Referenced by DebugIntegrator(), and Li().