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

#include <AdvancedFunctions1D.h>

Inherits Freestyle::UnaryFunction1D< double >.

Public Member Functions

 GetViewMapGradientNormF1D (int level, IntegrationType iType=MEAN, float sampling=2.0f)
string getName () const
int operator() (Interface1D &inter)
Public Member Functions inherited from Freestyle::UnaryFunction1D< double >
 UnaryFunction1D ()
virtual ~UnaryFunction1D ()
void setIntegrationType (IntegrationType integration)
IntegrationType getIntegrationType () const

Additional Inherited Members

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

Detailed Description

Returns the density of the viewmap for a given Interface1D. The density of each FEdge is evaluated in the proper steerable ViewMap depending on its orientation.

Definition at line 238 of file AdvancedFunctions1D.h.

Constructor & Destructor Documentation

◆ GetViewMapGradientNormF1D()

Freestyle::Functions1D::GetViewMapGradientNormF1D::GetViewMapGradientNormF1D ( int level,
IntegrationType iType = MEAN,
float sampling = 2.0f )
inline

Builds the functor from the level of the pyramid from which the pixel must be read.

Parameters
levelThe level of the pyramid from which the pixel must be read.
iTypeThe integration method used to compute a single value from a set of values.
samplingThe resolution used to sample the chain: the corresponding 0D function is evaluated at each sample point and the result is obtained by combining the resulting values into a single one, following the method specified by iType.

Definition at line 255 of file AdvancedFunctions1D.h.

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

Member Function Documentation

◆ getName()

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

Returns the string "GetSteerableViewMapDensityF1D"

Reimplemented from Freestyle::UnaryFunction1D< double >.

Definition at line 263 of file AdvancedFunctions1D.h.

◆ operator()()

int Freestyle::Functions1D::GetViewMapGradientNormF1D::operator() ( Interface1D & inter)
virtual

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