|
Blender V4.3
|
#include <Functions1D.h>
Inherits Freestyle::UnaryFunction1D< double >.
Public Member Functions | |
| ZDiscontinuityF1D (IntegrationType iType=MEAN) | |
| string | getName () const |
| int | operator() (Interface1D &inter) |
Public Member Functions inherited from Freestyle::UnaryFunction1D< double > | |
| UnaryFunction1D () | |
| UnaryFunction1D (IntegrationType iType) | |
| 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 |
Returns a real giving the distance between and Interface1D and the shape that lies behind (occludee). This distance is evaluated in the camera space and normalized between 0 and 1. Therefore, if no object is occluded by the shape to which the Interface1D belongs to, 1 is returned.
Definition at line 354 of file Functions1D.h.
|
inline |
Builds the functor.
| iType | The integration method used to compute a single value from a set of values. |
Definition at line 363 of file Functions1D.h.
|
inlinevirtual |
Returns the string "ZDiscontinuityF1D"
Reimplemented from Freestyle::UnaryFunction1D< double >.
Definition at line 366 of file Functions1D.h.
|
virtual |
the () operator.
Reimplemented from Freestyle::UnaryFunction1D< double >.
Definition at line 71 of file Functions1D.cpp.
References Freestyle::UnaryFunction1D< double >::_integration, Freestyle::integrate(), Freestyle::Interface1D::verticesBegin(), and Freestyle::Interface1D::verticesEnd().