Nori  24
ChiSquareTest Class Reference

Statistical test for validating that an importance sampling routine (e.g. from a BSDF) produces a distribution that agrees with what the implementation claims via its associated density function. More...

Inheritance diagram for ChiSquareTest:
Collaboration diagram for ChiSquareTest:

Public Member Functions

 ChiSquareTest (const PropertyList &propList)
 
virtual void addChild (NoriObject *obj) override
 Add a child object to the current instance. More...
 
virtual void activate () override
 Execute the chi-square test.
 
virtual std::string toString () const override
 Return a brief string summary of the instance (for debugging purposes)
 
virtual EClassType getClassType () const override
 Return the type of object (i.e. Mesh/BSDF/etc.) provided by this instance.
 
- Public Member Functions inherited from NoriObject
virtual ~NoriObject ()
 Virtual destructor.
 
virtual void setParent (NoriObject *parent)
 Set the parent object. More...
 
void setIdName (const std::string &name)
 Allow to assign a name to the object.
 
const std::string & getIdName () const
 

Additional Inherited Members

- Public Types inherited from NoriObject
enum  EClassType {
  EScene = 0 , EMesh , ETexture , EBSDF ,
  EPhaseFunction , EEmitter , EMedium , ECamera ,
  EIntegrator , ESampler , ETest , EReconstructionFilter ,
  EClassTypeCount
}
 
- Static Public Member Functions inherited from NoriObject
static std::string classTypeName (EClassType type)
 Turn a class type into a human-readable string.
 
- Protected Attributes inherited from NoriObject
std::string m_idname
 

Detailed Description

Statistical test for validating that an importance sampling routine (e.g. from a BSDF) produces a distribution that agrees with what the implementation claims via its associated density function.

Definition at line 42 of file chi2test.cpp.

Member Function Documentation

◆ addChild()

virtual void ChiSquareTest::addChild ( NoriObject child)
inlineoverridevirtual

Add a child object to the current instance.

The default implementation does not support children and simply throws an exception

Reimplemented from NoriObject.

Definition at line 80 of file chi2test.cpp.


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