Blender V5.0
Freestyle::Functions0D::ShapeIdF0D Class Reference

#include <Functions0D.h>

Inherits Freestyle::UnaryFunction0D< Id >.

Public Member Functions

string getName () const
int operator() (Interface0DIterator &iter)
Public Member Functions inherited from Freestyle::UnaryFunction0D< Id >
 UnaryFunction0D ()
virtual ~UnaryFunction0D ()

Additional Inherited Members

Public Types inherited from Freestyle::UnaryFunction0D< Id >
typedef Id ReturnedValueType
Public Attributes inherited from Freestyle::UnaryFunction0D< Id >
Id result
void * py_uf0D

Detailed Description

Returns the Id of the Shape the Interface0D belongs to. This evaluation can be ambiguous (in the case of a TVertex for example). This functor tries to remove this ambiguity using the context offered by the 1D element to which the Interface0DIterator& belongs to. However, there still can be problematic cases, and the user willing to deal with this cases in a specific way should implement its own getShapeIdF0D functor.

Definition at line 382 of file Functions0D.h.

Member Function Documentation

◆ getName()

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

Returns the string "ShapeIdF0D"

Reimplemented from Freestyle::UnaryFunction0D< Id >.

Definition at line 385 of file Functions0D.h.

◆ operator()()

int Freestyle::Functions0D::ShapeIdF0D::operator() ( Interface0DIterator & iter)
virtual

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