Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph::math::TGaussian2D< Value > Class Template Reference

#include <TGaussian2D.h>

Inheritance diagram for ph::math::TGaussian2D< Value >:
ph::math::TMathFunction2D< Value >

Public Member Functions

 TGaussian2D (Value sigmaX, Value sigmaY, Value amplitude)
 
Value evaluate (Value x, Value y) const override
 
void setSubmergeAmount (Value amt)
 Sink the gaussian with specified amount. Effectively subtract then clamp to zero.
 
- Public Member Functions inherited from ph::math::TMathFunction2D< Value >
virtual ~TMathFunction2D ()=default
 

Constructor & Destructor Documentation

◆ TGaussian2D()

template<typename Value >
ph::math::TGaussian2D< Value >::TGaussian2D ( Value sigmaX,
Value sigmaY,
Value amplitude )
inline

Member Function Documentation

◆ evaluate()

template<typename Value >
Value ph::math::TGaussian2D< Value >::evaluate ( Value x,
Value y ) const
inlineoverridevirtual

◆ setSubmergeAmount()

template<typename Value >
void ph::math::TGaussian2D< Value >::setSubmergeAmount ( Value amt)
inline

Sink the gaussian with specified amount. Effectively subtract then clamp to zero.


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