Blender  V2.93
Public Member Functions | Public Attributes | List of all members
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 50 of file Predicates1D.h.

Constructor & Destructor Documentation

◆ UnaryPredicate1D()

Freestyle::UnaryPredicate1D::UnaryPredicate1D ( )
inline

Default constructor.

Definition at line 56 of file Predicates1D.h.

References NULL, and py_up1D.

◆ ~UnaryPredicate1D()

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

Destructor.

Definition at line 62 of file Predicates1D.h.

Member Function Documentation

◆ getName()

virtual string Freestyle::UnaryPredicate1D::getName ( ) const
inlinevirtual

◆ operator()()

int Freestyle::UnaryPredicate1D::operator() ( Interface1D inter)
virtual

Member Data Documentation

◆ py_up1D

void* Freestyle::UnaryPredicate1D::py_up1D

Definition at line 53 of file Predicates1D.h.

Referenced by Director_BPy_UnaryPredicate1D___call__(), and UnaryPredicate1D().

◆ result

bool Freestyle::UnaryPredicate1D::result

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