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

#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 ()
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 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 348 of file Functions1D.h.

Constructor & Destructor Documentation

◆ ZDiscontinuityF1D()

Freestyle::Functions1D::ZDiscontinuityF1D::ZDiscontinuityF1D ( IntegrationType iType = MEAN)
inline

Builds the functor.

Parameters
iTypeThe integration method used to compute a single value from a set of values.

Definition at line 357 of file Functions1D.h.

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

Member Function Documentation

◆ getName()

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

Returns the string "ZDiscontinuityF1D"

Reimplemented from Freestyle::UnaryFunction1D< double >.

Definition at line 360 of file Functions1D.h.

◆ operator()()

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

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