Nori  23
ShapeQueryRecord Struct Reference

Data record for conveniently querying and sampling the a point on a shape. More...

#include <shape.h>

Collaboration diagram for ShapeQueryRecord:

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 pdf
 Probability of the sample.
 

Detailed Description

Data record for conveniently querying and sampling the a point on a shape.

Definition at line 74 of file shape.h.


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