Nori  23
EmitterQueryRecord Struct Reference

Data record for conveniently querying and sampling the direct illumination technique implemented by a emitter. More...

#include <emitter.h>

Collaboration diagram for EmitterQueryRecord:

Public Member Functions

 EmitterQueryRecord ()
 Create an unitialized query record.
 
 EmitterQueryRecord (const Point3f &ref)
 Create a new query record that can be used to sample a emitter.
 
 EmitterQueryRecord (const Point3f &ref, const Point3f &p, const Normal3f &n)
 Create a query record that can be used to query the sampling density after having intersected an area emitter.
 

Public Attributes

Point3f ref
 Origin point from which we sample the emitter.
 
Point3f p
 Sampled point on the emitter.
 
Normal3f n
 Normal at the emitter point.
 
Vector3f wi
 Direction between the hit point and the emitter point.
 
float pdf
 Probability.
 
Ray3f shadowRay
 Shadow ray.
 

Detailed Description

Data record for conveniently querying and sampling the direct illumination technique implemented by a emitter.

Definition at line 31 of file emitter.h.


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