Blender V5.0
Freestyle::UnaryPredicate1D Class Reference

#include <Predicates1D.h>

Inherited by Freestyle::Predicates1D::ContourUP1D, Freestyle::Predicates1D::DensityLowerThanUP1D, Freestyle::Predicates1D::EqualToChainingTimeStampUP1D, Freestyle::Predicates1D::EqualToTimeStampUP1D, Freestyle::Predicates1D::ExternalContourUP1D, Freestyle::Predicates1D::FalseUP1D, Freestyle::Predicates1D::QuantitativeInvisibilityUP1D, Freestyle::Predicates1D::ShapeUP1D, Freestyle::Predicates1D::TrueUP1D, and Freestyle::Predicates1D::WithinImageBoundaryUP1D.

Public Member Functions

 UnaryPredicate1D ()
virtual ~UnaryPredicate1D ()
virtual string getName () const
virtual int operator() (Interface1D &inter)

Public Attributes

bool result
void * py_up1D

Detailed Description

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.

Constructor & Destructor Documentation

◆ UnaryPredicate1D()

◆ ~UnaryPredicate1D()

virtual Freestyle::UnaryPredicate1D::~UnaryPredicate1D ( )
inlinevirtual

Destructor.

Definition at line 48 of file Predicates1D.h.

Member Function Documentation

◆ getName()

◆ operator()()

Member Data Documentation

◆ py_up1D

void* Freestyle::UnaryPredicate1D::py_up1D

Definition at line 39 of file Predicates1D.h.

Referenced by Director_BPy_UnaryPredicate1D___call__(), and UnaryPredicate1D().

◆ result


The documentation for this class was generated from the following files: