Lagrange
Loading...
Searching...
No Matches
RaySampler< Scalar > Struct Template Reference

Classes

struct  Sample
 

Public Member Functions

 RaySampler (const Eigen::RowVector3< Scalar > &normal)
 
 RaySampler (RaySampler &&other) noexcept
 
 RaySampler (const RaySampler &)=delete
 
RaySampleroperator= (const RaySampler &)=delete
 
RaySampleroperator= (RaySampler &&)=delete
 
const Eigen::RowVector3< Scalar > & get_normal () const
 
Sample operator() ()
 Bi-hemisphere sample via Malley's method: when bary reflection fires (u+v > 1), the direction is also negated, giving symmetric upper/lower coverage from one 4D draw.
 
Sample jitter (Scalar jitter_sigma)
 

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