|
Blender V4.3
|
#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 () | |
| UnaryFunction1D (IntegrationType iType) | |
| 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 409 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 418 of file Functions1D.h.
|
inlinevirtual |
Returns the string "CurveNatureF1D"
Reimplemented from Freestyle::UnaryFunction1D< Nature::EdgeNature >.
Definition at line 421 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::Nature::NO_FEATURE, and Freestyle::Interface1D::verticesBegin().