Blender
V3.3
|
#include <AdvancedFunctions1D.h>
Public Member Functions | |
GetCompleteViewMapDensityF1D (unsigned level, IntegrationType iType=MEAN, float sampling=2.0f) | |
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 in the complete viewmap image. The density is evaluated for a set of points along the Interface1D (using the ReadCompleteViewMapPixelF0D functor) and then integrated into a single value using a user-defined integration method.
Definition at line 115 of file AdvancedFunctions1D.h.
|
inline |
Builds the functor.
level | The level of the pyramid from which the pixel must be read. |
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 130 of file AdvancedFunctions1D.h.
|
inlinevirtual |
Returns the string "GetCompleteViewMapDensityF1D"
Reimplemented from Freestyle::UnaryFunction1D< double >.
Definition at line 137 of file AdvancedFunctions1D.h.
|
virtual |
the () operator.
Reimplemented from Freestyle::UnaryFunction1D< double >.
Definition at line 98 of file AdvancedFunctions1D.cpp.
References Freestyle::UnaryFunction1D< double >::_integration, Freestyle::integrate(), Freestyle::Interface1D::pointsBegin(), Freestyle::Interface1D::pointsEnd(), and Freestyle::UnaryFunction1D< double >::result.