Blender
V3.3
|
#include <Predicates1D.h>
Public Member Functions | |
BinaryPredicate1D () | |
virtual | ~BinaryPredicate1D () |
virtual string | getName () const |
virtual int | operator() (Interface1D &inter1, Interface1D &inter2) |
Public Attributes | |
bool | result |
void * | py_bp1D |
Base class for Binary Predicates working on Interface1D. A BinaryPredicate1D is typically an ordering relation between two Interface1D. It evaluates a relation between 2 Interface1D and returns true or false. It is used by calling the () operator.
Definition at line 80 of file Predicates1D.h.
|
inline |
|
inlinevirtual |
Destructor.
Definition at line 92 of file Predicates1D.h.
|
inlinevirtual |
Returns the string of the name of the binary predicate.
Reimplemented in Freestyle::Predicates1D::ViewMapGradientNormBP1D, Freestyle::Predicates1D::SameShapeIdBP1D, Freestyle::Predicates1D::Length2DBP1D, Freestyle::Predicates1D::FalseBP1D, and Freestyle::Predicates1D::TrueBP1D.
Definition at line 97 of file Predicates1D.h.
|
virtual |
The () operator. Must be overload by inherited classes. It evaluates a relation between 2 Interface1D.
inter1 | The first Interface1D. |
inter2 | The second Interface1D. |
Reimplemented in Freestyle::Predicates1D::ViewMapGradientNormBP1D, Freestyle::Predicates1D::SameShapeIdBP1D, Freestyle::Predicates1D::Length2DBP1D, Freestyle::Predicates1D::FalseBP1D, and Freestyle::Predicates1D::TrueBP1D.
Definition at line 18 of file Predicates1D.cpp.
References Director_BPy_BinaryPredicate1D___call__().
void* Freestyle::BinaryPredicate1D::py_bp1D |
Definition at line 83 of file Predicates1D.h.
Referenced by BinaryPredicate1D(), and Director_BPy_BinaryPredicate1D___call__().
bool Freestyle::BinaryPredicate1D::result |
Definition at line 82 of file Predicates1D.h.
Referenced by Director_BPy_BinaryPredicate1D___call__(), Freestyle::Predicates1D::TrueBP1D::operator()(), Freestyle::Predicates1D::FalseBP1D::operator()(), Freestyle::Predicates1D::Length2DBP1D::operator()(), Freestyle::Predicates1D::SameShapeIdBP1D::operator()(), Freestyle::Predicates1D::ViewMapGradientNormBP1D::operator()(), Freestyle::PredicateWrapper::operator()(), and Freestyle::ChainPredicateIterator::traverse().