Blender
V3.3
|
#include <Functions0D.h>
Public Member Functions | |
string | getName () const |
int | operator() (Interface0DIterator &iter) |
![]() | |
UnaryFunction0D () | |
virtual | ~UnaryFunction0D () |
Additional Inherited Members | |
![]() | |
typedef FrsMaterial | ReturnedValueType |
![]() | |
FrsMaterial | result |
void * | py_uf0D |
Returns the material of the object evaluated at the Interface0D. This evaluation can be ambiguous (in the case of a TVertex for example. This functor tries to remove this ambiguity using the context offered by the 1D element to which the Interface0DIterator& belongs to and by arbitrary choosing the material of the face that lies on its left when following the 1D element if there are two different materials on each side of the point. However, there still can be problematic cases, and the user willing to deal with this cases in a specific way should implement its own getMaterial functor.
Definition at line 366 of file Functions0D.h.
|
inlinevirtual |
Returns the string "MaterialF0D"
Reimplemented from Freestyle::UnaryFunction0D< FrsMaterial >.
Definition at line 369 of file Functions0D.h.
|
virtual |
the () operator.
Reimplemented from Freestyle::UnaryFunction0D< FrsMaterial >.
Definition at line 291 of file Functions0D.cpp.
References Freestyle::Functions0D::getFEdges(), Freestyle::Functions0D::getShapeF0D(), Freestyle::FEdge::isSmooth(), and result.