Nori  23
WarpTest Struct Reference
Collaboration diagram for WarpTest:

Public Member Functions

 WarpTest (WarpType warpType_, float parameterValue_, BSDF *bsdf_=nullptr, BSDFQueryRecord bRec_=BSDFQueryRecord(nori::Vector3f()), int xres_=kDefaultXres, int yres_=kDefaultYres)
 
std::pair< bool, std::string > run ()
 
std::pair< Point3f, float > warpPoint (const Point2f &sample)
 
void generatePoints (int &pointCount, PointType pointType, nori::MatrixXf &positions, nori::MatrixXf &weights)
 

Static Public Member Functions

static std::pair< BSDF *, BSDFQueryRecordcreate_microfacet_bsdf (float alpha, float kd, float bsdfAngle)
 

Public Attributes

WarpType warpType
 
float parameterValue
 
BSDFbsdf
 
BSDFQueryRecord bRec
 
int xres
 
int yres
 
int res
 
std::unique_ptr< double[]> obsFrequencies
 
std::unique_ptr< double[]> expFrequencies
 

Static Public Attributes

static const int kDefaultXres = 51
 
static const int kDefaultYres = 51
 

Detailed Description

Definition at line 93 of file warptest.cpp.


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