Blender V5.0
Freestyle::Functions1D::CurveNatureF1D Class Reference

#include <Functions1D.h>

Inherits Freestyle::UnaryFunction1D< Nature::EdgeNature >.

Public Member Functions

 CurveNatureF1D (IntegrationType iType=MEAN)
string getName () const
int operator() (Interface1D &inter)
Public Member Functions inherited from Freestyle::UnaryFunction1D< Nature::EdgeNature >
 UnaryFunction1D ()
virtual ~UnaryFunction1D ()
void setIntegrationType (IntegrationType integration)
IntegrationType getIntegrationType () const

Additional Inherited Members

Public Types inherited from Freestyle::UnaryFunction1D< Nature::EdgeNature >
typedef Nature::EdgeNature ReturnedValueType
Public Attributes inherited from Freestyle::UnaryFunction1D< Nature::EdgeNature >
Nature::EdgeNature result
void * py_uf1D
Protected Attributes inherited from Freestyle::UnaryFunction1D< Nature::EdgeNature >
IntegrationType _integration

Detailed Description

Returns the nature of the Interface1D (silhouette, ridge, crease...). Except if the Interface1D is a ViewEdge, this result might be ambiguous. Indeed, the Interface1D might result from the gathering of several 1D elements, each one being of a different nature. An integration method, such as the MEAN, might give, in this case, irrelevant results.

Definition at line 403 of file Functions1D.h.

Constructor & Destructor Documentation

◆ CurveNatureF1D()

Freestyle::Functions1D::CurveNatureF1D::CurveNatureF1D ( IntegrationType iType = MEAN)
inline

Builds the functor.

Parameters
iTypeThe integration method used to compute a single value from a set of values.

Definition at line 412 of file Functions1D.h.

References Freestyle::MEAN, and Freestyle::UnaryFunction1D< Nature::EdgeNature >::UnaryFunction1D().

Member Function Documentation

◆ getName()

string Freestyle::Functions1D::CurveNatureF1D::getName ( ) const
inlinevirtual

Returns the string "CurveNatureF1D"

Reimplemented from Freestyle::UnaryFunction1D< Nature::EdgeNature >.

Definition at line 415 of file Functions1D.h.

◆ operator()()


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