|
Blender V5.0
|
#include <Functions1D.h>
Inherits Freestyle::UnaryFunction1D< Nature::EdgeNature >.
Public Member Functions | |
| CurveNatureF1D (IntegrationType iType=MEAN) | |
| string | getName () const |
| int | operator() (Interface1D &inter) |
| Public Member Functions inherited from Freestyle::UnaryFunction1D< Nature::EdgeNature > | |
| UnaryFunction1D () | |
| virtual | ~UnaryFunction1D () |
| void | setIntegrationType (IntegrationType integration) |
| IntegrationType | getIntegrationType () const |
Additional Inherited Members | |
| Public Types inherited from Freestyle::UnaryFunction1D< Nature::EdgeNature > | |
| typedef Nature::EdgeNature | ReturnedValueType |
| Public Attributes inherited from Freestyle::UnaryFunction1D< Nature::EdgeNature > | |
| Nature::EdgeNature | result |
| void * | py_uf1D |
| Protected Attributes inherited from Freestyle::UnaryFunction1D< Nature::EdgeNature > | |
| 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 403 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 412 of file Functions1D.h.
References Freestyle::MEAN, and Freestyle::UnaryFunction1D< Nature::EdgeNature >::UnaryFunction1D().
|
inlinevirtual |
Returns the string "CurveNatureF1D"
Reimplemented from Freestyle::UnaryFunction1D< Nature::EdgeNature >.
Definition at line 415 of file Functions1D.h.
|
virtual |
the () operator.
Reimplemented from Freestyle::UnaryFunction1D< Nature::EdgeNature >.
Definition at line 93 of file Functions1D.cpp.
References Freestyle::ViewEdge::getNature(), Freestyle::Interface0DIterator::isEnd(), Freestyle::Nature::NO_FEATURE, Freestyle::UnaryFunction1D< Nature::EdgeNature >::result, and Freestyle::Interface1D::verticesBegin().