Blender
V3.3
|
#include <Predicates1D.h>
Public Member Functions | |
UnaryPredicate1D () | |
virtual | ~UnaryPredicate1D () |
virtual string | getName () const |
virtual int | operator() (Interface1D &inter) |
Public Attributes | |
bool | result |
void * | py_up1D |
Base class for Unary Predicates that work on Interface1D. A UnaryPredicate1D is a functor that evaluates a condition on a Interface1D and returns true or false depending on whether this condition is satisfied or not. The UnaryPredicate1D is used by calling its () operator. Any inherited class must overload the () operator.
Definition at line 36 of file Predicates1D.h.
|
inline |
|
inlinevirtual |
Destructor.
Definition at line 48 of file Predicates1D.h.
|
inlinevirtual |
Returns the string of the name of the UnaryPredicate1D.
Reimplemented in Freestyle::Predicates1D::WithinImageBoundaryUP1D, Freestyle::Predicates1D::ShapeUP1D, Freestyle::Predicates1D::EqualToChainingTimeStampUP1D, Freestyle::Predicates1D::EqualToTimeStampUP1D, Freestyle::Predicates1D::ExternalContourUP1D, Freestyle::Predicates1D::ContourUP1D, Freestyle::Predicates1D::QuantitativeInvisibilityUP1D, Freestyle::Predicates1D::FalseUP1D, Freestyle::Predicates1D::TrueUP1D, and Freestyle::Predicates1D::DensityLowerThanUP1D.
Definition at line 53 of file Predicates1D.h.
|
virtual |
The () operator. Must be overload by inherited classes.
inter | The Interface1D on which we wish to evaluate the predicate. |
Reimplemented in Freestyle::Predicates1D::WithinImageBoundaryUP1D, Freestyle::Predicates1D::ShapeUP1D, Freestyle::Predicates1D::EqualToChainingTimeStampUP1D, Freestyle::Predicates1D::EqualToTimeStampUP1D, Freestyle::Predicates1D::ExternalContourUP1D, Freestyle::Predicates1D::ContourUP1D, Freestyle::Predicates1D::QuantitativeInvisibilityUP1D, Freestyle::Predicates1D::DensityLowerThanUP1D, Freestyle::Predicates1D::FalseUP1D, and Freestyle::Predicates1D::TrueUP1D.
Definition at line 13 of file Predicates1D.cpp.
References Director_BPy_UnaryPredicate1D___call__().
void* Freestyle::UnaryPredicate1D::py_up1D |
Definition at line 39 of file Predicates1D.h.
Referenced by Director_BPy_UnaryPredicate1D___call__(), and UnaryPredicate1D().
bool Freestyle::UnaryPredicate1D::result |
Definition at line 38 of file Predicates1D.h.
Referenced by Freestyle::__recursiveSplit(), Freestyle::Operators::bidirectionalChain(), Freestyle::Operators::chain(), Freestyle::Operators::create(), Director_BPy_UnaryPredicate1D___call__(), Freestyle::Predicates1D::TrueUP1D::operator()(), Freestyle::Predicates1D::FalseUP1D::operator()(), Freestyle::Predicates1D::DensityLowerThanUP1D::operator()(), Freestyle::Predicates1D::QuantitativeInvisibilityUP1D::operator()(), Freestyle::Predicates1D::ContourUP1D::operator()(), Freestyle::Predicates1D::ExternalContourUP1D::operator()(), Freestyle::Predicates1D::EqualToTimeStampUP1D::operator()(), Freestyle::Predicates1D::EqualToChainingTimeStampUP1D::operator()(), Freestyle::Predicates1D::ShapeUP1D::operator()(), Freestyle::Predicates1D::WithinImageBoundaryUP1D::operator()(), Freestyle::Operators::recursiveSplit(), Freestyle::Operators::select(), and Freestyle::ChainPredicateIterator::traverse().