Blender  V3.3
Public Member Functions | Protected Attributes | List of all members
Freestyle::Interface0DIterator Class Reference

#include <Interface0D.h>

Inheritance diagram for Freestyle::Interface0DIterator:
Freestyle::Iterator

Public Member Functions

 Interface0DIterator (Interface0DIteratorNested *it=NULL)
 
 Interface0DIterator (const Interface0DIterator &it)
 
virtual ~Interface0DIterator ()
 
Interface0DIteratoroperator= (const Interface0DIterator &it)
 
virtual string getExactTypeName () const
 
Interface0Doperator* ()
 
Interface0Doperator-> ()
 
Interface0DIteratoroperator++ ()
 
Interface0DIterator operator++ (int)
 
Interface0DIteratoroperator-- ()
 
Interface0DIterator operator-- (int)
 
virtual int increment ()
 
virtual int decrement ()
 
virtual bool isBegin () const
 
virtual bool isEnd () const
 
virtual bool atLast () const
 
bool operator== (const Interface0DIterator &it) const
 
bool operator!= (const Interface0DIterator &it) const
 
float t () const
 
float u () const
 
- Public Member Functions inherited from Freestyle::Iterator
virtual ~Iterator ()
 

Protected Attributes

Interface0DIteratorNested_iterator
 

Detailed Description

Class defining an iterator over Interface0D elements. An instance of this iterator is always obtained from a 1D element.

Attention
In the scripting language, you must call
Interface0DIterator(Interface0DIteratorNested *it=NULL)
Definition: Interface0D.h:170
instead of
it2 = it1
where it1 and it2 are 2 Interface0DIterator. Otherwise, incrementing it1 will also increment it2.

Definition at line 168 of file Interface0D.h.

Constructor & Destructor Documentation

◆ Interface0DIterator() [1/2]

Freestyle::Interface0DIterator::Interface0DIterator ( Interface0DIteratorNested it = NULL)
inline

Definition at line 170 of file Interface0D.h.

◆ Interface0DIterator() [2/2]

Freestyle::Interface0DIterator::Interface0DIterator ( const Interface0DIterator it)
inline

Copy constructor

Definition at line 176 of file Interface0D.h.

References _iterator.

◆ ~Interface0DIterator()

virtual Freestyle::Interface0DIterator::~Interface0DIterator ( )
inlinevirtual

Destructor

Definition at line 182 of file Interface0D.h.

Member Function Documentation

◆ atLast()

virtual bool Freestyle::Interface0DIterator::atLast ( ) const
inlinevirtual

Returns true when the iterator is pointing to the final valid element.

Definition at line 288 of file Interface0D.h.

References result.

◆ decrement()

virtual int Freestyle::Interface0DIterator::decrement ( )
inlinevirtual

Decrements.

Reimplemented from Freestyle::Iterator.

Definition at line 267 of file Interface0D.h.

◆ getExactTypeName()

virtual string Freestyle::Interface0DIterator::getExactTypeName ( ) const
inlinevirtual

Returns the string "Interface0DIterator".

Reimplemented from Freestyle::Iterator.

Definition at line 204 of file Interface0D.h.

◆ increment()

virtual int Freestyle::Interface0DIterator::increment ( )
inlinevirtual

Increments.

Reimplemented from Freestyle::Iterator.

Definition at line 261 of file Interface0D.h.

◆ isBegin()

virtual bool Freestyle::Interface0DIterator::isBegin ( ) const
inlinevirtual

Returns true if the pointed Interface0D is the first of the 1D element containing the points over which we're iterating.

Reimplemented from Freestyle::Iterator.

Definition at line 275 of file Interface0D.h.

Referenced by Freestyle::Functions0D::getFEdges(), Freestyle::Functions0D::VertexOrientation2DF0D::operator()(), Freestyle::Functions0D::VertexOrientation3DF0D::operator()(), and Freestyle::Functions0D::Curvature2DAngleF0D::operator()().

◆ isEnd()

virtual bool Freestyle::Interface0DIterator::isEnd ( ) const
inlinevirtual

◆ operator!=()

operator !=.

Definition at line 307 of file Interface0D.h.

◆ operator*()

Interface0D& Freestyle::Interface0DIterator::operator* ( )
inline

Returns a reference to the pointed Interface0D. In the scripting language, you must call "getObject()" instead using this operator.

Definition at line 217 of file Interface0D.h.

◆ operator++() [1/2]

Interface0DIterator& Freestyle::Interface0DIterator::operator++ ( )
inline

Increments. In the scripting language, call "increment()".

Definition at line 231 of file Interface0D.h.

◆ operator++() [2/2]

Interface0DIterator Freestyle::Interface0DIterator::operator++ ( int  )
inline

Increments. In the scripting language, call "increment()".

Definition at line 238 of file Interface0D.h.

References ret.

◆ operator--() [1/2]

Interface0DIterator& Freestyle::Interface0DIterator::operator-- ( )
inline

Decrements. In the scripting language, call "decrement()".

Definition at line 246 of file Interface0D.h.

◆ operator--() [2/2]

Interface0DIterator Freestyle::Interface0DIterator::operator-- ( int  )
inline

Decrements. In the scripting language, call "decrement()".

Definition at line 253 of file Interface0D.h.

References ret.

◆ operator->()

Interface0D* Freestyle::Interface0DIterator::operator-> ( )
inline

Returns a pointer to the pointed Interface0D. Can't be called in the scripting language.

Definition at line 225 of file Interface0D.h.

References Freestyle::VecMat::operator*().

◆ operator=()

Interface0DIterator& Freestyle::Interface0DIterator::operator= ( const Interface0DIterator it)
inline

Operator =

Attention
In the scripting language, you must call instead of
it2 = it1
where it1 and it2 are 2 Interface0DIterator. Otherwise, incrementing it1 will also increment it2.

Definition at line 194 of file Interface0D.h.

References _iterator.

◆ operator==()

bool Freestyle::Interface0DIterator::operator== ( const Interface0DIterator it) const
inline

operator ==.

Definition at line 301 of file Interface0D.h.

References _iterator.

◆ t()

float Freestyle::Interface0DIterator::t ( ) const
inline

Returns the curvilinear abscissa.

Definition at line 313 of file Interface0D.h.

Referenced by Freestyle::Functions0D::GetCurvilinearAbscissaF0D::operator()().

◆ u()

float Freestyle::Interface0DIterator::u ( ) const
inline

Returns the point parameter in the curve 0<=u<=1.

Definition at line 319 of file Interface0D.h.

Referenced by Freestyle::Functions0D::GetParameterF0D::operator()().

Member Data Documentation

◆ _iterator

Interface0DIteratorNested* Freestyle::Interface0DIterator::_iterator
protected

Definition at line 325 of file Interface0D.h.

Referenced by Interface0DIterator(), operator=(), and operator==().


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