Blender  V3.3
Public Member Functions | Public Attributes | List of all members
Freestyle::BinaryPredicate0D Class Reference

#include <Predicates0D.h>

Public Member Functions

 BinaryPredicate0D ()
 
virtual ~BinaryPredicate0D ()
 
virtual string getName () const
 
virtual int operator() (Interface0D &inter1, Interface0D &inter2)
 

Public Attributes

bool result
 
voidpy_bp0D
 

Detailed Description

Base class for Binary Predicates working on Interface0D. A BinaryPredicate0D is typically an ordering relation between two Interface0D. It evaluates a relation between 2 Interface0D and returns true or false. It is used by calling the () operator.

Definition at line 73 of file Predicates0D.h.

Constructor & Destructor Documentation

◆ BinaryPredicate0D()

Freestyle::BinaryPredicate0D::BinaryPredicate0D ( )
inline

Default constructor.

Definition at line 79 of file Predicates0D.h.

References py_bp0D.

◆ ~BinaryPredicate0D()

virtual Freestyle::BinaryPredicate0D::~BinaryPredicate0D ( )
inlinevirtual

Destructor.

Definition at line 85 of file Predicates0D.h.

Member Function Documentation

◆ getName()

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

Returns the string of the name of the binary predicate.

Definition at line 90 of file Predicates0D.h.

◆ operator()()

int Freestyle::BinaryPredicate0D::operator() ( Interface0D inter1,
Interface0D inter2 
)
virtual

The () operator. Must be overload by inherited classes. It evaluates a relation between 2 Interface0D.

Parameters
inter1The first Interface0D.
inter2The second Interface0D.
Returns
true or false.

Definition at line 18 of file Predicates0D.cpp.

References Director_BPy_BinaryPredicate0D___call__().

Member Data Documentation

◆ py_bp0D

void* Freestyle::BinaryPredicate0D::py_bp0D

Definition at line 76 of file Predicates0D.h.

Referenced by BinaryPredicate0D(), and Director_BPy_BinaryPredicate0D___call__().

◆ result

bool Freestyle::BinaryPredicate0D::result

Definition at line 75 of file Predicates0D.h.

Referenced by Director_BPy_BinaryPredicate0D___call__().


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