Blender
V3.3
|
#include <Functions1D.h>
Public Member Functions | |
CurveNatureF1D (IntegrationType iType=MEAN) | |
string | getName () const |
int | operator() (Interface1D &inter) |
![]() | |
UnaryFunction1D () | |
UnaryFunction1D (IntegrationType iType) | |
virtual | ~UnaryFunction1D () |
void | setIntegrationType (IntegrationType integration) |
IntegrationType | getIntegrationType () const |
Additional Inherited Members | |
![]() | |
typedef Nature::EdgeNature | ReturnedValueType |
![]() | |
Nature::EdgeNature | result |
void * | py_uf1D |
![]() | |
IntegrationType | _integration |
Returns the nature of the Interface1D (silhouette, ridge, crease...). Except if the Interface1D is a ViewEdge, this result might be ambiguous. Indeed, the Interface1D might result from the gathering of several 1D elements, each one being of a different nature. An integration method, such as the MEAN, might give, in this case, irrelevant results.
Definition at line 431 of file Functions1D.h.
|
inline |
Builds the functor.
iType | The integration method used to compute a single value from a set of values. |
Definition at line 440 of file Functions1D.h.
|
inlinevirtual |
Returns the string "CurveNatureF1D"
Reimplemented from Freestyle::UnaryFunction1D< Nature::EdgeNature >.
Definition at line 445 of file Functions1D.h.
|
virtual |
the () operator.
Reimplemented from Freestyle::UnaryFunction1D< Nature::EdgeNature >.
Definition at line 91 of file Functions1D.cpp.
References Freestyle::ViewEdge::getNature(), Freestyle::Interface0DIterator::isEnd(), Freestyle::Nature::NO_FEATURE, result, and Freestyle::Interface1D::verticesBegin().