Data record for conveniently querying and sampling the a point on a shape. More...
#include <shape.h>
Public Member Functions | |
ShapeQueryRecord () | |
Empty constructor. | |
ShapeQueryRecord (const Point3f &ref_) | |
Data structure with ref to call sampleSurface() | |
ShapeQueryRecord (const Point3f &ref_, const Point3f &p_) | |
Data structure with ref and p to call pdfSurface() | |
Public Attributes | |
Point3f | ref |
Reference point. | |
Point3f | p |
Sampled point. | |
Normal3f | n |
Sampled normal. | |
float | |
Probability of the sample. | |
Data record for conveniently querying and sampling the a point on a shape.