|
Blender V4.3
|
#include <StrokeIterators.h>
Inherits Freestyle::Interface0DIteratorNested.
Public Member Functions | |
| StrokeVertexIterator () | |
| StrokeVertexIterator (const StrokeVertexIterator &vi) | |
| StrokeVertexIterator (const Stroke::vertex_container::iterator &it, const Stroke::vertex_container::iterator &begin, const Stroke::vertex_container::iterator &end) | |
| virtual | ~StrokeVertexIterator () |
| Interface0DIterator | castToInterface0DIterator () const |
| StrokeVertexIterator & | operator= (const StrokeVertexIterator &vi) |
| virtual string | getExactTypeName () const |
| virtual StrokeVertex & | operator* () |
| virtual StrokeVertex * | operator-> () |
| virtual StrokeVertexIterator & | operator++ () |
| virtual StrokeVertexIterator | operator++ (int) |
| virtual StrokeVertexIterator & | operator-- () |
| virtual StrokeVertexIterator | operator-- (int) |
| virtual int | increment () |
| virtual int | decrement () |
| bool | isBegin () const |
| bool | atLast () |
| bool | isEnd () const |
| virtual bool | operator== (const Interface0DIteratorNested &it) const |
| virtual float | t () const |
| virtual float | u () const |
| virtual StrokeVertexIterator * | copy () const |
| const Stroke::vertex_container::iterator & | getIt () |
Public Member Functions inherited from Freestyle::Interface0DIteratorNested | |
| virtual | ~Interface0DIteratorNested () |
| virtual bool | operator!= (const Interface0DIteratorNested &it) const |
Public Member Functions inherited from Freestyle::Iterator | |
| virtual | ~Iterator () |
Class defining an iterator designed to iterate over the StrokeVertex of a Stroke. An instance of a StrokeVertexIterator can only be obtained from a Stroke by calling strokeVerticesBegin() or strokeVerticesEnd(). It is iterating over the same vertices as an Interface0DIterator. The difference resides in the object access. Indeed, an Interface0DIterator allows only an access to an Interface0D whereas we could need to access the specialized StrokeVertex type. In this case, one should use a StrokeVertexIterator. The castToInterface0DIterator() method is useful to get an Interface0DIterator from a StrokeVertexIterator in order to call any functions of the type UnaryFunction0D.
Definition at line 35 of file StrokeIterators.h.
|
inline |
Default constructor.
Definition at line 38 of file StrokeIterators.h.
Referenced by castToInterface0DIterator(), and copy().
|
inline |
Copy constructor.
Definition at line 41 of file StrokeIterators.h.
|
inline |
Definition at line 48 of file StrokeIterators.h.
|
inlinevirtual |
Definition at line 57 of file StrokeIterators.h.
|
inline |
Returns true if the pointed StrokeVertex is the final valid StrokeVertex of the Stroke.
Definition at line 154 of file StrokeIterators.h.
References result.
|
inline |
Casts this StrokeVertexIterator into an Interface0DIterator. Useful for any call to a function of the type UnaryFunction0D.
Definition at line 62 of file StrokeIterators.h.
References ret, and StrokeVertexIterator().
|
inlinevirtual |
Cloning method
Implements Freestyle::Interface0DIteratorNested.
Definition at line 195 of file StrokeIterators.h.
References StrokeVertexIterator().
|
inlinevirtual |
Decrements.
Implements Freestyle::Interface0DIteratorNested.
Definition at line 141 of file StrokeIterators.h.
Referenced by operator--(), and operator--().
|
inlinevirtual |
Returns the string "StrokeVertexIterator".
Reimplemented from Freestyle::Interface0DIteratorNested.
Definition at line 82 of file StrokeIterators.h.
|
inline |
Definition at line 204 of file StrokeIterators.h.
|
inlinevirtual |
Increments.
Implements Freestyle::Interface0DIteratorNested.
Definition at line 134 of file StrokeIterators.h.
Referenced by operator++(), and operator++().
|
inlinevirtual |
Returns true if the pointed StrokeVertex is the first of the Stroke.
Implements Freestyle::Interface0DIteratorNested.
Definition at line 148 of file StrokeIterators.h.
Referenced by Freestyle::createStroke().
|
inlinevirtual |
Returns true if the pointed StrokeVertex is after the last StrokeVertex of the Stroke.
Implements Freestyle::Interface0DIteratorNested.
Definition at line 167 of file StrokeIterators.h.
Referenced by Freestyle::createStroke().
|
inlinevirtual |
Returns a reference to the pointed StrokeVertex. In the scripting language, you must call "getObject()"instead.
Implements Freestyle::Interface0DIteratorNested.
Definition at line 90 of file StrokeIterators.h.
Referenced by operator->().
|
inlinevirtual |
Increments. In the scripting language, call "increment()".
Definition at line 104 of file StrokeIterators.h.
References increment().
|
inlinevirtual |
Increments. In the scripting language, call "increment()".
Definition at line 111 of file StrokeIterators.h.
References increment(), and ret.
|
inlinevirtual |
Decrements. In the scripting language, call "decrement()".
Definition at line 119 of file StrokeIterators.h.
References decrement().
|
inlinevirtual |
Decrements. In the scripting language, call "decrement()".
Definition at line 126 of file StrokeIterators.h.
References decrement(), and ret.
|
inlinevirtual |
Returns a pointer to the pointed StrokeVertex. Can't be called in the scripting language.
Reimplemented from Freestyle::Interface0DIteratorNested.
Definition at line 98 of file StrokeIterators.h.
References operator*().
|
inline |
operator=
Definition at line 73 of file StrokeIterators.h.
|
inlinevirtual |
operator ==
Implements Freestyle::Interface0DIteratorNested.
Definition at line 173 of file StrokeIterators.h.
|
inlinevirtual |
Returns the curvilinear abscissa of the current point
Implements Freestyle::Interface0DIteratorNested.
Definition at line 183 of file StrokeIterators.h.
|
inlinevirtual |
Returns the point's parameter in the stroke
Implements Freestyle::Interface0DIteratorNested.
Definition at line 189 of file StrokeIterators.h.