Nori

BSDFQueryRecord Struct Reference

Convenience data structure used to pass multiple parameters to the evaluation and sampling routines in BSDF. More...

#include <bsdf.h>

List of all members.

Public Member Functions

 BSDFQueryRecord (const Vector3f &wi)
 Create a new record for sampling the BSDF.
 BSDFQueryRecord (const Vector3f &wi, const Vector3f &wo, EMeasure measure)
 Create a new record for querying the BSDF.

Public Attributes

Vector3f wi
 Incident direction (in the local frame)
Vector3f wo
 Outgoing direction (in the local frame)
EMeasure measure
 Measure associated with the sample.

Detailed Description

Convenience data structure used to pass multiple parameters to the evaluation and sampling routines in BSDF.

Definition at line 31 of file bsdf.h.


Constructor & Destructor Documentation

BSDFQueryRecord::BSDFQueryRecord ( const Vector3f wi) [inline]

Create a new record for sampling the BSDF.

Definition at line 42 of file bsdf.h.

BSDFQueryRecord::BSDFQueryRecord ( const Vector3f wi,
const Vector3f wo,
EMeasure  measure 
) [inline]

Create a new record for querying the BSDF.

Definition at line 46 of file bsdf.h.


Member Data Documentation

Measure associated with the sample.

Definition at line 39 of file bsdf.h.

Incident direction (in the local frame)

Definition at line 33 of file bsdf.h.

Outgoing direction (in the local frame)

Definition at line 36 of file bsdf.h.


The documentation for this struct was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines