Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
TAnalyticalIntegrator1D.h
Go to the documentation of this file.
1#pragma once
2
4
5namespace ph::math
6{
7
8template<typename T>
10{
11public:
13 TAnalyticalIntegrator1D(T x0, T x1);
14
15 T integrate(const TPiecewiseLinear1D<T>& func) const;
16
17 void setIntegrationDomain(T x0, T x1);
18
19private:
20 T m_x0;
21 T m_x1;
22};
23
24}// end namespace ph::math
25
Definition TAnalyticalIntegrator1D.h:10
T integrate(const TPiecewiseLinear1D< T > &func) const
Definition TAnalyticalIntegrator1D.ipp:23
void setIntegrationDomain(T x0, T x1)
Definition TAnalyticalIntegrator1D.ipp:66
TAnalyticalIntegrator1D()
Definition TAnalyticalIntegrator1D.ipp:11
Definition TPiecewiseLinear1D.h:26
Math functions and utilities.
Definition TransformInfo.h:10