|
Blender
V3.3
|
#include <AdvancedFunctions1D.h>
Public Member Functions | |
| LocalAverageDepthF1D (real sigma, IntegrationType iType=MEAN) | |
| string | getName () const |
| int | operator() (Interface1D &inter) |
Public Member Functions inherited from Freestyle::UnaryFunction1D< double > | |
| UnaryFunction1D () | |
| UnaryFunction1D (IntegrationType iType) | |
| virtual | ~UnaryFunction1D () |
| void | setIntegrationType (IntegrationType integration) |
| IntegrationType | getIntegrationType () const |
Additional Inherited Members | |
Public Types inherited from Freestyle::UnaryFunction1D< double > | |
| typedef double | ReturnedValueType |
Public Attributes inherited from Freestyle::UnaryFunction1D< double > | |
| double | result |
| void * | py_uf1D |
Protected Attributes inherited from Freestyle::UnaryFunction1D< double > | |
| IntegrationType | _integration |
Returns the average depth evaluated for an Interface1D. The average depth is evaluated for a set of points along the Interface1D (using the LocalAverageDepthF0D functor) with a user-defined sampling and then integrated into a single value using a user-defined integration method.
Definition at line 79 of file AdvancedFunctions1D.h.
|
inline |
Builds the functor.
| sigma | The sigma 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. |
Definition at line 87 of file AdvancedFunctions1D.h.
|
inlinevirtual |
Returns the string "LocalAverageDepthF1D"
Reimplemented from Freestyle::UnaryFunction1D< double >.
Definition at line 93 of file AdvancedFunctions1D.h.
|
inlinevirtual |
the () operator.
Reimplemented from Freestyle::UnaryFunction1D< double >.
Definition at line 99 of file AdvancedFunctions1D.h.
References Freestyle::UnaryFunction1D< double >::_integration, Freestyle::integrate(), Freestyle::UnaryFunction1D< double >::result, Freestyle::Interface1D::verticesBegin(), and Freestyle::Interface1D::verticesEnd().