DirectionSampler Class Reference
#include <probability.h>
Inheritance diagram for DirectionSampler:
Public Member Functions | |
LM_INTERFACE_CLASS (DirectionSampler, Component) | |
LM_DISABLE_COPY_AND_MOVE (DirectionSampler) | |
LM_INTERFACE_F (Sample, void(const Vec2 &u, double uComp, int queryType, const SurfaceGeometry &geom, const Vec3 &wi, Vec3 &wo)) | |
LM_INTERFACE_F (EvaluatePDF, Float(const SurfaceGeometry &geom, int queryType, const Vec3 &wi, const Vec3 &wo, bool evalDelta)) | |
Public Member Functions inherited from ProbabilityDist | |
LM_INTERFACE_CLASS (ProbabilityDist, Component) | |
LM_DISABLE_COPY_AND_MOVE (ProbabilityDist) | |
Public Member Functions inherited from SIMDAlignedType | |
void * | operator new (std::size_t size) throw (std::bad_alloc) |
void | operator delete (void *p) |
Detailed Description
Distribution for directional sampling on the scene surface.
- PDF $p_{}( | , {x})$
- Solid angle measure $$