Blender
V3.3
|
#include <AdvancedFunctions1D.h>
Public Member Functions | |
DensityF1D (double sigma=2, IntegrationType iType=MEAN, float sampling=2.0f) | |
virtual | ~DensityF1D () |
string | getName () const |
int | operator() (Interface1D &inter) |
![]() | |
UnaryFunction1D () | |
UnaryFunction1D (IntegrationType iType) | |
virtual | ~UnaryFunction1D () |
void | setIntegrationType (IntegrationType integration) |
IntegrationType | getIntegrationType () const |
Additional Inherited Members | |
![]() | |
typedef double | ReturnedValueType |
![]() | |
double | result |
void * | py_uf1D |
![]() | |
IntegrationType | _integration |
Returns the density evaluated for an Interface1D. The density is evaluated for a set of points along the Interface1D (using the DensityF0D functor) with a user-defined sampling and then integrated into a single value using a user-defined integration method.
Definition at line 29 of file AdvancedFunctions1D.h.
|
inline |
Builds the functor.
sigma | Thesigma used in DensityF0D and determining the window size used in each density query. |
iType | The integration method used to compute a single value from a set of values. |
sampling | The resolution used to sample the chain: the corresponding 0D function is evaluated at each sample point and the result is obtained by combining the resulting values into a single one, following the method specified by iType. |
Definition at line 44 of file AdvancedFunctions1D.h.
|
inlinevirtual |
Destructor
Definition at line 51 of file AdvancedFunctions1D.h.
|
inlinevirtual |
Returns the string "DensityF1D".
Reimplemented from Freestyle::UnaryFunction1D< double >.
Definition at line 56 of file AdvancedFunctions1D.h.
|
inlinevirtual |
the () operator.
Reimplemented from Freestyle::UnaryFunction1D< double >.
Definition at line 62 of file AdvancedFunctions1D.h.
References Freestyle::UnaryFunction1D< double >::_integration, Freestyle::integrate(), Freestyle::Interface1D::pointsBegin(), Freestyle::Interface1D::pointsEnd(), and Freestyle::UnaryFunction1D< double >::result.