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

#include <Functions1D.h>

Inheritance diagram for Freestyle::Functions1D::QuantitativeInvisibilityF1D:
Freestyle::UnaryFunction1D< unsigned >

Public Member Functions

 QuantitativeInvisibilityF1D (IntegrationType iType=MEAN)
 
string getName () const
 
int operator() (Interface1D &inter)
 
- Public Member Functions inherited from Freestyle::UnaryFunction1D< unsigned >
 UnaryFunction1D ()
 
 UnaryFunction1D (IntegrationType iType)
 
virtual ~UnaryFunction1D ()
 
void setIntegrationType (IntegrationType integration)
 
IntegrationType getIntegrationType () const
 

Additional Inherited Members

- Public Types inherited from Freestyle::UnaryFunction1D< unsigned >
typedef unsigned ReturnedValueType
 
- Public Attributes inherited from Freestyle::UnaryFunction1D< unsigned >
unsigned result
 
voidpy_uf1D
 
- Protected Attributes inherited from Freestyle::UnaryFunction1D< unsigned >
IntegrationType _integration
 

Detailed Description

Returns the Quantitative Invisibility of an Interface1D element. If the Interface1D is a ViewEdge, then there is no ambiguity concerning the result. But, if the Interface1D results of a chaining (chain, stroke), then it might be made of several 1D elements of different Quantitative Invisibilities.

Definition at line 401 of file Functions1D.h.

Constructor & Destructor Documentation

◆ QuantitativeInvisibilityF1D()

Freestyle::Functions1D::QuantitativeInvisibilityF1D::QuantitativeInvisibilityF1D ( 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 410 of file Functions1D.h.

Member Function Documentation

◆ getName()

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

Returns the string "QuantitativeInvisibilityF1D"

Reimplemented from Freestyle::UnaryFunction1D< unsigned >.

Definition at line 415 of file Functions1D.h.

◆ operator()()

int Freestyle::Functions1D::QuantitativeInvisibilityF1D::operator() ( Interface1D inter)
virtual

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