Blender
V3.3
|
#include <AdvancedFunctions0D.h>
Public Member Functions | |
LocalAverageDepthF0D (real maskSize=5.0f) | |
string | getName () const |
int | operator() (Interface0DIterator &iter) |
![]() | |
UnaryFunction0D () | |
virtual | ~UnaryFunction0D () |
Additional Inherited Members | |
![]() | |
typedef double | ReturnedValueType |
![]() | |
double | result |
void * | py_uf0D |
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.
|
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().
|
inlinevirtual |
Returns the string "LocalAverageDepthF0D"
Reimplemented from Freestyle::UnaryFunction0D< double >.
Definition at line 70 of file AdvancedFunctions0D.h.
|
virtual |
the () operator.
Reimplemented from Freestyle::UnaryFunction0D< double >.
Definition at line 39 of file AdvancedFunctions0D.cpp.
References Freestyle::GaussianFilter::getBound(), Freestyle::Canvas::getInstance(), Freestyle::Interface0D::getProjectedX(), Freestyle::Interface0D::getProjectedY(), Freestyle::GaussianFilter::getSmoothedPixel(), Freestyle::Canvas::height(), image(), Freestyle::GaussianFilter::maskSize(), Freestyle::Canvas::readDepthPixels(), Freestyle::UnaryFunction0D< double >::result, and Freestyle::Canvas::width().