Blender
V3.3
|
#include <Predicates0D.h>
Public Member Functions | |
UnaryPredicate0D () | |
virtual | ~UnaryPredicate0D () |
virtual string | getName () const |
virtual int | operator() (Interface0DIterator &it) |
Public Attributes | |
bool | result |
void * | py_up0D |
Base class for Unary Predicates that work on Interface0DIterator. A UnaryPredicate0D is a functor that evaluates a condition on a Interface0DIterator and returns true or false depending on whether this condition is satisfied or not. The UnaryPredicate0D is used by calling its () operator. Any inherited class must overload the () operator.
Definition at line 29 of file Predicates0D.h.
|
inline |
|
inlinevirtual |
Destructor.
Definition at line 41 of file Predicates0D.h.
|
inlinevirtual |
Returns the string of the name of the UnaryPredicate0D.
Reimplemented in Freestyle::Predicates0D::FalseUP0D, and Freestyle::Predicates0D::TrueUP0D.
Definition at line 46 of file Predicates0D.h.
|
virtual |
The () operator. Must be overload by inherited classes.
it | The Interface0DIterator pointing onto the Interface0D at which we wish to evaluate the predicate. |
Reimplemented in Freestyle::Predicates0D::FalseUP0D, and Freestyle::Predicates0D::TrueUP0D.
Definition at line 13 of file Predicates0D.cpp.
References Director_BPy_UnaryPredicate0D___call__().
void* Freestyle::UnaryPredicate0D::py_up0D |
Definition at line 32 of file Predicates0D.h.
Referenced by Director_BPy_UnaryPredicate0D___call__(), and UnaryPredicate0D().
bool Freestyle::UnaryPredicate0D::result |
Definition at line 31 of file Predicates0D.h.
Referenced by Freestyle::__recursiveSplit(), Director_BPy_UnaryPredicate0D___call__(), Freestyle::Predicates0D::TrueUP0D::operator()(), Freestyle::Predicates0D::FalseUP0D::operator()(), and Freestyle::Operators::sequentialSplit().