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

#include <Functions0D.h>

Inheritance diagram for Freestyle::Functions0D::ShapeIdF0D:
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
 
voidpy_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 386 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 389 of file Functions0D.h.

◆ operator()()

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

the () operator.

Reimplemented from Freestyle::UnaryFunction0D< Id >.

Definition at line 311 of file Functions0D.cpp.

References Freestyle::ViewShape::getId(), Freestyle::Functions0D::getShapeF0D(), and result.


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