Blender V4.3
Freestyle::Functions0D::DensityF0D Class Reference

#include <AdvancedFunctions0D.h>

Inherits Freestyle::UnaryFunction0D< double >.

Public Member Functions

 DensityF0D (double sigma=2)
 
string getName () const
 
int operator() (Interface0DIterator &iter)
 
- Public Member Functions inherited from Freestyle::UnaryFunction0D< double >
 UnaryFunction0D ()
 
virtual ~UnaryFunction0D ()
 

Additional Inherited Members

- Public Types inherited from Freestyle::UnaryFunction0D< double >
typedef double ReturnedValueType
 
- Public Attributes inherited from Freestyle::UnaryFunction0D< double >
double result
 
void * py_uf0D
 

Detailed Description

Returns the density of the (result) image evaluated at an Interface0D. This density is evaluated using a pixels square window around the evaluation point and integrating these values using a gaussian.

Definition at line 31 of file AdvancedFunctions0D.h.

Constructor & Destructor Documentation

◆ DensityF0D()

Freestyle::Functions0D::DensityF0D::DensityF0D ( double sigma = 2)
inline

Builds the functor from the gaussian sigma value.

Parameters
sigmasigma indicates the x value for which the gaussian function is 0.5. It leads to the window size value. (the larger, the smoother)

Definition at line 38 of file AdvancedFunctions0D.h.

References Freestyle::GaussianFilter::setSigma().

Member Function Documentation

◆ getName()

string Freestyle::Functions0D::DensityF0D::getName ( ) const
inlinevirtual

Returns the string "DensityF0D"

Reimplemented from Freestyle::UnaryFunction0D< double >.

Definition at line 44 of file AdvancedFunctions0D.h.

◆ operator()()


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