|
| LM_COMPONENT_IMPL_DEF ("simpson") |
|
virtual Math::Float | Evaluate (const Math::Vec3 &p, const Photon &photon, const Math::Float &maxDist2) const override |
|
| LM_COMPONENT_INTERFACE_DEF ("pm.kernel") |
|
virtual std::string | ComponentInterfaceTypeName () const =0 |
|
virtual std::string | ComponentImplTypeName () const =0 |
|
void * | operator new (std::size_t size) throw (std::bad_alloc) |
|
void | operator delete (void *p) |
|
Simpson's kernel. Photon density estimation kernel implementation with Simpson's kernel.
virtual Math::Float SimpsonPDEKernel::Evaluate |
( |
const Math::Vec3 & |
p, |
|
|
const Photon & |
photon, |
|
|
const Math::Float & |
maxDist2 |
|
) |
| const |
|
inlineoverridevirtual |
Evaluate the kernel.
- Parameters
-
p | Query position. |
photon | Target photon |
maxDist2 | Square of max distance obtained in k-NN query |
- Returns
- Evaluated kernel value.
Implements PhotonDensityEstimationKernel.
The documentation for this class was generated from the following file:
- /home/travis/build/hi2p-perim/lightmetrica/src/liblightmetrica/pm.kernel.simpson.cpp