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

#include <AdvancedFunctions0D.h>

Inheritance diagram for Freestyle::Functions0D::LocalAverageDepthF0D:
Freestyle::UnaryFunction0D< double >

Public Member Functions

 LocalAverageDepthF0D (real maskSize=5.0f)
 
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
 
voidpy_uf0D
 

Detailed Description

Returns the average depth around a point. The result is obtained by querying the depth buffer on a window around that point.

Definition at line 58 of file AdvancedFunctions0D.h.

Constructor & Destructor Documentation

◆ LocalAverageDepthF0D()

Freestyle::Functions0D::LocalAverageDepthF0D::LocalAverageDepthF0D ( real  maskSize = 5.0f)
inline

Builds the functor from the size of the mask that will be used.

Definition at line 64 of file AdvancedFunctions0D.h.

References Freestyle::GaussianFilter::setSigma().

Member Function Documentation

◆ getName()

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

Returns the string "LocalAverageDepthF0D"

Reimplemented from Freestyle::UnaryFunction0D< double >.

Definition at line 70 of file AdvancedFunctions0D.h.

◆ operator()()

int Freestyle::Functions0D::LocalAverageDepthF0D::operator() ( Interface0DIterator iter)
virtual

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