|
Blender V5.0
|
#include <Functions1D.h>
Inherits Freestyle::UnaryFunction1D< Vec2f >.
Public Member Functions | |
| Orientation2DF1D (IntegrationType iType=MEAN) | |
| string | getName () const |
| int | operator() (Interface1D &inter) |
| Public Member Functions inherited from Freestyle::UnaryFunction1D< Vec2f > | |
| UnaryFunction1D () | |
| virtual | ~UnaryFunction1D () |
| void | setIntegrationType (IntegrationType integration) |
| IntegrationType | getIntegrationType () const |
Additional Inherited Members | |
| Public Types inherited from Freestyle::UnaryFunction1D< Vec2f > | |
| typedef Vec2f | ReturnedValueType |
| Public Attributes inherited from Freestyle::UnaryFunction1D< Vec2f > | |
| Vec2f | result |
| void * | py_uf1D |
| Protected Attributes inherited from Freestyle::UnaryFunction1D< Vec2f > | |
| IntegrationType | _integration |
Returns the 2D orientation as a Vec2f.
Definition at line 298 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 307 of file Functions1D.h.
References Freestyle::MEAN, and Freestyle::UnaryFunction1D< Vec2f >::UnaryFunction1D().
|
inlinevirtual |
Returns the string "Orientation2DF1D"
Reimplemented from Freestyle::UnaryFunction1D< Vec2f >.
Definition at line 310 of file Functions1D.h.
|
virtual |
the () operator.
Reimplemented from Freestyle::UnaryFunction1D< Vec2f >.
Definition at line 52 of file Functions1D.cpp.
References Freestyle::UnaryFunction1D< Vec2f >::_integration, Freestyle::integrate(), Freestyle::FEdge::orientation2d(), Freestyle::UnaryFunction1D< Vec2f >::result, Freestyle::Interface1D::verticesBegin(), and Freestyle::Interface1D::verticesEnd().